You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
Cogstack ModelServe (CMS) is a model-serving and model-governance system created for a range of CogStack NLP tasks. Targeting language models with NER and entity linking capabilities, CMS provides a one-stop shop for serving and fine-tuning models, training lifecycle management, as well as monitoring and end-to-end observability.
|`CMS_MCP_BASE_URL`|`http://<host>:<port>`| Base URL for OAuth callback |
128
+
|`CMS_MCP_DEV`|`0`| Run in development mode |
55
129
56
130
57
131
## Authentication
58
132
59
133
The server supports two authentication methods:
60
134
61
135
### 1. API Key Authentication
62
-
When `MCP_API_KEYS` is set, clients must authenticate using:
63
-
-**Header**: `x-api-key: your-key`
136
+
When `CMS_MCP_API_KEYS` is set, clients must authenticate using:
137
+
-**Header**: `X-API-Key: your-key`
64
138
65
139
### 2. OAuth Authentication (SSE Transport)
66
140
When `CMS_MCP_OAUTH_ENABLED=true`, the server provides a built-in OAuth 2.0 login flow for SSE transport.
@@ -80,7 +154,7 @@ When `CMS_MCP_OAUTH_ENABLED=true`, the server provides a built-in OAuth 2.0 logi
80
154
|`GOOGLE_CLIENT_ID`| Google OAuth client ID |
81
155
|`GOOGLE_CLIENT_SECRET`| Google OAuth client secret |
82
156
83
-
**Note:** OAuth credentials can also be set via environment variables or `.env` file. If not configured, the server will log a warning but continue running.
157
+
**Note:**If OAuth credentials are not configured, the server will log a warning but continue running.
84
158
85
159
**Session Authentication:**
86
160
After OAuth login, a session cookie (`cms_mcp_session`) is set. Subsequent MCP requests should include this cookie for authentication.
0 commit comments