feat: MCP parity — add open, usage, dashboard, list_skills tools (#65)#73
Merged
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Adds four missing MCP tools that bring the MCP server to feature parity with the Pi extension:
codecarto_open/codecarto-opencodecarto_usage/codecarto-usagecodecarto_dashboard/codecarto-dashboardcodecarto_list_skills/codecarto-skill(no args)The
writeDashboardfunction 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)
codecarto_publishworks but requires manual metadatacodecarto_auto) — the auto loop requires an orchestration layer that MCP doesn't have; hosts must still call next/validate/complete in a loopThese can be addressed in a follow-up if needed.
Validation
npm run build— cleannpm test— 264/264 passCloses #65