Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-shakaran-symfony-agent-mcp": {
"command": "npx",
"args": [
"-y",
"@shakaran/symfony-agent-mcp"
],
"env": {
"SYMFONY_MCP_DYNAMIC_TOOLS": "true",
"SYMFONY_MCP_TOKEN_BUDGET": "40000",
"SYMFONY_MCP_ALLOWED_PATHS": "*",
"SYMFONY_MCP_SESSION_SECRET": "<YOUR_VALUE>",
"SYMFONY_MCP_SESSION_TOKEN": "<YOUR_VALUE>",
"SYMFONY_MCP_AUDIT": "true",
"SYMFONY_MCP_DLP": "true",
"SYMFONY_MCP_STDIO": "true",
"SYMFONY_MCP_HTTP_PORT": "off",
"SYMFONY_MCP_RATE_BURST": "10",
"SYMFONY_MCP_RATE_LIMIT": "60",
"SYMFONY_MCP_ALLOWED_TOOLS": "all",
"SYMFONY_MCP_BLOCKED_TOOLS": "none",
"SYMFONY_MCP_RATE_WINDOW_MS": "60000",
"SYMFONY_MCP_SESSION_STRICT": "false",
"SYMFONY_MCP_SESSION_WINDOW": "300",
"SYMFONY_MCP_SIGNING_SECRET": "off",
"SYMFONY_MCP_REQUIRE_SYMFONY": "true",
"SYMFONY_MCP_TOOL_TIMEOUT_MS": "30000"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-shakaran-symfony-agent-mcp": {
"command": "npx",
"args": [
"-y",
"@shakaran/symfony-agent-mcp"
],
"env": {
"SYMFONY_MCP_DYNAMIC_TOOLS": "true",
"SYMFONY_MCP_TOKEN_BUDGET": "40000",
"SYMFONY_MCP_ALLOWED_PATHS": "*",
"SYMFONY_MCP_SESSION_SECRET": "<YOUR_VALUE>",
"SYMFONY_MCP_SESSION_TOKEN": "<YOUR_VALUE>",
"SYMFONY_MCP_AUDIT": "true",
"SYMFONY_MCP_DLP": "true",
"SYMFONY_MCP_STDIO": "true",
"SYMFONY_MCP_HTTP_PORT": "off",
"SYMFONY_MCP_RATE_BURST": "10",
"SYMFONY_MCP_RATE_LIMIT": "60",
"SYMFONY_MCP_ALLOWED_TOOLS": "all",
"SYMFONY_MCP_BLOCKED_TOOLS": "none",
"SYMFONY_MCP_RATE_WINDOW_MS": "60000",
"SYMFONY_MCP_SESSION_STRICT": "false",
"SYMFONY_MCP_SESSION_WINDOW": "300",
"SYMFONY_MCP_SIGNING_SECRET": "off",
"SYMFONY_MCP_REQUIRE_SYMFONY": "true",
"SYMFONY_MCP_TOOL_TIMEOUT_MS": "30000"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-shakaran-symfony-agent-mcp": {
"command": "npx",
"args": [
"-y",
"@shakaran/symfony-agent-mcp"
],
"env": {
"SYMFONY_MCP_DYNAMIC_TOOLS": "true",
"SYMFONY_MCP_TOKEN_BUDGET": "40000",
"SYMFONY_MCP_ALLOWED_PATHS": "*",
"SYMFONY_MCP_SESSION_SECRET": "<YOUR_VALUE>",
"SYMFONY_MCP_SESSION_TOKEN": "<YOUR_VALUE>",
"SYMFONY_MCP_AUDIT": "true",
"SYMFONY_MCP_DLP": "true",
"SYMFONY_MCP_STDIO": "true",
"SYMFONY_MCP_HTTP_PORT": "off",
"SYMFONY_MCP_RATE_BURST": "10",
"SYMFONY_MCP_RATE_LIMIT": "60",
"SYMFONY_MCP_ALLOWED_TOOLS": "all",
"SYMFONY_MCP_BLOCKED_TOOLS": "none",
"SYMFONY_MCP_RATE_WINDOW_MS": "60000",
"SYMFONY_MCP_SESSION_STRICT": "false",
"SYMFONY_MCP_SESSION_WINDOW": "300",
"SYMFONY_MCP_SIGNING_SECRET": "off",
"SYMFONY_MCP_REQUIRE_SYMFONY": "true",
"SYMFONY_MCP_TOOL_TIMEOUT_MS": "30000"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-shakaran-symfony-agent-mcp": {
"command": "npx",
"args": [
"-y",
"@shakaran/symfony-agent-mcp"
],
"env": {
"SYMFONY_MCP_DYNAMIC_TOOLS": "true",
"SYMFONY_MCP_TOKEN_BUDGET": "40000",
"SYMFONY_MCP_ALLOWED_PATHS": "*",
"SYMFONY_MCP_SESSION_SECRET": "<YOUR_VALUE>",
"SYMFONY_MCP_SESSION_TOKEN": "<YOUR_VALUE>",
"SYMFONY_MCP_AUDIT": "true",
"SYMFONY_MCP_DLP": "true",
"SYMFONY_MCP_STDIO": "true",
"SYMFONY_MCP_HTTP_PORT": "off",
"SYMFONY_MCP_RATE_BURST": "10",
"SYMFONY_MCP_RATE_LIMIT": "60",
"SYMFONY_MCP_ALLOWED_TOOLS": "all",
"SYMFONY_MCP_BLOCKED_TOOLS": "none",
"SYMFONY_MCP_RATE_WINDOW_MS": "60000",
"SYMFONY_MCP_SESSION_STRICT": "false",
"SYMFONY_MCP_SESSION_WINDOW": "300",
"SYMFONY_MCP_SIGNING_SECRET": "off",
"SYMFONY_MCP_REQUIRE_SYMFONY": "true",
"SYMFONY_MCP_TOOL_TIMEOUT_MS": "30000"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-shakaran-symfony-agent-mcp": {
"command": "npx",
"args": [
"-y",
"@shakaran/symfony-agent-mcp"
],
"env": {
"SYMFONY_MCP_DYNAMIC_TOOLS": "true",
"SYMFONY_MCP_TOKEN_BUDGET": "40000",
"SYMFONY_MCP_ALLOWED_PATHS": "*",
"SYMFONY_MCP_SESSION_SECRET": "<YOUR_VALUE>",
"SYMFONY_MCP_SESSION_TOKEN": "<YOUR_VALUE>",
"SYMFONY_MCP_AUDIT": "true",
"SYMFONY_MCP_DLP": "true",
"SYMFONY_MCP_STDIO": "true",
"SYMFONY_MCP_HTTP_PORT": "off",
"SYMFONY_MCP_RATE_BURST": "10",
"SYMFONY_MCP_RATE_LIMIT": "60",
"SYMFONY_MCP_ALLOWED_TOOLS": "all",
"SYMFONY_MCP_BLOCKED_TOOLS": "none",
"SYMFONY_MCP_RATE_WINDOW_MS": "60000",
"SYMFONY_MCP_SESSION_STRICT": "false",
"SYMFONY_MCP_SESSION_WINDOW": "300",
"SYMFONY_MCP_SIGNING_SECRET": "off",
"SYMFONY_MCP_REQUIRE_SYMFONY": "true",
"SYMFONY_MCP_TOOL_TIMEOUT_MS": "30000"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-shakaran-symfony-agent-mcp": {
"command": "npx",
"args": [
"-y",
"@shakaran/symfony-agent-mcp"
],
"env": {
"SYMFONY_MCP_DYNAMIC_TOOLS": "true",
"SYMFONY_MCP_TOKEN_BUDGET": "40000",
"SYMFONY_MCP_ALLOWED_PATHS": "*",
"SYMFONY_MCP_SESSION_SECRET": "<YOUR_VALUE>",
"SYMFONY_MCP_SESSION_TOKEN": "<YOUR_VALUE>",
"SYMFONY_MCP_AUDIT": "true",
"SYMFONY_MCP_DLP": "true",
"SYMFONY_MCP_STDIO": "true",
"SYMFONY_MCP_HTTP_PORT": "off",
"SYMFONY_MCP_RATE_BURST": "10",
"SYMFONY_MCP_RATE_LIMIT": "60",
"SYMFONY_MCP_ALLOWED_TOOLS": "all",
"SYMFONY_MCP_BLOCKED_TOOLS": "none",
"SYMFONY_MCP_RATE_WINDOW_MS": "60000",
"SYMFONY_MCP_SESSION_STRICT": "false",
"SYMFONY_MCP_SESSION_WINDOW": "300",
"SYMFONY_MCP_SIGNING_SECRET": "off",
"SYMFONY_MCP_REQUIRE_SYMFONY": "true",
"SYMFONY_MCP_TOOL_TIMEOUT_MS": "30000"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| SYMFONY_MCP_DYNAMIC_TOOLS | No | Enable dynamic tool discovery. When true, tools/list returns only 5 meta-tools instead of all 1,677. Set to false to restore the legacy behaviour (all tools always visible). Default: true |
| SYMFONY_MCP_TOKEN_BUDGET | No | Maximum estimated tokens that can be activated per session. Activation is blocked when this limit would be exceeded; pass force=true in activate_category to override. Default: 40000 |
| SYMFONY_MCP_ALLOWED_PATHS | No | Colon-separated list of absolute app paths the server may inspect. Example: /var/www/app1:/var/www/app2 Default: * |
| SYMFONY_MCP_SESSION_SECRET secret | No | Secret for session token generation. Default: off |
| SYMFONY_MCP_SESSION_TOKEN secret | No | Token to validate on incoming requests. Default: off |
| SYMFONY_MCP_AUDIT | No | Encrypted audit log of every tool call. Default: true |
| SYMFONY_MCP_DLP | No | Scan every result for credentials before returning it. Turning this off is reported as CRITICAL by the startup audit. Default: true |
| SYMFONY_MCP_STDIO | No | Set to false to disable stdio transport (useful when running HTTP-only). Default: true |
| SYMFONY_MCP_HTTP_PORT | No | Port for HTTP/SSE transport. When set, starts an HTTP server in addition to stdio. Default: off |
| SYMFONY_MCP_RATE_BURST | No | Max burst requests in 1 second. Default: 10 |
| SYMFONY_MCP_RATE_LIMIT | No | Max requests per window. Set to 0 to disable. Default: 60 |
| SYMFONY_MCP_ALLOWED_TOOLS | No | Comma-separated allowlist of tool names. Only listed tools are callable. Default: all |
| SYMFONY_MCP_BLOCKED_TOOLS | No | Comma-separated denylist. Takes precedence over the allowlist. Default: none |
| SYMFONY_MCP_RATE_WINDOW_MS | No | Rate limit window in milliseconds (1 minute). Default: 60000 |
| SYMFONY_MCP_SESSION_STRICT | No | Set to true to reject requests without a valid session token. Default: false |
| SYMFONY_MCP_SESSION_WINDOW | No | Session token validity window in seconds. Default: 300 |
| SYMFONY_MCP_SIGNING_SECRET | No | 32+ character secret for request signing. Enables per-request authentication. Default: off |
| SYMFONY_MCP_REQUIRE_SYMFONY | No | Set to false to skip Symfony project validation (useful for testing). Default: true |
| SYMFONY_MCP_TOOL_TIMEOUT_MS | No | Per-tool execution timeout in milliseconds. Default: 30000 |