Pinax MCP
An MCP Client for connecting to MCP Serverβcompatible services at https://thegraph.market.
Ask AI about Pinax MCP
Powered by Claude Β· Grounded in docs
I know everything about Pinax MCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
MCP Client: @pinax/mcp
An MCP Client for connecting to MCP Serverβcompatible services at https://thegraph.market.
Usage
Usage: @pinax/mcp [options]
A bridge client for connecting Claude Desktop and other MCP-compatible clients to remote MCP servers.
Options:
-V, --version output the version number
--remote-url <string> Remote MCP server URL (env: REMOTE_URL)
--sse-url <string> [DEPRECATED] Use --remote-url instead (env: SSE_URL)
--access-token <string> JWT Access Token (env: ACCESS_TOKEN)
-v, --verbose <boolean> Enable verbose logging (choices: "true", "false", default: false, env: VERBOSE)
-h, --help display help for command
Documentation: https://thegraph.com/docs/en/ai-suite/token-api-mcp/introduction/
Endpoints
This MCP allows LLMSs to access data provided by The Graph Token API.
Two MCPs are available:
- Use
https://token-api.mcp.thegraph.com/mcpfor the REST-based MCP (all tiers) - Use
https://token-api.mcp.thegraph.com/ssefor the SQL-based MCP (paid tiers)
Authentication
- Create a free account at https://thegraph.market using your GitHub credentials
- Go to Dashboard
- Click Create New Key
- Click Generate Access Token
Configuration
Environment Variables (.env)
ACCESS_TOKEN=<your-jwt-token-from-thegraph.market>
REMOTE_URL=https://token-api.mcp.thegraph.com/mcp
Claude Desktop Configuration
Add to your Claude Desktop config file:
Location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Configuration:
{
"mcpServers": {
"pinax": {
"command": "npx",
"args": [
"@pinax/mcp",
"--remote-url",
"https://token-api.mcp.thegraph.com/mcp",
"--access-token",
"YOUR_ACCESS_TOKEN_HERE"
]
}
}
}
Or using environment variables:
{
"mcpServers": {
"pinax": {
"command": "npx",
"args": ["@pinax/mcp"],
"env": {
"REMOTE_URL": "https://token-api.mcp.thegraph.com/mcp",
"ACCESS_TOKEN": "YOUR_ACCESS_TOKEN_HERE"
}
}
}
}
Using with Bun (Development)
{
"mcpServers": {
"pinax": {
"command": "/path/to/bun",
"args": [
"run",
"/path/to/pinax-mcp/index.ts",
"--remote-url",
"http://localhost:8080/mcp",
"--access-token",
"YOUR_ACCESS_TOKEN_HERE",
"-v",
"true"
]
}
}
}
Supported Clients
This bridge works with any MCP client that supports stdio transport:
- Claude Desktop
- Cline
- Cursor
- Any other MCP-compatible application
Troubleshooting
Enable Verbose Logging
Add -v true to your command or set VERBOSE=true in your environment:
npx @pinax/mcp --remote-url https://example.com/mcp --access-token YOUR_TOKEN -v true
Common Issues
Connection Timeout:
- Verify your
ACCESS_TOKENis valid - Check that the
REMOTE_URLis correct and accessible
Authentication Failed:
- Generate a new access token at https://thegraph.market
- Ensure the token hasn't expired
Server Disconnected:
- Check Claude Desktop logs for detailed error messages
- Verify network connectivity to the remote server
Development
Install Dependencies
npm install
# or
bun install
Run Locally
bun run index.ts --remote-url http://localhost:8080/mcp --access-token YOUR_TOKEN -v true
Build
npm run build
# or
bun run build
Architecture
βββββββββββββββββββ ββββββββββββββββ βββββββββββββββββββ
β Claude Desktop ββββstdioββΊβ MCP Bridge ββββHTTPβββΊβ Remote MCP β
β (or other β β Client β or β Server β
β MCP client) β βββββββββββββββββββSSEββββΊβββββββββββββββββββ
βββββββββββββββββββ
