TG_MCP
TG_MCP
Una interfaz Python liviana que expone las operaciones de TigerGraph (consultas, esquemas, vértices, aristas, UDF) como herramientas estructuradas y recursos basados en URI para agentes MCP.
Tabla de contenido
Related MCP server: buddy
Características
Introspección de esquemas
Recupere el esquema gráfico completo (tipos de vértice y arista).Ejecución de consultas
Ejecute consultas GSQL instaladas o cadenas GSQL sin procesar con parámetros.Inserción de vértices y aristas
Crear o actualizar vértices y aristas mediante programación.URI de recursos
Acceda a los objetos gráficos a través de los URItgraph://vertex/...ytgraph://query/...Listado de UDF y algoritmos
Obtenga funciones definidas por el usuario instaladas y catálogos de algoritmos GDS.
Estructura del proyecto
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 rulesInstalación
Clonar el repositorio
git clone https://github.com/Muzain187/TG_MCP.git cd TG_MCPCrear y activar un entorno virtual
python3 -m venv venv source venv/bin/activateInstalar dependencias
pip install .Requiere
mcp[cli]>=1.6.0ypyTigerGraph>=1.8.6.
Configuración
Establezca las siguientes variables de entorno antes de ejecutar:
export TG_HOST=https://<your-tigergraph-host>
export TG_GRAPH=<your-graph-name>
export TG_SECRET=<your-api-secret>Estos son leídos por config.py .
Conectando con Claude
Este servidor MCP se puede instalar en el cliente de escritorio Claude para que Claude pueda invocar sus herramientas TigerGraph directamente:
uv run mcp install main.pyDespués de ejecutar lo anterior, reinicie Claude Desktop y verá sus herramientas MCP disponibles a través del ícono del martillo 🛠.
Ejemplos:
Contribuyendo
Bifurcar el repositorio
Crear una rama de características
git checkout -b feature/YourFeatureConfirme sus cambios
git commit -m "Add YourFeature"Empujar a la rama
git push origin feature/YourFeatureAbrir una solicitud de extracción
Asegúrese de que todo el código nuevo esté cubierto por pruebas y siga el estilo PEP-8.
Licencia
Este proyecto está licenciado bajo la licencia 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
AlicenseAqualityAmaintenanceModel Context Protocol (MCP) server for TigerGraph that lets AI agents interact with TigerGraph through the MCP standard using pyTigerGraph's async APIs.69187 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.441 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