Commit graph

6 commits

Author SHA1 Message Date
thibaud-leclere
35487b996c chore: upgrade mcp-framework to v1.11.0, revert to bootstrap.Run
v1.11.0 auto-disables commands whose hooks are nil, so the custom
dispatcher is no longer needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 10:39:41 +02:00
thibaud-leclere
6246b88bd5 refactor: bypass bootstrap, expose only mcp and version commands
The framework's help listed setup/login/config/update commands that are
irrelevant for xdebug-mcp (no auth or config needed). Replace bootstrap.Run
with a minimal dispatcher that only exposes the commands that matter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 10:18:35 +02:00
thibaud-leclere
8fafc4a69e feat: add analyze_profile tool
Implements the analyze_profile MCP tool with TDD: exports Analyze() for
direct testing, wraps it in AnalyzeHandler() for MCP, and adds AnalyzeTool()
for the schema definition. Adds mark3labs/mcp-go v0.52.0 dependency.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 09:50:35 +02:00
thibaud-leclere
47040d50ae feat: add cachegrind parser with gzip support
Two-pass parser resolves forward cfn= references; all cost lines
(including call edges) are accumulated as inclusive costs per function.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 09:41:31 +02:00
thibaud-leclere
3220dfff64 chore: add mark3labs/mcp-go dependency 2026-05-12 09:35:26 +02:00
thibaud-leclere
b5b490eb43 chore: scaffold project, generate mcpgen, add dependencies 2026-05-12 09:33:39 +02:00