Skip to content

Commit a863483

Browse files
authored
Update introduction.mdx
- Adds the two types of MCP - Misc editing
1 parent fa506ae commit a863483

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

website/src/pages/en/ai-suite/token-api-mcp/introduction.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@ sidebarTitle: 'Introduction'
55

66
Token API MCP server is an open-source implementation of [Anthropic's Model Context Protocol](https://modelcontextprotocol.io/introduction).
77

8-
This MCP server makes on-chain token data, including metadata, balances, transfers, and holder statistics, accessible through a set of MCP tools. Any compatible client can use these tools to fetch and analyze token information through a standardized interface. It connects to The Graph's hosted Token API database, enabling AI assistants to query real-time blockchain data using natural language requests that get translated into optimized SQL queries.
8+
This MCP server makes on-chain token data, including metadata, balances, transfers, and holder statistics, accessible through a set of MCP tools. Any compatible client can use these tools to fetch and analyze token information through a standardized interface. It connects to The Graph's hosted Token API database, enabling AI assistants to query blockchain data using natural language requests.
99

10-
The server itself does not host any language model. It simply converts MCP calls into data look-ups and returns structured results, letting the client's own LLM incorporate the results.
10+
There are two types of MCP available for use:
11+
- A REST-based MCP, the default, that communicates with the Token API.
12+
- A SQL-based MCP, for advanced users, that allows for communicating with the backend databases that powers the Token API.
1113

12-
Think of it as a USB-C hub: it standardizes the plug-and-play connection between AI agents and The Graph's Token API data.
14+
The REST-based MCP simply exposes the API endpoints to your LLM based on the OpenAPI specification (available at https://token-api.thegraph.com/openapi). It automatically stays up-to-date with new Token API releases so you don't miss any new features !
15+
16+
The SQL-based MCP provides the LLM tools to list databases and tables as well as run SQL queries directly on the data. It is meant for advanced users who need different use cases that the standard API endpoints cannot replicate. For best results, it is advised to use an LLM model specifically tuned for working with SQL.
1317

1418
## What You Can Do
1519

@@ -20,4 +24,4 @@ Think of it as a USB-C hub: it standardizes the plug-and-play connection between
2024
- Ask natural language questions about token data without writing smart contract calls
2125
- Access historical transfer data to analyze token movement over time
2226

23-
The Token MCP server provides [Claude](/ai-suite/token-api-mcp/claude/), [Cline](/ai-suite/token-api-mcp/cline/), and [Cursor](/ai-suite/token-api-mcp/cursor/) with direct, conversational access to onchain token data.
27+
The Token MCP server provides [Claude](/ai-suite/token-api-mcp/claude/), [Cline](/ai-suite/token-api-mcp/cline/), [Cursor](/ai-suite/token-api-mcp/cursor/) and any other client with MCP integration a direct, conversational access to onchain token data.

0 commit comments

Comments
 (0)