Skip to main content
Glama
Muzain187
by Muzain187

TG_MCP

완성

TigerGraph 작업(쿼리, 스키마, 정점, 모서리, UDF)을 MCP 에이전트에 대한 구조화된 도구 및 URI 기반 리소스로 제공하는 가벼운 Python 인터페이스입니다.

목차

  1. 특징

  2. 프로젝트 구조

  3. 설치

  4. 구성

  5. 클로드에 연결

  6. 예시

  7. 기여하다

  8. 특허

Related MCP server: buddy

특징

  • 스키마 내성
    전체 그래프 스키마(정점 및 모서리 유형)를 검색합니다.

  • 쿼리 실행
    매개변수를 사용하여 설치된 GSQL 쿼리나 원시 GSQL 문자열을 실행합니다.

  • 정점 및 모서리 업서트
    프로그래밍 방식으로 정점과 모서리를 생성하거나 업데이트합니다.

  • 리소스 URI
    tgraph://vertex/...tgraph://query/... URI를 통해 그래프 객체에 액세스합니다.

  • UDF 및 알고리즘 목록
    설치된 사용자 정의 함수와 GDS 알고리즘 카탈로그를 가져옵니다.

프로젝트 구조

지엑스피1

설치

  1. 저장소를 복제합니다

    git clone https://github.com/Muzain187/TG_MCP.git
    cd TG_MCP
  2. 가상 환경 생성 및 활성화

    python3 -m venv venv
    source venv/bin/activate
  3. 종속성 설치

    pip install .

    mcp[cli]>=1.6.0pyTigerGraph>=1.8.6 필요합니다.

구성

실행하기 전에 다음 환경 변수를 설정하세요.

export TG_HOST=https://<your-tigergraph-host>
export TG_GRAPH=<your-graph-name>
export TG_SECRET=<your-api-secret>

이는 config.py 에서 읽습니다.

클로드에 연결

이 MCP 서버는 Claude Desktop 클라이언트에 설치하여 Claude가 TigerGraph 도구를 직접 호출할 수 있도록 할 수 있습니다.

uv run mcp install main.py

위의 내용을 실행한 후 Claude Desktop을 다시 시작하면 망치 🛠 아이콘을 통해 MCP 도구를 사용할 수 있습니다.

예:

영상

영상

기여하다

  1. 저장소를 포크하세요

  2. 기능 브랜치 생성

    git checkout -b feature/YourFeature
  3. 변경 사항을 커밋하세요

    git commit -m "Add YourFeature"
  4. 지점으로 푸시

    git push origin feature/YourFeature
  5. 풀 리퀘스트 열기

모든 새 코드가 테스트를 거쳐 PEP-8 스타일을 따르는지 확인하세요.

특허

이 프로젝트는 MIT 라이선스 에 따라 라이선스가 부여되었습니다.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Model Context Protocol (MCP) server for TigerGraph that lets AI agents interact with TigerGraph through the MCP standard using pyTigerGraph's async APIs.
    69
    3
    Apache 2.0
  • A
    license
    Not graded
    quality
    F
    maintenance
    Agent-first knowledge graph MCP server that provides 25 tools for managing a knowledge graph with nodes and edges, plus a human-readable dashboard for LLMs and AI agents.
    161 npm
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to interact with TigerGraph databases through the Model Context Protocol, supporting graph operations, schema queries, and GSQL execution via natural language.
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables document ingestion and typed knowledge graph queries through Claude MCP tools, allowing agents to extract, store, and retrieve typed entities and relations from documents.
    2
    MIT