maps.guru
Mcp

Troubleshooting

Common issues, debugging tips, and MCP Inspector usage for the maps.guru MCP server.

Common issues

"No authentication provided" error

What you see: The server starts but tool calls fail with an auth error pointing you at auth login.

Fix: Pick one path.

Recommended — sign in once with the CLI:

npx @invarya/maps-mcp auth login
npx @invarya/maps-mcp auth status   # confirm it worked

The server reads JWT credentials from your OS keychain on every launch. No config-file env vars needed.

Or — paste a mapx_ key into your client config:

  1. Confirm MAPS_GURU_API_KEY is set in your client's config
  2. The key should start with mapx_
  3. Check it's active at maps.guru/dashboard/tokens and hasn't been revoked
{
  "env": {
    "MAPS_GURU_API_KEY": "mapx_your_full_key_here"
  }
}

Authentication priority: MAPS_GURU_BEARER_TOKEN env > keychain JWT (from auth login) > MAPS_GURU_API_KEY env.

Server won't start

What you see: Your MCP client shows "maps-guru" as disconnected or unresponsive.

Fix:

  1. Check Node.js 18+ is installed: node --version
  2. Run the server directly and watch for errors:
    MAPS_GURU_API_KEY=mapx_your_key npx @invarya/maps-mcp
    
  3. Clear the npx cache if you're on a flaky install: npx clear-npx-cache

"Quota exceeded" error

What you see: Tools return 403s mentioning quota.

Fix:

  1. Ask the assistant: "How many API calls have I used this month?"
  2. Upgrade at maps.guru/dashboard/billing
  3. Or wait for the monthly reset (1st of each month, UTC)

No tools showing up

What you see: Your AI assistant doesn't list any maps.guru tools.

Fix:

  1. Restart the client after any config change — most clients only read the config at startup
  2. Check the JSON is valid (no trailing commas, properly quoted keys)
  3. Confirm the config file path is right for your OS
  4. Make sure npx is on your PATH

Debugging with MCP Inspector

The MCP Inspector is the official way to poke at an MCP server directly.

Launch it

MAPS_GURU_API_KEY=mapx_your_key npx @modelcontextprotocol/inspector npx @invarya/maps-mcp

The web UI lets you list tools and resources, invoke them with custom parameters, and watch the raw MCP protocol messages (including error responses).

Quick sanity check

  1. Tools tab — all 15 tools should be listed with descriptions
  2. Resources tabmapsguru://presets and mapsguru://info should both appear
  3. Pick a tool — call geocode with { "query": "Paris" } to confirm end-to-end connectivity

Error reference

ErrorCauseFix
No authentication providedNo keychain JWT and no env var setRun auth login or set MAPS_GURU_API_KEY
Access token expiredKeychain JWT expired, no refreshRun auth login again
MAPS_GURU_API_KEY is requiredEnv variable not setAdd the key to your client config or auth login
Invalid API keyKey doesn't exist or was revokedCheck the dashboard
API key quota exceededMonthly limit hitUpgrade your plan or wait for reset
Rate limitedToo many requests per secondSlow down or add small delays between calls
Network errorCan't reach maps.guru APICheck your connection
Style not foundUnknown style slug or IDUse list_styles to find valid identifiers
Dataset not foundUnknown dataset IDUse list_datasets to find valid IDs

Logging

stdout is reserved for MCP protocol messages, so the server writes all logs to stderr. To capture them:

MAPS_GURU_API_KEY=mapx_key npx @invarya/maps-mcp 2>mcp-debug.log
cat mcp-debug.log

Getting help

  • GitHub Issues — report bugs at the maps.guru repository
  • Discord — join the community for real-time help
  • Emailhello@invarya.com
Copyright © 2026