mcp-token-api-rest
Verified Safeby pinax-network
Overview
An MCP server that exposes The Graph's Token API through Claude and other AI assistants, automatically generating tools from the API's OpenAPI specification.
Installation
docker run -p 8080:8080 -e TOKEN_API_BASE_URL=http://your-token-api:8000 mcp-token-apiEnvironment Variables
- TOKEN_API_BASE_URL
- MCP_HOST
- MCP_PORT
- VERSION_CHECK_INTERVAL
- TOKEN_API_AUTH_TOKEN
- ACTIVE_SESSION_TTL
- MCP_ENDPOINT_PATH
- MCP_USER_AGENT
- OPENAPI_SPEC_URL
- VERSION_URL
Security Notes
The server dynamically generates tools from an external OpenAPI specification. While the implementation handles basic Python keyword conflicts and uses standard secure practices (e.g., environment variables for config, `httpx` for requests), the overall security relies on the trustworthiness of the upstream Token API (`TOKEN_API_BASE_URL`) and its OpenAPI spec. No direct code-level vulnerabilities like `eval` or hardcoded secrets were identified within the server's own source.
Similar Servers
heurist-mesh-mcp-server
Provides AI models (like Claude) access to Web3 and blockchain tools via the Heurist Mesh API for tasks such as cryptocurrency data analysis, token security review, and social media intelligence.
claude-faf-mcp
Optimizes AI understanding of software projects by providing persistent context, fixing context-drift, and enabling bi-directional synchronization between project metadata and AI documentation.
pinax-mcp
Connects MCP-compatible clients (e.g., Claude Desktop) to remote MCP servers, specifically The Graph Token API, by acting as a bridge between stdio and HTTP/SSE transports.
local-mcp-gateway
Orchestrates local AI tools by acting as a middleware layer and central hub to manage multiple Model Context Protocol (MCP) servers, offering profile-based tool access, OAuth 2.1, and observability for AI clients.