Skip to content

Connect through MCP

Connect an agent to operate Extralt and inspect your organization's ecommerce data. Use this MCP endpoint:

https://api.extralt.com/mcp

An agent connects in one of two ways:

  • By signing in. Claude (claude.ai, Claude Desktop, the mobile apps, Cowork and Claude Code) and ChatGPT sign you in to Extralt. You choose the organization and the access, and the connection acts as you in that organization, never beyond your role. See Sign in from Claude or ChatGPT.

  • With an API key. Every other MCP client, such as Codex, Cursor, VS Code or Windsurf, sends an organization API key as a Bearer token:

    Authorization: Bearer your-api-key

Either way the agent works in one organization, so tool inputs never ask for an organization ID. To use another organization, connect again and choose it, or give the client a key of that organization.

Choose the access for what the agent should do. Read-only lists only the tools that read and export, so an agent connected with it never sees a tool that changes anything, and a page it read cannot talk it into a change. Read-write lists every tool.

Connect a client

Extralt is not listed in Claude's or ChatGPT's directory: add it by its URL. Clients that use a key send it in a request header; keep the key in an environment variable rather than in a configuration file you share. The examples read it from EXTRALT_API_KEY.

Claude

For claude.ai, Claude Desktop, the mobile apps and Cowork. On an individual plan:

  1. Open Customize > Connectors, choose + Add, then Add custom connector.
  2. Name it Extralt, enter https://api.extralt.com/mcp, and keep the sign-in settings Claude detects.
  3. Sign in to Extralt when Claude asks.

On Team and Enterprise plans, an owner adds the connector under Organization settings > Connectors, and each person then chooses Connect on it in Customize > Connectors and signs in to Extralt as themselves. See Anthropic's custom connector guide.

Claude Code

Add the server from a terminal:

claude mcp add --transport http extralt https://api.extralt.com/mcp

Then run /mcp in Claude Code, choose extralt and authenticate: Claude Code opens the sign-in in your browser.

To connect with an API key instead, add the header when you add the server:

claude mcp add --transport http extralt https://api.extralt.com/mcp \
  --header "Authorization: Bearer $EXTRALT_API_KEY"

See the Claude Code MCP documentation for scopes and settings.

ChatGPT

Add a custom MCP server with the URL https://api.extralt.com/mcp and OAuth as its authentication, with no client ID or secret of your own, as OpenAI's guide describes. Then sign in to Extralt when ChatGPT asks. Your workspace's settings decide whether you can add one.

Codex

Add the server to ~/.codex/config.toml, with the key in the environment variable it names:

[mcp_servers.extralt]
url = "https://api.extralt.com/mcp"
bearer_token_env_var = "EXTRALT_API_KEY"

See the Codex MCP documentation for client settings.

Cursor

Add the server to the project .cursor/mcp.json or your global MCP configuration:

{
  "mcpServers": {
    "extralt": {
      "url": "https://api.extralt.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:EXTRALT_API_KEY}"
      }
    }
  }
}

See the Cursor MCP documentation for the current configuration location and controls.

Other clients

Any MCP client that can send a request header connects the same way: give it the URL and the Authorization header above.

Sign in from Claude or ChatGPT

When you connect, Claude or ChatGPT opens Extralt in your browser:

  1. Sign in with Google or GitHub. If you have no organization yet, create one on the same page.
  2. Choose the organization and Read-only or Read-write. In an organization where you are a viewer, you can connect only read-only.
  3. Choose Allow. Access goes to the Claude or ChatGPT account that started the request, so allow only a request you started just now.

Admins, members and viewers can all connect. A connection acts as you in the organization you chose, and never does more than your role there allows: if your role changes to viewer, a read-write connection then only reads.

A connection stays connected while the app uses it, and ends:

  • after 30 days without use;
  • when you revoke it on Settings > Account, under Connected apps, which lists your connections in every organization;
  • when an organization admin revokes it on Settings > Connections, under Connected apps, which lists every connection in the organization with the person it acts as;
  • when you choose Sign out everywhere on Settings > Account;
  • when you delete your account.

It also stops working while you are not a member of the organization. To connect again after a connection ends, sign in again from the app.

Tools

The server has 40 tools. Each is named after the operationId of an API v1 operation and follows the same authorization rules, with smaller limits. Every API operation has a tool except the five webhook routes: manage webhooks in the dashboard or with the API.

