Cover image
Try Now
2025-03-25

DCR MCP Server - An MCP server implementation using mcp-go

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

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 analyze
  • branch (required): The branch to analyze
  • start_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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • justmywyw
  • Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.

    Reviews

    4 (1)
    Avatar
    user_s8fTGIqs
    2025-04-18

    I've been using dcr-mcp and it's fantastic! Developed by cybersiddhu, this tool has significantly improved my MCP applications. The GitHub repository link, https://github.com/cybersiddhu/dcr-mcp, provides comprehensive information. It's accessible and the documentation is clear. Overall, I highly recommend dcr-mcp for any MCP needs!