Skip to content

feat: MCP parity — add open, usage, dashboard, list_skills tools (#65)#73

Merged
TheAmericanMaker merged 1 commit into
mainfrom
feat/mcp-parity
Jul 23, 2026
Merged

feat: MCP parity — add open, usage, dashboard, list_skills tools (#65)#73
TheAmericanMaker merged 1 commit into
mainfrom
feat/mcp-parity

Conversation

@TheAmericanMaker

Copy link
Copy Markdown
Member

What changed

Adds four missing MCP tools that bring the MCP server to feature parity with the Pi extension:

MCP tool Pi equivalent Purpose
codecarto_open /codecarto-open Activate existing workspace without resetting state
codecarto_usage /codecarto-usage Cumulative + per-phase token usage telemetry
codecarto_dashboard /codecarto-dashboard Regenerate .codecarto/dashboard.html
codecarto_list_skills /codecarto-skill (no args) List available post-pipeline skills

The writeDashboard function from the Pi extension's dashboard-writer is now imported by the MCP server (it only depends on core modules).

What's still missing (noted in #65 but lower priority)

  • MCP convenient publish (workspace-aware metadata inference) — the existing codecarto_publish works but requires manual metadata
  • MCP auto-runner (codecarto_auto) — the auto loop requires an orchestration layer that MCP doesn't have; hosts must still call next/validate/complete in a loop

These can be addressed in a follow-up if needed.

Validation

  • npm run build — clean
  • npm test — 264/264 pass

Closes #65

Adds four missing MCP tools that bring the MCP server to parity with
Pi extension commands:

- codecarto_open: activate existing workspace without resetting state
- codecarto_usage: cumulative + per-phase token usage telemetry
- codecarto_dashboard: regenerate dashboard.html
- codecarto_list_skills: list available post-pipeline skills

Also adds Pi-side /codecarto-library-list and /codecarto-library-reindex
commands (MCP already had these as tools, Pi was missing them).
@TheAmericanMaker
TheAmericanMaker merged commit 58e818c into main Jul 23, 2026
5 checks passed
@TheAmericanMaker
TheAmericanMaker deleted the feat/mcp-parity branch July 23, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP feature parity gaps: missing auto-runner, usage, dashboard, open, skill discovery, convenient publish

1 participant