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
You can configure the CodeAlive MCP server to run either with Python (recommended for local development) or with Docker (for easier setup without a Python environment).
212
+
213
+
**Option 1: Using Python**
214
+
210
215
```json
211
216
{
212
217
"mcpServers": {
@@ -223,6 +228,31 @@ For more details, see [Anthropic’s MCP docs](https://docs.anthropic.com/claude
223
228
}
224
229
}
225
230
```
231
+
232
+
**Option 2: Using Docker**
233
+
234
+
```json
235
+
{
236
+
"mcpServers": {
237
+
"codealive": {
238
+
"command": "docker",
239
+
"args": [
240
+
"run",
241
+
"--rm",
242
+
"-i",
243
+
"-e", "CODEALIVE_API_KEY=YOUR_API_KEY_HERE",
244
+
"ghcr.io/codealive-ai/codealive-mcp:latest"
245
+
]
246
+
}
247
+
}
248
+
}
249
+
```
250
+
*If the `latest` tag is not available, you can use `ghcr.io/codealive-ai/codealive-mcp:main` instead.*
251
+
252
+
> **Note:**
253
+
> The `-i` flag keeps STDIN open for the MCP protocol.
254
+
> The environment variable is set using `-e`, followed by `"CODEALIVE_API_KEY=YOUR_API_KEY_HERE"` as a separate argument.
255
+
226
256
*(Ensure this merges correctly if the file already has content)*
227
257
228
258
3. Restart Claude Desktop completely.
@@ -266,28 +296,52 @@ For more details, see [Anthropic’s MCP docs](https://docs.anthropic.com/claude
266
296
1. Open Cursor settings (`Cmd+,` or `Ctrl+,`).
267
297
2. Navigate to the "MCP" section in the left panel.
268
298
3. Click "Add new global MCP server".
269
-
4. Enter the following JSON configuration, updating paths and API key:
299
+
4. Enter one of the following JSON configurations, updating paths and API key as needed:
270
300
271
-
```json
272
-
{
273
-
"mcpServers": {
274
-
"codealive": {
275
-
"command": "uv",
276
-
"args": [
277
-
"--directory",
278
-
"/path/to/your/codealive-mcp", // Path to the MCP server project root
279
-
"run",
280
-
"python",
281
-
"src/codealive_mcp_server.py",
282
-
"--debug" // Optional: Enable debug logging
283
-
],
284
-
"env": {
285
-
"CODEALIVE_API_KEY": "YOUR_API_KEY_HERE"
286
-
}
287
-
}
301
+
**Option 1: Using Python (recommended for local development)**
0 commit comments