Commit graph

15 commits

Author SHA1 Message Date
thibaud-leclere
87f7092c7e chore: add Makefile and Forgejo release workflow
Builds go to ./build/ (gitignored). Workflow triggers on v* tags and
uploads the linux/amd64 binary, mcp.toml, and sha256 checksum to a
Forgejo release.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 10:12:34 +02:00
thibaud-leclere
302d2d9b90 fix: warn on ambiguous contains match, use sort.Slice in sortedCalls 2026-05-12 10:08:19 +02:00
thibaud-leclere
f3b14fd068 chore: ignore built binary 2026-05-12 10:00:46 +02:00
thibaud-leclere
c419d8ce1d feat: wire MCP server with bootstrap CLI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 09:58:19 +02:00
thibaud-leclere
3943bfb8cc feat: add get_callers and get_callees tools
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 09:52:51 +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
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