MCP Server
MCP
Symfony Agent MCP
Read-only Symfony introspection: routes, services, entities, Doctrine, security, Twig and more.
Install
npx -y @shakaran/[email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "@shakaran/symfony-agent-mcp",
"version": "1.0.2",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Progressive tool discovery. Left on, tools/list advertises five discovery meta-tools and the rest become callable once a category is activated (~828 tokens on connect). Set to false to advertise all 1,677 up front (~154,000).",
"format": "boolean",
"default": "true",
"name": "SYMFONY_MCP_DYNAMIC_TOOLS"
},
{
"description": "Token ceiling for the schemas a session may have active at once.",
"format": "number",
"default": "40000",
"name": "SYMFONY_MCP_TOKEN_BUDGET"
},
{
"description": "Colon-separated allowlist of directories the server may read. Any app_path outside them is refused.",
"format": "filepath",
"name": "SYMFONY_MCP_ALLOWED_PATHS"
},
{
"description": "Enables session-token authentication. Unset, authentication is off.",
"format": "string",
"isSecret": true,
"name": "SYMFONY_MCP_SESSION_SECRET"
},
{
"description": "Client-side token, required only once SYMFONY_MCP_SESSION_SECRET is set.",
"format": "string",
"isSecret": true,
"name": "SYMFONY_MCP_SESSION_TOKEN"
},
{
"description": "Encrypted audit log of every tool call.",
"format": "boolean",
"default": "true",
"name": "SYMFONY_MCP_AUDIT"
},
{
"description": "Scan every result for credentials before returning it. Turning this off is reported as CRITICAL by the startup audit.",
"format": "boolean",
"default": "true",
"name": "SYMFONY_MCP_DLP"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment