Download the PHP package productowner-ro/symfony-profiler-mcp without Composer
On this page you can find all versions of the php package productowner-ro/symfony-profiler-mcp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download productowner-ro/symfony-profiler-mcp
More information about productowner-ro/symfony-profiler-mcp
Files in productowner-ro/symfony-profiler-mcp
Package symfony-profiler-mcp
Short Description Symfony bundle that exposes profiler data via MCP protocol to AI-powered IDEs. Built on symfony/mcp-bundle.
License MIT
Informations about the package symfony-profiler-mcp
Symfony Profiler MCP
Symfony bundle that exposes profiler data to AI-powered IDEs via the Model Context Protocol. Built on symfony/mcp-bundle.
By ProductOwner.ro in collaboration with Claude.
Inspired by killerwolf/mcp-profiler-bundle. Rewritten from scratch to fix context bloat, broken tool names, and missing data redaction.
Requirements
- PHP >= 8.2
- Symfony >= 7.3
- symfony/mcp-bundle >= 0.6
Installation
The Symfony Flex recipe configures symfony/mcp-bundle transports and routes automatically. If your project doesn't use Flex, create the following files manually:
Manual configuration (without Flex)
**`config/packages/mcp.yaml`** **`config/routes/mcp.yaml`** (only needed if using HTTP transport) Then clear the cache and verify:How It Works
This bundle uses a two-tier data model to keep context size minimal:
- Tools return compact summaries with
resource_uripointers - Resources provide full detail only when explicitly requested
MCP Tools
| Tool | Description |
|---|---|
symfony-profiler-list |
List recent profiles with filters (method, status, url, ip, limit) |
symfony-profiler-get |
Get profile summary with available collector URIs |
MCP Resource Templates
| URI Template | Description |
|---|---|
symfony-profiler://profile/{token} |
Profile overview with list of collectors |
symfony-profiler://profile/{token}/{collector} |
Formatted collector data |
Key Differences from killerwolf/mcp-profiler-bundle
| Issue | Original | This Bundle |
|---|---|---|
| Tool names | profiler:list (breaks Claude Code) |
symfony-profiler-list (API-compliant) |
| Context size | Dumps ALL collectors at once (megabytes) | Two-tier: summaries first, detail on demand |
| Response format | Mixed JSON + VarDumper text | Always clean JSON |
| Security | Exposes cookies, auth headers, server vars | Automatic redaction of sensitive data |
| Code duplication | Path logic copy-pasted 4x | Single ProfilerStorageResolver |
| MCP protocol | 220 lines hand-rolled JSON-RPC | Uses symfony/mcp-bundle (zero protocol code) |
| PHP 8.4 | Deprecation warnings | Clean support |
Multi-App Support
The bundle auto-discovers profiler directories in multi-app Symfony setups (e.g., var/cache/app1_hash/dev/profiler). No configuration needed.
Custom Collector Formatters
Implement CollectorFormatterInterface and tag your service:
The CollectorFormatterInterface is auto-tagged. Just register your class as a service.
IDE Configuration
Claude Code
Cursor / Windsurf
Add to your MCP configuration following the same pattern.
License
MIT - See LICENSE.
All versions of symfony-profiler-mcp with dependencies
symfony/framework-bundle Version ^7.3|^8.0
symfony/http-kernel Version ^7.3|^8.0
symfony/mcp-bundle Version ^0.6
symfony/finder Version ^7.3|^8.0