Local MCP server (stdio)
Run the Intents MCP server locally with npx -y @intents-fi/mcp: configuration, product scoping and local webhook delivery.
The same tools as a local process, for clients without remote servers and for
send_test_webhook’s direct delivery to a handler on localhost:
claude mcp add intents-fi -e INTENTS_API_KEY=ik_test_… -- npx -y @intents-fi/mcp| Variable | Default | Notes |
|---|---|---|
INTENTS_API_KEY |
— | An ik_test_ secret key. The local server’s Checkout tools run in test mode only |
INTENTS_WEBHOOK_SECRET |
— | The whsec_ that send_test_webhook signs a direct delivery with |
INTENTS_MCP_PRODUCTS |
all | checkout, swap, route or a list, like the product endpoints (or --products checkout). The older INTENTS_TOOLSETS still works |
INTENTS_API_URL |
https://api.intents.fi |
|
INTENTS_DOCS_URL |
https://intents.fi/docs |
Setup pages: Claude Code, Cursor, Codex.
Why send_test_webhook has a url
Section titled “Why send_test_webhook has a url”The API delivers webhooks to public https endpoints only, so a handler on localhost never hears
from it. With url, the local server pays the test invoice and then signs the paid invoice itself
(the same envelope and X-Intents-Signature scheme as a real delivery) and POSTs it to your
handler. The hosted server cannot reach your machine, so it refuses url; without it, the API’s
own delivery reaches the endpoints you registered.
Why send_test_webhook has a url
Section titled “Why send_test_webhook has a url”The API delivers webhooks to public https endpoints only, so a handler on localhost never hears
from it. With url, the local server pays the test invoice and then signs the paid invoice itself
(the same envelope and X-Intents-Signature scheme as a real delivery) and POSTs it to your
handler. The hosted server cannot reach your machine, so it refuses url; without it, the API’s
own delivery reaches the endpoints you registered.