Commit graph

10 commits

Author SHA1 Message Date
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
c56b803f8c feat: add shared tool helpers 2026-05-12 09:46:15 +02:00
thibaud-leclere
8d41653be4 feat: add LRU cache for parsed profiles 2026-05-12 09:44:50 +02:00
thibaud-leclere
392c0f71aa fix: reset pendingCallCount before parsing calls= line 2026-05-12 09:43:49 +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
d3c7f27c21 feat: add cachegrind data model 2026-05-12 09:37:12 +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
thibaud-leclere
ac38947ab9 docs: add xdebug-mcp implementation plan 2026-05-12 09:30:10 +02:00
thibaud-leclere
52529919af docs: add P0 design spec for xdebug-mcp 2026-05-12 09:20:41 +02:00