MCP server for Ankr APIs
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add ankr-api --env ANKR_API_TOKEN='<ANKR_API_TOKEN>' -- npx @akki91/ankr-mcp~/.codex/config.toml
[mcp_servers.ankr-api]
command = "npx"
args = ["@akki91/ankr-mcp"]
env = { ANKR_API_TOKEN = "<ANKR_API_TOKEN>" }
# codex mcp add ankr-api --env ANKR_API_TOKEN='<ANKR_API_TOKEN>' -- npx @akki91/ankr-mcp~/.cursor/mcp.json
{
"mcpServers": {
"ankr-api": {
"command": "npx",
"args": [
"@akki91/ankr-mcp"
],
"env": {
"ANKR_API_TOKEN": "<ANKR_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"ankr-api": {
"type": "stdio",
"command": "npx",
"args": [
"@akki91/ankr-mcp"
],
"env": {
"ANKR_API_TOKEN": "<ANKR_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ankr-api": {
"command": "npx",
"args": [
"@akki91/ankr-mcp"
],
"env": {
"ANKR_API_TOKEN": "<ANKR_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ankr-api": {
"command": "npx",
"args": [
"@akki91/ankr-mcp"
],
"env": {
"ANKR_API_TOKEN": "<ANKR_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"ankr-api": {
"command": "npx",
"args": [
"@akki91/ankr-mcp"
],
"env": {
"ANKR_API_TOKEN": "<ANKR_API_TOKEN>"
}
}
}
}Environment variables
ANKR_API_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.