
dcr mcp
DCR MCP Server - An MCP server implementation using mcp-go
Repository Info
About This Server
DCR MCP Server - An MCP server implementation using mcp-go
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
DCR MCP Server
A simple MCP (Model Control Protocol) server implementation using mcp-go.
Features
- Basic MCP server implementation
- Git Summary tool for analyzing commit messages
Getting Started
Prerequisites
- Go 1.23 or later
Running the Server
go run cmd/server/main.go
By default, the server runs on port 8080. You can change the port by setting the
DCR_MCP_PORT environment variable.
Tools
Git Summary Tool
This MCP tool generates summaries of git commit messages using OpenAI. It analyzes commit messages within a specified date range and creates a concise, user-friendly summary organized by categories.
Features
- Clone any git repository by URL and branch
- Filter commits by date range
- Filter by author
- Generate human-readable summaries using OpenAI
- Format output as markdown with categorized bullet points
Usage
The tool accepts the following parameters:
{
"repo_url": "https://github.com/username/repo",
"branch": "main",
"start_date": "2023-01-01",
"end_date": "2023-12-31",
"author": "author-name"
}
Parameters
repo_url(required): The URL of the git repository to analyzebranch(required): The branch to analyzestart_date(required): The start date for commit analysis (in any standard format)end_date(optional): The end date for commit analysis (defaults to current date)author(required): Filter commits by author name (case-insensitive contains match)api_key(required): Your OpenAI API key (defaults to OPENAI_API_KEY environment variable)
Example Response
"# Work Summary\n\nFeature Enhancements\n- Added support for filtering commits by author name. Users can now specify an optional author parameter to focus on contributions from specific team members.\n\nBug Fixes\n- Fixed date parsing issues that were causing incorrect commit ranges. The system now correctly handles various date formats and timezone considerations.\n\nDocumentation\n- Added comprehensive README with usage examples and parameter descriptions. New users will find it easier to understand how to use the tool effectively."
Testing
Run the tests with:
go test ./...
Or using gotestum:
gotestum --format-hide-empty-pkg --format testdox --format-icons hivis
Quick Start
Clone the repository
git clone https://github.com/cybersiddhu/dcr-mcpInstall dependencies
cd dcr-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.