DCR MCP Server logo

DCR MCP Server

by cybersiddhu

A simple MCP (Model Control Protocol) server implementation. It includes a Git Summary tool for analyzing commit messages using OpenAI.

View on GitHub

Last updated: N/A

What is DCR MCP Server?

This is a basic MCP server implementation built using Go and the mcp-go library. It also includes a Git Summary tool that leverages OpenAI to generate summaries of git commit messages.

How to use DCR MCP Server?

To run the server, ensure you have Go 1.23 or later installed. Execute go run cmd/server/main.go. The server runs on port 8080 by default, which can be changed using the DCR_MCP_PORT environment variable. The Git Summary tool requires a repository URL, branch, start date, and author. You also need to provide an OpenAI API key.

Key features of DCR MCP Server

  • Basic MCP server implementation

  • Git Summary tool for analyzing commit messages

  • Clone git repositories by URL and branch

  • Filter commits by date range and author

  • Generate human-readable summaries using OpenAI

  • Format output as markdown with categorized bullet points

Use cases of DCR MCP Server

  • Automated analysis of git commit history

  • Generating summaries for release notes

  • Tracking contributions from specific team members

  • Understanding the evolution of a codebase over time

FAQ from DCR MCP Server

What is MCP?

MCP stands for Model Control Protocol.

What is the Git Summary tool used for?

It generates summaries of git commit messages using OpenAI.

What are the prerequisites for running the server?

Go 1.23 or later is required.

How do I change the server port?

Set the DCR_MCP_PORT environment variable.

Is an OpenAI API key required?

Yes, the Git Summary tool requires an OpenAI API key to generate summaries.