Skip to content

Commit a022550

Browse files
committed
Fix lint
1 parent 4c9083b commit a022550

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Create or edit your `claude_desktop_config.json` file.
1919
- Linux: `.config/Claude/claude_desktop_config.json`
2020

2121
**REST-based MCP**
22+
2223
```json label="claude_desktop_config.json"
2324
{
2425
"mcpServers": {
@@ -34,6 +35,7 @@ Create or edit your `claude_desktop_config.json` file.
3435
```
3536

3637
**SQL-based MCP**
38+
3739
```json label="claude_desktop_config.json"
3840
{
3941
"mcpServers": {
@@ -48,8 +50,7 @@ Create or edit your `claude_desktop_config.json` file.
4850
}
4951
```
5052

51-
> [!NOTE]
52-
> The previous `--sse-url` option is deprecated, use `--remote-url`.
53+
> [!NOTE] The previous `--sse-url` option is deprecated, use `--remote-url`.
5354
5455
## Troubleshooting
5556

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Create or edit your `cline_mcp_settings.json` file.
1919
> **MCP Servers** > **Installed** > **Configure MCP Servers**
2020
2121
**REST-based MCP**
22+
2223
```json label="cline_mcp_settings.json"
2324
{
2425
"mcpServers": {
@@ -34,6 +35,7 @@ Create or edit your `cline_mcp_settings.json` file.
3435
```
3536

3637
**SQL-based MCP**
38+
3739
```json label="cline_mcp_settings.json"
3840
{
3941
"mcpServers": {
@@ -48,8 +50,7 @@ Create or edit your `cline_mcp_settings.json` file.
4850
}
4951
```
5052

51-
> [!NOTE]
52-
> The previous `--sse-url` option is deprecated, use `--remote-url`.
53+
> [!NOTE] The previous `--sse-url` option is deprecated, use `--remote-url`.
5354
5455
## Troubleshooting
5556

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Create or edit your `~/.cursor/mcp.json` file.
1919
> **Cursor Settings** > **MCP** > **Add new global MCP Server**
2020
2121
**REST-based MCP**
22+
2223
```json label="mcp.json"
2324
{
2425
"mcpServers": {
@@ -34,6 +35,7 @@ Create or edit your `~/.cursor/mcp.json` file.
3435
```
3536

3637
**SQL-based MCP**
38+
3739
```json label="mcp.json"
3840
{
3941
"mcpServers": {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ Token API MCP server is an open-source implementation of [Anthropic's Model Cont
88
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

1010
There are two types of MCP available for use:
11+
1112
- A REST-based MCP, the default, that communicates with the Token API.
1213
- A SQL-based MCP, for advanced users, that allows for communicating with the backend databases that power the Token API.
1314

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 is the *recommended way* to set up an LLM with Token API as the set of tools it offers is straightforward to use for any language model. Additionnaly, it automatically stays up-to-date with new Token API releases so you don't miss any new features!
15+
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 is the _recommended way_ to set up an LLM with Token API as the set of tools it offers is straightforward to use for any language model. Additionnaly, it automatically stays up-to-date with new Token API releases so you don't miss any new features!
1516

1617
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 as general purpose LLMs models (like Sonnet, Gemini, etc.) might not be able to generate valid queries efficiently.
1718

website/src/pages/en/token-api/faq.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ No, these are optional. MCP is an advanced feature allowing AI assistants to int
292292
### How do I choose between the REST-MCP and the SQL-MCP and which one should I use?
293293

294294
To use one or the other, you need to supply the adequate URL in your configuration file (see the [docs](https://thegraph.com/docs/en/ai-suite/token-api-mcp/introduction/) for how to set up your configuration):
295+
295296
- `https://token-api.mcp.thegraph.com/` is for the REST-MCP
296297
- `https://token-api.mcp.thegraph.com/sql` is for the SQL-MCP
297298

0 commit comments

Comments
 (0)