Connect Cursor to Mapiry

Add Mapiry as an MCP server in Cursor so your editor can create, edit, and manage maps from chat

Updated November 22, 2026

Cursor can use Mapiry's Model Context Protocol server to manage maps from the editor chat. The same 24 tools available over the REST API become available to your agent: list maps, create maps, add locations, update details, organize categories and tags, and more.

For other clients, see Connect Claude Desktop to Mapiry. For the full tool list and protocol details, see the MCP Server reference.


Before you start

  • A Mapiry account with Pro access — API and MCP access are Pro features.
  • An API key from Account Settings → API Keys. Use READ_WRITE for editing maps or READ_ONLY for lookups only. Copy it when created; it is shown only once.
  • A recent Cursor version with MCP support.

There is no separate MCP credential. The key and its scopes are exactly the ones used by the REST API.


Add the server

Open Settings → MCP → Add new MCP server (or Cursor Settings → MCP depending on your version).

Use these values:

FieldValue
Typehttp
URL / Server URLhttps://mapiry.com/mcp
Header nameAuthorization
Header valueBearer mk_live_your_key_here

If Cursor asks for JSON instead of a form, use:

{
  "mcpServers": {
    "mapiry": {
      "type": "http",
      "url": "https://mapiry.com/mcp",
      "headers": {
        "Authorization": "Bearer mk_live_your_key_here"
      }
    }
  }
}

Replace mk_live_your_key_here with your actual key. Save, then wait for the tools to load — Cursor usually shows a green indicator and a tool count when the handshake succeeds.


Verify the connection

Ask Cursor:

Using Mapiry, list my maps.

It should call list_maps and return your maps with their IDs. If it says no Mapiry tools are available, reopen MCP settings and check the server status. You can also test the endpoint directly with MCP Inspector:

npx @modelcontextprotocol/inspector@latest

Choose Streamable HTTP, enter https://mapiry.com/mcp, and add Authorization: Bearer mk_live_.... A working server lists 24 tools.


Example workflows in Cursor

Ask in plain language — the agent selects tools from their descriptions:

  • “Create a map of Lisbon bookshops called Lisbon Books, Portugal, Lisbon.”
  • “Add these places to the Lisbon Books map” followed by a list with names and lat / lng.
  • “Show me the categories and tags on my Tokyo Coffee map.”
  • “Rename my draft map to São Paulo Coffee Guide.”
  • “Add a wifi tag to Fuglen Tokyo.”

Tools take map IDs, not titles or slugs, so the agent will normally call list_maps first and match on the title itself.

Geocoding is not provided by Mapiry. If you only have addresses, ask Cursor to geocode them with another tool or supply coordinates yourself — the API will not guess.


Constraints and limits

  • 24 tools cover maps, locations, categories, tags, layers, and collections. Key management is intentionally not exposed.
  • READ_ONLY keys can use all list_* and get_* tools; write tools return INSUFFICIENT_SCOPE.
  • Rate limits are shared with the REST API.
  • bulk_create_locations creates up to 100 locations atomically; one bad row fails the batch.
  • Deletes cannot be undone — delete_map removes the map and everything under it.

Troubleshooting

SymptomCause
Server shows as disconnectedWrong URL, missing header, or Cursor needs a restart
401 MISSING_API_KEYAuthorization header is absent or not a Bearer token
401 INVALID_API_KEYKey is wrong or revoked
403 PRO_SUBSCRIPTION_REQUIREDAccount has no active Pro subscription
403 INSUFFICIENT_SCOPEA READ_ONLY key tried a write tool
429 RATE_LIMIT_EXCEEDEDShared REST/MCP quota exhausted

If MCP Inspector connects but Cursor does not, the problem is in Cursor's server configuration rather than Mapiry.

Related