Back to MCP Servers
🧩

Symfony Agent MCP

API key required

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

To add Symfony Agent MCP to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 7 environment variables, listed below.

DevTools

Install

npx -y @shakaran/symfony-agent-mcp@1.0.2

Environment variables

SYMFONY_MCP_DYNAMIC_TOOLSSet in your MCP config
SYMFONY_MCP_TOKEN_BUDGETSet in your MCP config
SYMFONY_MCP_ALLOWED_PATHSSet in your MCP config
SYMFONY_MCP_SESSION_SECRETSet in your MCP config
SYMFONY_MCP_SESSION_TOKENSet in your MCP config
SYMFONY_MCP_AUDITSet in your MCP config
SYMFONY_MCP_DLPSet in your MCP config

Install with your client

Terminal
claude mcp add symfony-agent --env SYMFONY_MCP_DYNAMIC_TOOLS=<YOUR_SYMFONY_MCP_DYNAMIC_TOOLS> --env SYMFONY_MCP_TOKEN_BUDGET=<YOUR_SYMFONY_MCP_TOKEN_BUDGET> --env SYMFONY_MCP_ALLOWED_PATHS=<YOUR_SYMFONY_MCP_ALLOWED_PATHS> --env SYMFONY_MCP_SESSION_SECRET=<YOUR_SYMFONY_MCP_SESSION_SECRET> --env SYMFONY_MCP_SESSION_TOKEN=<YOUR_SYMFONY_MCP_SESSION_TOKEN> --env SYMFONY_MCP_AUDIT=<YOUR_SYMFONY_MCP_AUDIT> --env SYMFONY_MCP_DLP=<YOUR_SYMFONY_MCP_DLP> -- npx -y @shakaran/symfony-agent-mcp@1.0.2

Run this in a terminal to add the server to Claude Code.

What this does

Symfony Agent MCP exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

SYMFONY_MCP_DYNAMIC_TOOLS
SYMFONY_MCP_TOKEN_BUDGET
SYMFONY_MCP_ALLOWED_PATHS
SYMFONY_MCP_SESSION_SECRET
SYMFONY_MCP_SESSION_TOKEN
SYMFONY_MCP_AUDIT
SYMFONY_MCP_DLP

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install Symfony Agent MCP?

Run the Claude Code command in the install section to add Symfony Agent MCP to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with Symfony Agent MCP?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to Symfony Agent MCP as well.

Does Symfony Agent MCP need an API key?

Yes. Before it can run, set these environment variables: SYMFONY_MCP_DYNAMIC_TOOLS, SYMFONY_MCP_TOKEN_BUDGET, SYMFONY_MCP_ALLOWED_PATHS, SYMFONY_MCP_SESSION_SECRET, SYMFONY_MCP_SESSION_TOKEN, SYMFONY_MCP_AUDIT, SYMFONY_MCP_DLP. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-shakaran-symfony-agent-mcp)](https://clauderules.net/mcp/io-github-shakaran-symfony-agent-mcp)
HTML
<a href="https://clauderules.net/mcp/io-github-shakaran-symfony-agent-mcp" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-shakaran-symfony-agent-mcp" alt="Listed on clauderules.net" /></a>