Skip to content

Commit 2ff51af

Browse files
committed
docs: Add Cursor and Claude Code MCP configuration instructions
- Add Cursor configuration for both Docker and dotnet tool installation - Add Claude Code configuration with platform-specific paths - Include CSX_ALLOWED_PATH environment variable examples for security - Reorganize MCP configuration section with Cursor and Claude Code first
1 parent dea67db commit 2ff51af

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

README.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,76 @@ The following namespaces are automatically available:
113113

114114
## MCP Configuration
115115

116+
### Cursor
117+
118+
Add to your Cursor settings (`.cursor/mcp_settings.json` or via Settings UI):
119+
120+
```json
121+
{
122+
"mcpServers": {
123+
"csharp-eval": {
124+
"command": "docker",
125+
"args": ["run", "-i", "--rm", "ghcr.io/infinityflowapp/csharp-mcp:latest"],
126+
"env": {
127+
"CSX_ALLOWED_PATH": "/scripts"
128+
}
129+
}
130+
}
131+
}
132+
```
133+
134+
Or if installed as a dotnet tool:
135+
136+
```json
137+
{
138+
"mcpServers": {
139+
"csharp-eval": {
140+
"command": "infinityflow-csharp-eval",
141+
"env": {
142+
"CSX_ALLOWED_PATH": "${workspaceFolder}/scripts"
143+
}
144+
}
145+
}
146+
}
147+
```
148+
149+
### Claude Code
150+
151+
Add to your Claude Code configuration (`claude_desktop_config.json`):
152+
153+
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
154+
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
155+
- **Linux**: `~/.config/claude/claude_desktop_config.json`
156+
157+
```json
158+
{
159+
"mcpServers": {
160+
"csharp-eval": {
161+
"command": "docker",
162+
"args": ["run", "-i", "--rm", "ghcr.io/infinityflowapp/csharp-mcp:latest"],
163+
"env": {
164+
"CSX_ALLOWED_PATH": "/scripts"
165+
}
166+
}
167+
}
168+
}
169+
```
170+
171+
Or if installed as a dotnet tool:
172+
173+
```json
174+
{
175+
"mcpServers": {
176+
"csharp-eval": {
177+
"command": "infinityflow-csharp-eval",
178+
"env": {
179+
"CSX_ALLOWED_PATH": "/Users/your-username/scripts"
180+
}
181+
}
182+
}
183+
}
184+
```
185+
116186
### VS Code
117187

118188
Create `.vscode/mcp.json`:

0 commit comments

Comments
 (0)