-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmcp_config.json
More file actions
80 lines (74 loc) · 2.25 KB
/
Copy pathmcp_config.json
File metadata and controls
80 lines (74 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"_comment": "CodeLens MCP Server Configuration Templates — Copy the relevant section to your AI tool's config file",
"_usage": "codelens serve --config (to print this configuration)",
"claude_desktop": {
"_target_file": "~/Library/Application Support/Claude/claude_desktop_config.json",
"_instructions": "Add the mcpServers section to your claude_desktop_config.json file",
"mcpServers": {
"codelens": {
"command": "python3",
"args": ["./scripts/codelens.py", "serve"],
"env": {
"CODELENS_AI_MODE": "1"
}
}
}
},
"cursor": {
"_target_file": ".cursor/mcp.json",
"_instructions": "Add the mcpServers section to your .cursor/mcp.json file",
"mcpServers": {
"codelens": {
"command": "python3",
"args": ["./scripts/codelens.py", "serve"],
"env": {
"CODELENS_AI_MODE": "1"
}
}
}
},
"vscode": {
"_target_file": ".vscode/settings.json",
"_instructions": "Add the mcp section to your VS Code settings.json. Requires the MCP extension or GitHub Copilot with MCP support.",
"mcp": {
"servers": {
"codelens": {
"url": "http://localhost:8080/sse",
"transport": "sse"
}
}
}
},
"continue_dev": {
"_target_file": "~/.continue/config.json",
"_instructions": "Add the mcpServers section to your Continue.dev config.json file",
"mcpServers": [
{
"name": "codelens",
"command": "python3",
"args": ["./scripts/codelens.py", "serve"],
"env": {
"CODELENS_AI_MODE": "1"
}
}
]
},
"cline": {
"_target_file": ".clinerules/mcp.json",
"_instructions": "Add the mcpServers section for Cline (VS Code extension)",
"mcpServers": {
"codelens": {
"command": "python3",
"args": ["./scripts/codelens.py", "serve"],
"env": {
"CODELENS_AI_MODE": "1"
}
}
}
},
"aider": {
"_target_file": ".aider.conf.yml",
"_instructions": "Configure MCP tools for Aider. Run: codelens serve --port 8080 first, then configure Aider to use the HTTP endpoint.",
"note": "Aider doesn't natively support MCP yet. Use the HTTP/SSE endpoint with custom scripting."
}
}