Cgm MCP Server

A **Model Context Protocol (MCP)** server implementation of **CodeFuse-CGM** (Code Graph Model), providing graph-integrated large language model

Local serverstdioPython

What is the Cgm MCP Server?

Cgm MCP lets Claude, Cursor and other MCP clients work with Cgm MCP directly. A Model Context Protocol (MCP) server implementation of CodeFuse-CGM (Code Graph Model), providing graph-integrated large language model capabilities for repository-level software engineering tasks.

What Cgm MCP does

A Model Context Protocol (MCP) server implementation of CodeFuse-CGM (Code Graph Model), providing graph-integrated large language model capabilities for repository-level software engineering tasks.

Requirements

  • Python 3.8+ - pip or conda

Practical notes

  • Maintained by yangweijie, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
cgm_analyze_repository
cgm_get_file_content
cgm_find_related_code
cgm_extract_context
clear_gpu_cache
cgm_process_issue
cgm_get_task_status
cgm_health_check

How to install the Cgm MCP Server

{
  "mcpServers": {
    "cgm": {
      "command": "python",
      "args": [
        "/path/to/cgm-mcp/main.py"
      ],
      "env": {
        "CGM_LLM_API_KEY": "YOUR_CGM_LLM_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Python 3.8+ - pip or conda
VariableDescriptionRequired
CGM_LLM_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Cgm MCP to repository path.”
  • “Use Cgm MCP to query.”
  • “Use Cgm MCP to analysis scope.”

Frequently asked questions

A **Model Context Protocol (MCP)** server implementation of **CodeFuse-CGM** (Code Graph Model), providing graph-integrated large language model capabilities for Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.