Open
Conversation
Includes: - MCP server core implementation - Documentation updates - Configuration changes
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.
feat: Add MCP (Model Context Protocol) Server Integration
Summary
This PR adds a complete MCP server implementation for CodeWave, enabling users to evaluate commits and analyze code quality directly within Claude Desktop or Cursor through natural conversation. This eliminates the need to remember CLI commands and provides an intuitive conversational interface for commit evaluation.
What's New
Core Implementation
src/mcp-server/): Full Model Context Protocol server implementationAvailable Tools (10 total)
evaluate_commit- Evaluate single commit with multi-agent analysisbatch_evaluate- Evaluate multiple commits (up to 10 at once)generate_okr- Generate developer OKRs based on commit historycheck_config- Verify CodeWave configurationlist_evaluations- Browse evaluation historyget_report- Get detailed commit evaluation reportget_author_stats- Analyze developer statisticscompare_commits- Compare metrics between two commitsget_team_stats- Team-wide code quality statisticsexport_report- Export reports to HTML/Markdown/JSONCLI Entry Point
cli/mcp-server.tsentry point for running the MCP serverKey Features
Documentation
Complete documentation added:
Configuration Updates
.gitignoreto exclude MCP-related build artifactspackage.jsonwith MCP server dependenciesvitest.config.tsfor test configurationHow It Works
Users can now ask Claude:
Benefits
Breaking Changes
None. This is a purely additive feature. Existing CLI functionality remains unchanged.
Testing Instructions
npm install -g @techdebtgpt/codewavecodewave config --initdocs/MCP_SETUP.mdRelated Documentation
Checklist