DM

diffbot/mcp-code-graph

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

401 stars 41 forks 품질 73 트렌드 19MIT

CodeGPT가 제공하는 코드 그래프 분석 및 시각화를 위한 MCP 서버

개요

코드 그래프와의 원활한 상호작용을 가능하게 하는 모델 컨텍스트 프로토콜 서버입니다. 이 MCP는 CodeGPT 계정이나 DeepGraph의 공개 그래프와 상호작용할 수 있게 해줍니다. 어떤 GitHub 저장소에서든 그래프를 생성하려면 URL을 github.com 에서 deepgraph.co 로 바꾸기만 하면 됩니다. 예를 들어: - GitHub 저장소: https://github.com/username/repo - DeepGraph URL: https://deepgraph.co/username/repo ChatGPT, Cursor, Windsurf, CodeGPT Extension, GitHub Copilot, Claude Desktop, Claude Code, Gemini CLI 등 다양한 MCP 호스트에서 이러한 고급 그래프 기반 쿼리를 사용할 수 있습니다. - 리스트 그래프: 기본 정보를 포함한 사용 가능한 저장소 그래프를 나열합니다. - get-code: 그래프에서 특정 기능의 완전한 소스 코드를 가져옵니다. - find-direct-connections: 코드 그래프 내 기능의 직접적인 관계를 탐구합니다.

개요(AI 번역)

코드 그래프와의 원활한 상호작용을 가능하게 하는 모델 컨텍스트 프로토콜 서버입니다.

이게 어떻게 작동하는지

이 MCP는 CodeGPT 계정이나 DeepGraph의 공개 그래프와 상호작용할 수 있게 해줍니다.

어떤 GitHub 저장소에서든 그래프를 만들려면, URL을 github.com에서 deepgraph.co로 변경하면 됩니다. 예를 들어:

  • GitHub 저장소: https://github.com/username/repo
  • DeepGraph URL: https://deepgraph.co/username/repo

ChatGPT, Cursor, Windsurf, CodeGPT Extension, GitHub Copilot, Claude Desktop, Claude Code, Gemini CLI 등 다양한 MCP 호스트에서 이러한 고급 그래프 기반 쿼리를 사용할 수 있습니다.

사용 가능한 도구

  • list-graphs: 기본 정보를 포함한 사용 가능한 저장소 그래프를 나열합니다.

  • get-code: 특정 기능에 대한 전체 소스 코드를 그래프에서 가져옵니다.

  • find-direct-connections: 코드 그래프 내 기능의 직접적인 관계를 탐구합니다.

  • nodes-semantic-search: 자연어를 사용하여 코드 기능을 의미적으로 탐색합니다.

  • docs-semantic-search: 저장소 문서를 의미적으로 검색합니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Deep Graph MCP Server by CodeGPT

A Model Context Protocol server that enables seamless interaction with Code Graphs.

How this works

This MCP allows you to interact with knowledge graphs available in your CodeGPT account or with public graphs from DeepGraph.

To create a graph from any GitHub repository, simply change the URL from github.com to deepgraph.co. For example:

  • GitHub repo: https://github.com/username/repo
  • DeepGraph URL: https://deepgraph.co/username/repo

You’ll be able to use these advanced graph-based queries across different MCP Hosts such as ChatGPT, Cursor, Windsurf, CodeGPT Extension, GitHub Copilot, Claude Desktop, Claude Code, Gemini CLI, and others.

Available Tools

  • list-graphs: Lists available repository graphs with basic information.

  • get-code: Retrieves the complete source code for a specific functionality from the graph.

  • find-direct-connections: Explores the direct relationships of a functionality within the code graph.

  • nodes-semantic-search: Semantically searches for code functionalities using natural language.

  • docs-semantic-search: Semantically searches repository documentation.

  • get-usage-dependency-links: Analyzes and lists functionalities affected by changes to a code entity.

  • folder-tree-structure: Retrieves the tree structure of a folder in the repository.

For Public Code Graphs (No Account Required)

You can interact with public graphs from DeepGraph:

  1. Find any public repository on deepgraph.co
  2. Use the repository reference (e.g., username/repository-name)

Installation using npx

Add the following configuration to your MCP client (CodeGPT Extension, Cursor, Copilot, Claude Desktop, Windsurf, etc.):

{
   "mcpServers": {
      "Deep Graph MCP": {
         "command": "npx",
         "args": ["-y" , "mcp-code-graph@latest", 
         "username/repository-name",  // DeepGraph repository URL
         "username2/repository-name2" // Add more repositories if needed
        ]
      }
   }
}

For Private Graphs (CodeGPT Account Required)

GitHub에서 전체 README 보기

설치

npx -y mcp-code-graph@latest username/repository-name // DeepGraph repository URL "username2/repository-name2" // Add more repositories if needed
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "Deep Graph MCP": { "command": "npx", "args": ["-y" , "mcp-code-graph@latest", "username/repository-name", // DeepGraph repository URL "username2/repository-name2" // Add more repositories if needed ] } } }