TG_MCP
TG_MCP
轻量级 Python 接口,将 TigerGraph 操作(查询、模式、顶点、边、UDF)公开为 MCP 代理的结构化工具和基于 URI 的资源。
目录
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安装
克隆 repo
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 Desktop客户端中,以便 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceModel Context Protocol (MCP) server for TigerGraph that lets AI agents interact with TigerGraph through the MCP standard using pyTigerGraph's async APIs.3Apache 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.751Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to interact with a LightRAG knowledge graph server via MCP, providing 30 tools for queries, document management, and graph operations.283MIT
- AlicenseNot gradedqualityCmaintenanceEnables 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
Related MCP Connectors
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Muzain187/TG_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server