Integrations
TG_MCP
轻量级 Python 接口,将 TigerGraph 操作(查询、模式、顶点、边、UDF)公开为 MCP 代理的结构化工具和基于 URI 的资源。
目录
特征
- 模式自省
检索完整图形模式(顶点和边类型)。 - 查询执行
运行已安装的 GSQL 查询或带有参数的原始 GSQL 字符串。 - 顶点和边的向上插入
以编程方式创建或更新顶点和边。 - 资源 URI
通过tgraph://vertex/...
和tgraph://query/...
URI 访问图形对象。 - UDF 和算法清单
获取已安装的用户定义函数和 GDS 算法目录。
项目结构
Copy
安装
- 克隆 repoCopy
- 创建并激活虚拟环境Copy
- 安装依赖项Copy
需要
mcp[cli]>=1.6.0
和pyTigerGraph>=1.8.6
。
配置
运行前设置以下环境变量:
Copy
这些由config.py
读取。
连接到克劳德
此 MCP 服务器可以安装到Claude Desktop客户端中,以便 Claude 可以直接调用您的 TigerGraph 工具:
Copy
运行上述程序后,重新启动 Claude Desktop,您将通过锤子🛠图标看到可用的 MCP 工具。
例子:
贡献
- 分叉存储库
- 创建功能分支Copy
- 提交你的更改Copy
- 推送到分支Copy
- 打开拉取请求
请确保所有新代码都经过测试并遵循 PEP-8 风格。
执照
该项目已获得MIT 许可。
Related MCP Servers
- -securityFlicense-qualityThis is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.Last updated -Python
- -securityFlicense-qualityA Python MCP server that enables semantic search through Search Labs blog posts indexed in Elasticsearch, allowing Claude to intelligently retrieve relevant information from the blog content.Last updated -Python
- AsecurityAlicenseAqualityAn MCP server that enables users to fetch Python documentation using the Brave Search API through natural language queries.Last updated -1JavaScriptApache 2.0
- -securityFlicense-qualityA lightweight Python-based server designed to run, manage and create CrewAI workflows using the Model Context Protocol for communicating with LLMs and tools like Claude Desktop or Cursor IDE.Last updated -1Python