Documentation Index
Fetch the complete documentation index at: https://docs.mareaalcalina.com/llms.txt
Use this file to discover all available pages before exploring further.
Install Marea in your AI client in 60 seconds
The Marea MCP server runs athttps://mcp.mareaalcalina.com/mcp and exposes the catalog API as 7 marea.* tools that AI clients can call directly. Install once with your developer key and the user’s AI client will route catalog calls through MCP instead of REST — gaining MCP elicitation prompts (explicit user confirmation on publish, ToS, and plan upgrades) for free.
Step 1 — Generate a developer key
Sign in at mareaalcalina.com/developers/keys and create anmk_dev_* key with at least the developer:bootstrap scope.
Keep the key secret. The MCP client passes it to the Marea server on every call.
Step 2 — Add Marea to your client
Marea speaks streamable HTTP MCP athttps://mcp.mareaalcalina.com/mcp. Most clients today still expect a stdio MCP server, so the install bridges the remote HTTP endpoint via mcp-remote — a small published npm shim that pipes stdio ↔ remote HTTP.
- Claude Desktop
- Cursor
- Continue.dev
Open Restart Claude Desktop. The
~/Library/Application Support/Claude/claude_desktop_config.json on macOS (or %APPDATA%\Claude\claude_desktop_config.json on Windows) and add the marea entry:marea.* tools appear in the tool picker.Step 3 — Confirm the install
Ask your AI client: “List the Marea tools you have.” You should see exactly seven:| Tool | Calls | Scope required |
|---|---|---|
marea.bootstrap_user | POST /v1/users | developer:bootstrap (dev key) |
marea.whoami | GET /v1/me | any |
marea.create_storefront | POST /v1/storefronts | catalog:write (user key) |
marea.update_storefront | PATCH /v1/storefronts/:storefrontId | catalog:write |
marea.create_product | POST /v1/storefronts/:storefrontId/products | catalog:write |
marea.update_product | PATCH /v1/storefronts/:storefrontId/products/:productId | catalog:write |
marea.publish_storefront | POST /v1/storefronts/:storefrontId/publish | storefront:publish — fires an MCP elicitation prompt before sending the request |
POST /v1/users/:userId/verify and POST /v1/users/:userId/resendVerification are deliberately not exposed as MCP tools — the agent calls them directly with the restricted mk_user_* it received from marea.bootstrap_user. The 6-digit code flow needs the user in the loop; an MCP tool round-trip would add latency without changing the UX.
Discovery
Clients that support MCP discovery can also find the server via the well-known endpoint:Bearer mk_dev_* or Bearer mk_user_*).
Troubleshooting
- “Cannot find
mcp-remote” — bump to npm ≥ 7 and Node ≥ 18;npx -ywill fetch on first run. - “401 missing_authorization” — the
--headerargument was dropped during JSON-edit (common when editors strip backslashes). Re-paste from this page exactly. - “403 insufficient_scope” on
marea.bootstrap_user— your dev key lacksdeveloper:bootstrap. Re-issue at mareaalcalina.com/developers/keys. - Claude Desktop doesn’t see the tools — restart Claude Desktop fully (Cmd-Q on macOS); a tab reload isn’t enough.
Next steps
- Bootstrap a user — same flow, narrated for the REST surface (verify is REST-only in MCP too).
- Add and edit products — the calls behind
marea.create_productandmarea.update_product. - Publish a storefront — including the 402 / 422 / 451 gates that
marea.publish_storefrontsurfaces via MCP elicitation.