Symfony Debug MCP Server
Allows debugging Symfony applications by inspecting profiler data.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Symfony Debug MCP Servershow me the profiler data for the last request"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Symfony Debug MCP Server
This is a standalone Model Context Protocol (MCP) server built with TypeScript and Bun that allows you to debug Symfony applications by inspecting profiler data. It is designed to be compiled into a single executable binary for Linux, macOS, and Windows.
Installation & Usage
Download the latest release for your platform from the Releases page.
Linux
Extract the archive:
tar -xzf symfony-debug-mcp-linux.tar.gzMake it executable:
chmod +x symfony-debug-mcp-linuxRun the server:
./symfony-debug-mcp-linux --repository-directory=/path/to/your/repositories
macOS
Extract the archive:
unzip symfony-debug-mcp-mac.zipMake it executable:
chmod +x symfony-debug-mcp-macRun the server:
./symfony-debug-mcp-mac --repository-directory=/path/to/your/repositoriesNote: You may need to go to System Settings > Privacy & Security to allow the application to run if it's blocked.
Windows
Extract
symfony-debug-mcp-windows.zip.Open a terminal (PowerShell or Command Prompt).
Run the server:
.\symfony-debug-mcp-windows.exe --repository-directory=C:\path\to\your\repositories
Client Configuration
To use with Claude Desktop or other MCP clients, add this to your config:
{
"mcpServers": {
"symfony-debug": {
"command": "/absolute/path/to/symfony-debug-mcp-linux",
"args": ["--repository-directory=/absolute/path/to/your/repositories"]
}
}
}Related MCP server: DebugPilot
Prerequisites
Bun (v1.0.0 or higher)
Setup
Install dependencies:
bun installRun in development mode:
bun dev
Compilation
You can compile the server into a standalone binary for different platforms.
Linux:
bun run build:linuxmacOS (Apple Silicon):
bun run build:macWindows (x64):
bun run build:windowsBuild All:
bun run build:all
The binaries will be output to the dist/ directory.
Testing with an MCP Client
You can configure your MCP client (like Claude Desktop or an IDE extension) to use this server.
Raw Source (Development):
{
"mcpServers": {
"my-bun-server": {
"command": "bun",
"args": ["run", "/absolute/path/to/src/index.ts"]
}
}
}Compiled Binary:
{
"mcpServers": {
"my-bun-server": {
"command": "/absolute/path/to/dist/mcp-server-linux",
"args": []
}
}
}Debugging
VS Code Debugger
Go to the "Run and Debug" view in VS Code.
Select "Debug MCP Server" to start the server with the debugger attached.
This runs
bun run --inspect-wait src/index.ts.The debugger will pause at the entry point until execution resumes.
MCP Inspector
To test the server protocol interactively:
Run the "inspector" task (Terminal -> Run Task -> inspector).
This will launch the
@modelcontextprotocol/inspectorwhich provides a web interface to interact with your tools and resources.Open the URL shown in the terminal (usually
http://localhost:6274).
This server cannot be deployed
Maintenance
Related MCP Connectors
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
Repository knowledge graph MCP server for codebase understanding and debugging.
Host your MCP tool over streamable HTTP in one command.
- AgentCatOAuthcom.agentcat
Analytics and debugging for your MCP server — explore usage and sessions, then root-cause errors.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceThis MCP server enables real-time debugging and inspection of running React Native apps, providing access to console logs, errors, network requests, navigation state, storage, and performance profiling.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to inspect debug state, control execution, and set breakpoints in VS Code by exposing the Debug Adapter Protocol as an MCP server.Apache 2.0
- AlicenseAqualityAmaintenanceMCP server for profiling Python processes using py-spy, supporting flamegraphs, stack dumps, and performance comparisons.61MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that exposes Symfony profiler runtime data (requests, queries, logs) to AI agents like Claude Code for debugging and optimization.MIT