Code Merge MCPServer

yy1588133
GitHub
code processingMCPdeveloper tools

Loading subscription status...

💡 Description

Code Merge MCP is a server implementation based on the Model Context Protocol (MCP), designed for content extraction, merging, and analysis of code files. It provides powerful tools to help large language models (like GPT and Claude) effectively process and analyze code repositories.

📝 JSON Entries

{
  "mcpServers": [
    {
      "code-merge": {
        "args": [
          "<project_full_path>/src/main.js"
        ],
        "command": "node"
      }
    }
  ]
}

🛠️ Tools

get_file_treeanalyze_codemerge_content

Features

  • File tree generation
  • Code merging
  • Code analysis
  • Smart filtering

💬 Example Queries

  • Generate a tree view of the project file structure
  • Merge the contents of multiple code files into a single output
  • Analyze a code file and provide statistics like line count and function count