feat: add MCP server with ccpr_list tool#56
Merged
Merged
Conversation
Expose a new ccpr-mcp binary that surfaces ccpr list as the ccpr_list MCP tool. Share the list use case via internal/app so the CLI and MCP paths stay in sync, preserving the existing JSON output schema.
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.
Summary
ccpr-mcpbinary undercmd/ccpr-mcp/that exposesccpr listas an MCP tool namedccpr_listover stdio.internal/appso the CLI and MCP paths share validation, config/profile/region resolution, and the PR summary output schema.docs/use-cases.md(UC-11),docs/requirements.md(FR-18),docs/spec.md,docs/json-schema.md, and the READMEs to document the MCP server and the shared list use case.Type of change
fix:)feat:)docs:)refactor:/chore:)test:)(Primary type:
feat:. Documentation updates are part of the spec-driven flow.)Test plan
make build/make build-mcp/make test/make vet/make lintall passccpr-mcpend-to-end via Claude Code MCP registrationSpec-driven checklist
docs/use-cases.md,docs/requirements.md,docs/spec.mdupdated before codedocs/versioning.md); the CLI list path now reusesapp.ListPullRequest(same field names and date format), and the MCP tool returns the same schemaRelated issues
Closes #55