Skip to content
Cursor

Symfony Agent MCP for Cursor

io.github.shakaran/symfony-agent-mcp

Read-only Symfony introspection: routes, services, entities, Doctrine, security, Twig and more.

client:Cursor transport:stdio runtime:npm

Install Symfony Agent MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "symfony-agent-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shakaran/symfony-agent-mcp"
      ],
      "env": {
        "SYMFONY_MCP_DYNAMIC_TOOLS": "<SYMFONY_MCP_DYNAMIC_TOOLS>",
        "SYMFONY_MCP_TOKEN_BUDGET": "<SYMFONY_MCP_TOKEN_BUDGET>",
        "SYMFONY_MCP_ALLOWED_PATHS": "<SYMFONY_MCP_ALLOWED_PATHS>",
        "SYMFONY_MCP_SESSION_SECRET": "<SYMFONY_MCP_SESSION_SECRET>",
        "SYMFONY_MCP_SESSION_TOKEN": "<SYMFONY_MCP_SESSION_TOKEN>",
        "SYMFONY_MCP_AUDIT": "<SYMFONY_MCP_AUDIT>",
        "SYMFONY_MCP_DLP": "<SYMFONY_MCP_DLP>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Symfony Agent MCP in other clients