Contact Us

Understanding Model Context Protocol (MCP)

The Model Context Protocol (MCP) is an open standard that aims to streamline how AI models, particularly Large Language Models (LLMs), connect with external data sources and tools. Think of it as a universal language that allows AI to access and utilize information from various systems in a standardized way.

Key Concepts of MCP

In short, the Model Context Protocol defines how AI agents retrieve and interpret data across heterogeneous systems. This is crucial for modern AI orchestration and interoperability.

MCP Server

In the context of MCP, a server is a component that exposes a specific data source or tool to AI applications. An MCP server:

This architecture ensures that AI systems remain modular and scalable, regardless of the diversity of underlying data infrastructures.

How TigerGraph Plays a Role in the MCP Server Space

TigerGraph can power an MCP server, providing AI applications with access to rich, interconnected data and analytical capabilities.

Here’s how:

By enabling graph querying within the Model Context Protocol, TigerGraph effectively becomes a reasoning layer for AI, transforming raw connections into contextual insights.

Use Cases

Here are some examples of how TigerGraph as an MCP server can be used:

By acting as an MCP server, TigerGraph empowers AI applications to understand and reason over complex structured relationships, bridging the gap between data connectivity and cognitive intelligence, and leading to more intelligent and effective solutions. 

Get Started 

Prerequisites

To use TigerGraph-MCP, ensure you have the following prerequisites:

       1.  Python: version 3.10, 3.11, or 3.12.

       2.   TigerGraph: You need TigerGraph version 4.1 or later. You can set it up using one of these methods:

Installation Steps

Option 1: Install from PyPI

The simplest way to install TigerGraph-MCP is via PyPI. It is recommended to create a virtual environment first:

Shell

pip install tigergraph-mcp

Option 2: Build from Source

If you wish to explore or modify the code:

1.   Install Poetry for dependency management.

2.  Clone the repository:

Shell

git clone https://github.com/TigerGraph-DevLabs/tigergraphx

cd tigergraph-mcp

3.  Setting up the Python environment with Poetry

Shell

poetry env use python3.12
poetry install --with dev
eval $(poetry env activate)

Using TigerGraph-MCP Tools

To utilize TigerGraph-MCP tools effectively, especially with GitHub Copilot Chat in VS Code, follow these steps:

1.  Set Up GitHub Copilot Chat: Follow the official documentation to configure it.

2.  Create a .env File: Include your OpenAI API key and TigerGraph connection details.

3.  Configure VS Code: Create a .vscode/mcp.json file to set up the TigerGraph-MCP server.

4.  Interact with the MCP Tool: Use GitHub Copilot to send commands and create schemas in TigerGraph.

Advanced Usage with CrewAI

For more complex interactions or custom workflows, consider using CrewAI or LangGraph. Examples are provided in the repository to help you get started with creating AI agents and managing workflows.

TigerGraph MCP server is open-source at:  https://github.com/TigerGraph-DevLabs/tigergraph-mcp/tree/main

Frequently Asked Questions (FAQ)

  1. What is the Model Context Protocol (MCP)?
    The Model Context Protocol (MCP) is an open standard that allows AI models, especially Large Language Models (LLMs), to connect with external data sources and tools through a unified, standardized interface.
  2. Why is MCP important for AI development?
    MCP ensures AI systems can access real-time, relevant data without custom integrations for every source. This improves scalability, explainability, and interoperability across enterprise environments.
  3. How does TigerGraph support MCP servers?
    TigerGraph powers MCP servers by enabling AI agents to query and reason over connected data. It provides real-time graph analytics, allowing AI to understand relationships and context more effectively.
  4. What are practical use cases for MCP?
    Use cases include AI-powered customer support, fraud detection, and knowledge-driven applications. These are all scenarios where AI benefits from continuous access to contextual, structured data.
  5. Is TigerGraph-MCP open source?
    Yes. The TigerGraph MCP server is open source and available on GitHub. Developers can explore, contribute, and extend it to build custom AI integrations and workflows.

Current Status

The TigerGraph MCP server is actively being developed, and we encourage you to contribute! Here are some current features and enhancements:

By combining the Model Context Protocol with TigerGraph’s real-time analytics, developers can build AI systems that are powerful, transparent, and grounded in data integrity. 

Follow the demo video below to give it a try here