Skip to Content
MCP

MCP (Model Context Protocol)

IntentLoom exposes a remote MCP server so AI clients can read and maintain your project configuration and leads with your account’s own authorization — no tokens to copy into the client’s config.

Connecting a client

Add a remote MCP server in your client and point it at:

https://api.intentloom.com/mcp

(The staging environment serves the same surface at https://api.staging.intentloom.com/mcp; the dashboard MCP page always shows the URL for the environment you are signed in to.)

Your client discovers the authorization endpoints automatically. When you connect, it opens the IntentLoom authorization page: sign in with your IntentLoom account, review what the application is asking for, and choose Allow or Deny. The application name and the exact callback address are shown before you approve anything; a local (loopback) callback is flagged so you only approve requests you started yourself.

Clients register through the standard mechanisms — a Client ID Metadata Document (CIMD) or OAuth dynamic client registration. No manual pre-registration with IntentLoom is needed.

Scopes

Authorization is explicit and additive. projects:read is always required; the others are granted only if the client asks for them and you approve.

ScopeGrants
projects:readList projects and read project detail. Project detail includes the current keyword and competitor configuration summary — this scope never hides those existing fields.
leads:readList discovered post leads with the same filters as the REST API.
configuration:readRead keyword and competitor configuration lists and items.
configuration:writeCreate, update and delete keyword and competitor configuration — subject to exactly the same plan and quota rules as the website.

A client that needs more permissions later must re-authorize with the additional scope; your approval never grants more than the request asked for.

Who can connect, and what happens after expiry

  • Connecting a new client requires an active paid plan — the same rule that governs creating personal API tokens. Every paid tier qualifies; trialing, canceled or lapsed plans do not.
  • Existing connections outlive the subscription. If your plan lapses, your authorized clients keep reading (same policy as website reads) and configuration writes follow the same business rules the website applies. Only new authorizations require the active plan.

Token lifetimes and long-lived connections

  • Access tokens last one hour and renew automatically — no re-login needed.
  • Refresh grants do not expire on a timer. A connection you authorized keeps working until you revoke it, however long it is idle (a client refreshes seamlessly even after a year of inactivity). Signing out of the IntentLoom website does not disconnect your MCP clients.
  • Access tokens and refresh tokens are bound to the IntentLoom API origin; a staging connection never works against production and vice versa.
  • MCP credentials are separate from everything else: they are not Clerk sessions, they are not accepted by the REST API, and REST tokens are not accepted by MCP.

Managing and revoking connections

The dashboard MCP page lists every connection you have authorized — application, granted permissions, authorization date — and lets you revoke any of them. Revoking disconnects the client immediately (its access and refresh credentials stop working) and is available even after a subscription expires. Other clients and your personal API tokens are never affected.

Clients may also disconnect themselves through the standard OAuth revocation endpoint.

Rate limits and body bounds

Each account gets a generous per-minute MCP request allowance; exceeding it returns a retryable 429 with a Retry-After header. Request bodies are capped at 16 KiB.

If a write times out

Configuration writes are never silently retried. If a create call times out, its outcome is unknown: list the current state and reconcile before creating again — a duplicate will be rejected with a conflict rather than created twice. Repeating an update with the same values is safe; repeating a delete after success simply reports not-found.

Storage and propagation notes

Connection state lives in per-environment Cloudflare KV storage. Revocation is authoritative but not globally instantaneous: a client may observe a very short propagation window after you revoke. IntentLoom does not guarantee globally atomic replay prevention for refresh credentials — rotate and revoke are the supported controls.

Last updated on