dcr-mcp

cybersiddhu/dcr-mcp

3.1

If you are the rightful owner of dcr-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A simple MCP server implementation using mcp-go.

The DCR MCP Server is a straightforward implementation of a Model Control Protocol (MCP) server using the mcp-go library. It is designed to facilitate the management and analysis of git repositories by providing tools such as the Git Summary Tool. This tool leverages OpenAI's capabilities to generate summaries of git commit messages, making it easier for users to understand the changes and updates in a repository. The server is built with Go and is easy to set up and run, making it accessible for developers looking to integrate MCP functionalities into their workflows.

Features

  • Basic MCP server implementation
  • Git Summary tool for analyzing commit messages
  • Clone any git repository by URL and branch
  • Filter commits by date range and author
  • Generate human-readable summaries using OpenAI

Usages

usage with go

bash
go run cmd/server/main.go

usage with git summary tool

{
  "repo_url": "https://github.com/username/repo",
  "branch": "main",
  "start_date": "2023-01-01",
  "end_date": "2023-12-31",
  "author": "author-name"
}

testing with go

bash
go test ./...

testing with gotestum

bash
gotestum --format-hide-empty-pkg --format testdox --format-icons hivis