mcpField
M
mcp-coding-mr

mcp-coding-mr

Local
github.com/yankeguoVersion Control0Updated 72w ago

About mcp-coding-mr

An MCP server that connects AI assistants to the CODING.net Merge Request API. It provides a tool to fetch and describe a merge request using its URL.

Key features

  1. 01CODING.net Merge Request API access
  2. 02Describe a merge request by URL
  3. 03Credentials via environment variables
  4. 04stdio client configuration

Use cases

  1. 01Reviewing details of a CODING.net merge request
  2. 02Retrieving a merge request from its URL

MCP support

The server exposes `coding_mr_describe` to MCP clients, which fetches and describes a CODING.net Merge Request identified by URL.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"coding-mr": {
"command": "npx",
"args": [
"-y",
"@yankeguo/mcp-coding-mr"
]
}
}
}
Run commandnpx -y @yankeguo/mcp-coding-mr

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@yankeguo/mcp-coding-mr

Tools

1

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
urlstringYesThe URL of the CODING MR (Merge Request)

Details

From the project README

mcp-coding-mr

A Model Context Protocol (MCP) server that provides integration with CODING.net Merge Request API, enabling AI assistants to interact with and describe merge requests.

Installation

Quick Start
npx @yankeguo/mcp-coding-mr
Configuration

You'll need to provide your CODING.net credentials via environment variables:

  • CODING_USERNAME - Your CODING.net token username
  • CODING_PASSWORD - Your CODING.net token
MCP Client Configuration

Add the following configuration to your MCP client:

{
  "mcpServers": {
    "coding-mr": {
      "name": "coding-mr",
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@yankeguo/mcp-coding-mr@latest"],
      "env": {
        "CODING_USERNAME": "your_username",
        "CODING_PASSWORD": "your_password"
      }
    }
  }
}

Available Tools

coding_mr_describe

Fetches and describes a CODING.net Merge Request with comprehensive details.

Parameters:

  • url (string, required): The URL of the Merge Request to describe

Example Usage:

Describe the merge request at https://your-team.coding.net/p/project/d/repo/git/merge/123

License

MIT License

Author

GUO YANKE

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.