Back to Home
pinax-network icon

mcp-token-api-rest

Verified Safe

by 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

Run Command
docker run -p 8080:8080 -e TOKEN_API_BASE_URL=http://your-token-api:8000 mcp-token-api

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Stars0
Forks0
Last Update2025-11-19

Tags

MCPBlockchainToken APIAIThe Graph