graph-aave-mcp

v1.0.0
io.github.PaulieB14/graph-aave-mcp Checked 1 day ago Published 9 months ago

AAVE V2/V3 lending & governance MCP — 7 chains via The Graph subgraphs

Values you need

VariableWhat it is
GRAPH_API_KEYrequired secret API key for The Graph network. Required to query subgraphs. Get one free at https://thegraph.com/studio/apikeys/

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add graph-aave-mcp -e 'GRAPH_API_KEY=<GRAPH_API_KEY>' -- npx -y graph-aave-mcp@1.0.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "graph-aave-mcp": {
      "args": [
        "-y",
        "graph-aave-mcp@1.0.0"
      ],
      "command": "npx",
      "env": {
        "GRAPH_API_KEY": "<GRAPH_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "graph-aave-mcp": {
      "args": [
        "-y",
        "graph-aave-mcp@1.0.0"
      ],
      "command": "npx",
      "env": {
        "GRAPH_API_KEY": "<GRAPH_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "GRAPH_API_KEY",
      "id": "graph-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "graph-aave-mcp": {
      "args": [
        "-y",
        "graph-aave-mcp@1.0.0"
      ],
      "command": "npx",
      "env": {
        "GRAPH_API_KEY": "${input:graph-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.graph-aave-mcp]
command = "npx"
args = ["-y", "graph-aave-mcp@1.0.0"]
env = { "GRAPH_API_KEY" = "<GRAPH_API_KEY>" }

For AI agents

  1. Ask the user for: GRAPH_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_aave_chains, get_aave_reserves, get_aave_reserve, get_aave_user_position, simulate_health_factor, get_recent_borrows, get_recent_supplies, get_aave_liquidations, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json