TG_MCP
TG_MCP
TigerGraph 操作 (クエリ、スキーマ、頂点、エッジ、UDF) を MCP エージェントの構造化ツールおよび URI ベースのリソースとして公開する軽量 Python インターフェイス。
目次
Related MCP server: buddy
特徴
スキーマイントロスペクション
完全なグラフ スキーマ (頂点とエッジの種類) を取得します。クエリ実行
インストールされた GSQL クエリまたはパラメータ付きの生の GSQL 文字列を実行します。頂点とエッジのアップサート
プログラムによって頂点とエッジを作成または更新します。リソースURI
tgraph://vertex/...およびtgraph://query/...URI を介してグラフ オブジェクトにアクセスします。UDFとアルゴリズムのリスト
インストールされているユーザー定義関数と GDS アルゴリズム カタログを取得します。
プロジェクト構造
TG_MCP/
├── config.py # Environment config (HOST, GRAPH, SECRET)
├── tg_client.py # Encapsulates TigerGraphConnection and core operations
├── tg_tools.py # `@mcp.tool` definitions exposing client methods
├── tg_resources.py # `@mcp.resource` URI handlers
├── main.py # MCP app bootstrap (`mcp.run()`)
├── pyproject.toml # Project metadata & dependencies
├── LICENSE # MIT License
└── .gitignore # OS/Python ignore rulesインストール
リポジトリをクローンする
git clone https://github.com/Muzain187/TG_MCP.git cd TG_MCP仮想環境の作成と有効化
python3 -m venv venv source venv/bin/activate依存関係をインストールする
pip install .mcp[cli]>=1.6.0およびpyTigerGraph>=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 デスクトップクライアントにインストールすると、Claude が TigerGraph ツールを直接呼び出すことができます。
uv run mcp install main.py上記を実行した後、Claude Desktop を再起動すると、ハンマー 🛠 アイコンから MCP ツールが利用可能になります。
例:
貢献
リポジトリをフォークする
機能ブランチを作成する
git checkout -b feature/YourFeature変更をコミットする
git commit -m "Add YourFeature"ブランチにプッシュ
git push origin feature/YourFeatureプルリクエストを開く
すべての新しいコードがテストでカバーされ、PEP-8 スタイルに準拠していることを確認してください。
ライセンス
このプロジェクトはMIT ライセンスに基づいてライセンスされています。
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Related MCP Servers
AlicenseAqualityBmaintenanceModel Context Protocol (MCP) server for TigerGraph that lets AI agents interact with TigerGraph through the MCP standard using pyTigerGraph's async APIs.69214 PyPI5Apache 2.0- AlicenseNot gradedqualityFmaintenanceAgent-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.361 npmApache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables 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
- AlicenseNot gradedqualityBmaintenanceEnables document ingestion and typed knowledge graph queries through Claude MCP tools, allowing agents to extract, store, and retrieve typed entities and relations from documents.2MIT