AreaWhat an agent can doTools
StoresAdd, list, and read Stores, mark one as your own, and untrack onecreate_store, list_stores, get_store, update_store, untrack_store
RunsStart, list, read, restart, and stop Runscreate_run, list_runs, get_run, restart_run, stop_run
SchedulesCreate, list, read, update, pause, resume, and delete Schedulescreate_schedule, list_schedules, get_schedule, update_schedule, pause_schedule, resume_schedule, delete_schedule
ImportsCreate an Import from a file and read itcreate_import, get_import
PDPsList, count, and read PDPs, read their raw bodies, and export themlist_pdps, count_pdps, get_pdp, list_pdp_raw, get_pdp_raw, export_pdps
ExploreRead coverage, filter choices, activity, and Changes; find entities by nameget_coverage, get_facets, get_activity, list_activity_events, list_changes, search_entities
ExploreRead current markets, Variants, their offers, history, and price serieslist_market_variants, get_variant, list_variant_offers, list_variant_history, get_variant_price_series
ExploreRun the four Analysesanalyze_price_position, analyze_price_movements, analyze_availability_changes, analyze_assortment_overlap

Your client discovers each tool's description and input schema from the server. The OpenAPI document describes the REST routes, not the tool schemas.

Working with your agent

Your agent discovers the tools on its own; these habits make its answers faster and more reliable:

  • Find ids first. A Store's id is its host and country, such as north.example-US: list_stores lists them. search_entities finds a Store, Product, Variant or Listing by name, and get_facets the filter values that exist, such as brands and categories.
  • Prefer packaged answers. The four analyze_* tools answer price position, price movements, availability changes and assortment overlap with fixed definitions, and report their coverage beside their metrics, so the agent can say what it compared and what it left out.
  • Wait on long work. Adding a Store, starting a Run and creating an Import return at once; the agent then polls their status tool, as described below.
  • Export in bulk. For every PDP of a Run, export_pdps returns a download link instead of paging through list_pdps.
  • Give it the docs. llms.txt indexes these docs, and any page reads as Markdown with .md added to its address.

Examples of what to ask are in Monitor prices and stock and Compare assortments.

Long-running work and exports

create_store, create_run, restart_run, and create_import return a durable ID at once, with the status tool to poll: get_store, get_run, or get_import. A Run can be stopped with stop_run; a Store's crawler build and Imports continue until they complete or fail.

get_pdp returns a PDP's summary and, on request, one section of its document: the store's words, Extralt's reading of them, or its SKUs and offers. list_pdp_raw lists the bodies it was read from and get_pdp_raw reads one in chunks. export_pdps returns a short-lived download URL for one Run's or Import's PDPs as JSONL or Parquet. The URL expires after 15 minutes and can be passed directly to a download client such as curl.

Limits

Tool results are kept small enough for agent clients, so several tools return smaller pages than the API:

ToolDefaultMaximum
list_pdps5 PDPs5
list_market_variants10 Variants25
list_changes25 Changes100
list_variant_offers, list_variant_history25 rows50
list_activity_events10 events25
The four analyze_* tools5 evidence rows10
get_facets25 per dimension100
get_coverage12 per dimension12
search_entities25 results25
get_pdp sections, get_pdp_raw4,096 characters per chunk8,192

list_stores, list_runs, and list_schedules use the API's page sizes.

  • Result size. A result larger than 128 KiB returns a result_too_large error instead of truncated data. Retry with a smaller page, a narrower scope or time range, or fewer sections, or use export_pdps for PDPs.
  • Idempotency. create_store, create_run, restart_run, create_schedule, and create_import require an idempotency_key. Calling again with the same key and input within 24 hours returns the first result instead of repeating the work.
  • Imports. create_import takes the file as base64 in data_base64. The decoded file can be at most 10 MiB.
  • Revocation. A revoked key or connection is refused at once by every tool that changes data. The server reuses a key's or connection's verification for up to 60 seconds for reads, so read tools can keep answering for up to a minute.
  • Rate limits. MCP calls count against the organization's rate limit separately from API requests. See Rate limits.

Access rules

A read-write key or connection of an organization on Start or Scale can use every tool; a read-only one lists and uses the read tools, and export_pdps. A read-only key or connection calling a tool it was not listed gets forbidden, saying it is read-only. A failed call returns an error with the same code as the API, its request_id, whether it is retryable, and retry_after_seconds when known. See Error codes.

During the 30-day grace period after a subscription ends, MCP is read-only. The tool list does not change: a tool the period refuses stays listed and answers why.

Still worksReturns payment_required
Every read tool, and export_pdpsNew work: create_store, create_run, restart_run, create_schedule, create_import
stop_run and pause_scheduleupdate_store, untrack_store, update_schedule, resume_schedule, delete_schedule
A create or restart repeated with the idempotency_key of a call that completed

After the grace period, the organization is suspended and every tool returns forbidden. See Credits and billing for what happens when a subscription ends.

MCP calls are direct operations. Review write and destructive tool calls in your client before allowing them.