mcp-server-agents-md

wang1212/mcp-server-agents-md

3.3

If you are the rightful owner of mcp-server-agents-md 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 unified MCP server for managing agent definition Markdown files, enabling easy sharing and reuse across different platforms.

MCP Server AGENTS.md

npm Version npm License

A unified MCP server for managing agent definition Markdown files (rules, workflows, subagents, claude.md, cursorrule, windsurfrule, etc.). Write once, use everywhere.

[!NOTE] AGENTS.md published by OpenAI.

[!WARNING] This is just a prototype project.

Overview

mcp-server-agents-md is a lightweight MCP server that centralizes all your agent definition files in Markdown format. It allows you to easily share and reuse rules, workflows, subagents, and other agent specs across different code agent platforms like Claude, Cursor, Windsurf, and more.

  • Serve Markdown-based agent definitions via MCP.
  • Easy integration with any MCP-compliant agent environment.

Features

[!TIP] To help LLMs more quickly identify tool invocation commands, we've designed a trigger command (cc:, carbon copy to agent), similar to / and @ in other products. For example, to trigger an agent workflow that generates a git commit message, you can write cc:commit . Multiple trigger commands can exist, defined in the frontMatter.trigger field of each .

Agents (workflows/rules):

  • - Create well-formatted commits with conventional commit messages and emojis.
  • - Generate 3 commit message suggestions based on the staged changes.
  • - Fetch GitHub issue details and create a comprehensive implementation specification.
  • - Streamline bug fixing workflow from issue creation to pull request.
  • - Fix all code formatting and quality issues in the entire codebase.
  • - Perform comprehensive code quality and security checks.
  • - Perform advanced code analysis with multiple inspection options.
  • - Create comprehensive documentation for specified components or features.
  • - Generate LLM-optimized documentation with concrete file references and flexible formatting.
  • - Update the project's CHANGELOG.md file with a new entry.
  • - Approach task implementation methodically with careful planning and execution.
  • - Generate Mermaid diagrams for visualizing code structure and relationships.

Agents, workflows, rules source:

Usage

To use with AI client apps such as Claude, VSCode, Cursor, Windsurf, Cline, Cherry Studio, Chatbox, etc., add the MCP server configuration below.

On Mac system:

{
  "mcpServers": {
    "Agents": {
      "command": "npx",
      "args": [
        "--registry=https://registry.npmjs.org/",
        "-y",
        "mcp-server-agents-md@latest"
      ]
    }
  }
}

On Windows system:

{
  "mcpServers": {
    "Agents": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "--registry=https://registry.npmjs.org/",
        "-y",
        "mcp-server-agents-md@latest"
      ]
    }
  }
}

Next, you need to select an AI model that supports tool calling (Tools Call/Function Call) in your client application and enter simple prompts, such as:

  • git commit - Natural language request
  • Call the tool to generate commit information - Explicit tool request
  • cc:commit - Trigger command, recommended
  • cc:fast-commit - Trigger command, recommended

Development

Install dependencies:

npm install

Build the server:

npm run build

Start the MCP server:

npm run start

Publish

Version releases use the standard-version tool.

npm run release
# or Release as a Pre-Release
npm run release -- --prerelease alpha

License