Skip to main content
You need an access token. If you do not have one, request access — tokens are issued within one business day.

Verify the endpoint first

Before configuring a client, confirm the server answers for your token. This separates a bad token from a bad client config, which is worth thirty seconds.
Expected output:
The Accept header must contain both application/json and text/event-stream. Sending only application/json returns Not Acceptable. The server replies as an SSE stream, which is why the example pipes through sed before jqjq cannot parse event: message directly.

Connect a client

Edit ~/.cursor/mcp.json for all projects, or .cursor/mcp.json inside one project.
Set PLACEMATIC_MCP_TOKEN in your environment rather than pasting the token into the file — .cursor/mcp.json is frequently committed to a repository by accident.Verify under Cursor Settings → Tools & MCP. The server should show as connected with four tools listed.

First call

With the connector enabled, ask a question in natural language. Do not name the tool — the point of the tool descriptions is that the model selects correctly without being told.
The agent should chain two calls — placematic_geocode to resolve the address, then placematic_assign_territory to answer the question — and return the serving location with its delivery conditions.

After a schema change

Clients cache tool schemas and do not refresh them on their own. If Placematic changes a tool’s arguments, your agent will keep sending the old ones and receive validation errors until the connector is refreshed. Cursor and Claude Code: restart the client. Claude and ChatGPT connectors: remove the connector and add it again. Toggling it off and on in a conversation is not enough. Schema changes are announced by email to the address on your access request.