{"schema_version":"2025-06-18","name":"otsite-ten_7SQEQ4WYYJrAOZnpOCifz","description":"MCP server for this otsite tenant (public + admin surfaces).","region":"us-east","transport":"streamable-http","endpoints":{"public":{"http":"https://otsite.com/mcp"},"admin":{"http":"https://otsite.com/admin/mcp"}},"auth":{"scheme":"bearer","token_format":"biscuit-v1","scope_catalog":["site:read","order:create","order:read","chat:consult","admin:write","kb:ingest","price:write","page:write","analytics:read","outbound:send","claim:tenant","atom:read","atom:write","private:read","private:write","pii:read","pii:write","team:write","agent:write","brand:write","settings:write","billing:write","platform:admin"]},"tools":[{"name":"site.search","description":"Full-text + semantic search across the tenant site (products, pages, knowledge).","surface":"public","group":"content","requireScope":["site:read"]},{"name":"catalog.list","description":"List the products for sale on this site (title, price, category, image) with filters and pagination.","surface":"public","group":"commerce","requireScope":["site:read"]},{"name":"product.get","description":"Fetch one product by SKU, id or exact name: price, description, category, image.","surface":"public","group":"commerce","requireScope":["site:read"]},{"name":"order.create","description":"Create an order from SKUs (as catalog.list / product.get return them). Prices come from the shop, never from the caller. Returns the order id and status.","surface":"public","group":"commerce","requireScope":["order:create"]},{"name":"chat.consult","description":"Consult-and-sell concierge. Returns a single LLM reply backed by tenant RAG.","surface":"public","group":"content","requireScope":["chat:consult"]},{"name":"kb.ingest","description":"Ingest a knowledge source (file content, url body, or raw text) into the tenant KB.","surface":"admin","group":"content","requireScope":["kb:ingest"]},{"name":"page.create","description":"Open a transactional draft page. If `blocks` is omitted, the planner proposes them from RAG.","surface":"admin","group":"content","requireScope":["page:write"]},{"name":"page.publish","description":"Publish a draft. Bumps tenant layout_version, purges edge cache, fires page.published webhook.","surface":"admin","group":"content","requireScope":["page:write"]},{"name":"style.set","description":"Set the tenant brand kit. Prefer the full `style` object (preset + appearance + color/type/space/shape/effect overrides) and optional saved `themes`. Also accepts legacy flat fields and the nested `brand` block. Merges into existing brand_kit.","surface":"admin","group":"design","requireScope":["admin:write"]},{"name":"price.update","description":"Change a product price (by SKU, id or exact name). price_cents is in minor units: €360 → 36000.","surface":"admin","group":"commerce","requireScope":["price:write"]},{"name":"outbound.send","description":"Send an email, Telegram message, or webhook from the tenant.","surface":"admin","group":"system","requireScope":["outbound:send"]},{"name":"analytics.query","description":"Aggregate read-only analytics over orders and meters.","surface":"admin","group":"insight","requireScope":["analytics:read"]},{"name":"analytics.summary","description":"Headline tenant metrics for the admin Home dashboard. Returns visitors_today, orders_total (7d), ai_answered (7d), attention_needed (open orders + active issues). Backed by projection_daily_metrics + live counts where the projection lags.","surface":"admin","group":"insight","requireScope":["analytics:read"]},{"name":"analytics.overview","description":"Full analytics dashboard payload for a range (24h/7d/30d): KPIs with period-over-period deltas (unique/returning/pageviews/orders/revenue/conversion/AOV), a bucketed traffic+orders time series, the per-atom funnel (views/to-cart/conversion), traffic-source and locale breakdowns, and engagement averages. Live from projection_atoms — read-only.","surface":"admin","group":"insight","requireScope":["analytics:read"]},{"name":"atoms.search","description":"Search atoms by shape, free-text query, and state. Returns projection_atoms rows including title, summary, shapes, claim index. Owner-scoped (returns drafts + private). Limit ≤ 100.","surface":"admin","group":"content","requireScope":["atom:read"]},{"name":"customers.list","description":"List customers for the People tab. Aggregates `person` atoms (magic-link identified) and `order` atom contacts (anonymous checkout) into one de-duplicated roster with orders_count, total spend, and last-seen. Owner-scoped, read-only.","surface":"admin","group":"commerce","requireScope":["atom:read"]},{"name":"notifications.list","description":"Recent activity for the tenant — derived from audit_log. Returns last N notable events (mutations, agent actions, orders, errors). Used by the Home live-feed card. Limit ≤ 100.","surface":"admin","group":"insight","requireScope":["analytics:read"]},{"name":"atoms.get","description":"Get atom by id — Fetch one atom with all its live claims (facts) and edges (links).","surface":"admin","group":"content","requireScope":["atom:read"]},{"name":"atoms.create","description":"Create an atom — Create a new atom in state=\"draft\" or \"live\" with optional initial claims and edges. visibility=\"private\" keeps it owner-only (personal memory); default \"public\".","surface":"admin","group":"content","requireScope":["atom:write"]},{"name":"atoms.delete","description":"Archive an atom — Take an atom off the site: archive it and retract its facts and links (history kept). For a reversible hide use atoms.update state.","surface":"admin","group":"content","requireScope":["atom:write"]},{"name":"facts.add","description":"Assert a claim — Insert or update a claim (fact) about an atom, e.g. has-price, has-tag (replace=true semantics).","surface":"admin","group":"content","requireScope":["atom:write"]},{"name":"facts.history","description":"List historical claims for one atom + predicate — Return every claim row (with valid_from/valid_to) so you can rebuild the timeline.","surface":"admin","group":"content","requireScope":["atom:read"]},{"name":"kinds.list","description":"List block kinds — Block/widget kinds available to this site: own (tenant), system built-ins and shared public ones.","surface":"admin","group":"design","requireScope":["atom:read"]},{"name":"orders.list","description":"List recent orders — The tenant's most recent orders with status, total and item count. Filter by status.","surface":"admin","group":"commerce","requireScope":["order:read"]},{"name":"cart.add","description":"Add an item to the visitor cart — Visitor surface — adds a sellable atom to the current cart. The actual cart lives client-side; this tool records intent for the planner.","surface":"public","group":"commerce","requireScope":["order:create"]},{"name":"canvas.filter","description":"Filter the visible atom set — Visitor or owner can shrink the canvas to a subset via shape+text+claim filters. The result is what the planner will render next.","surface":"public","group":"content","requireScope":["site:read"]},{"name":"people.customers","description":"List customer atoms — All customer-shaped atoms with their order count.","surface":"admin","group":"commerce","requireScope":["atom:read"]},{"name":"billing.balance","description":"Current credit balance — Returns balance_cents + the active plan name.","surface":"admin","group":"system","requireScope":["admin:write"]},{"name":"notifications.send","description":"Send a transactional notification — Email or webhook payload routed through the outbox worker. Idempotent on (tenant, idempotency_key). Prefer outbound.send.","surface":"admin","group":"system","requireScope":["outbound:send"]},{"name":"analytics.top_atoms","description":"Top atoms by recent views — Most viewed atoms over the last 30 days (usage_events meter=\"view\").","surface":"admin","group":"insight","requireScope":["analytics:read"]},{"name":"voice.tts","description":"Synthesize speech — Returns a tenant-scoped URL to fetch the mp3. Credits are billed by /v1/voice/tts directly.","surface":"admin","group":"brand","requireScope":["admin:write"]},{"name":"settings.get","description":"Get tenant settings — Raw tenant record: slug, display name, status and the full brand_kit JSON (large — prefer brand.get / style.get).","surface":"admin","group":"system","requireScope":["admin:write"]},{"name":"snapshots.at","description":"Tenant snapshot at a past instant — Returns every atom + claim that was live at ISO timestamp.","surface":"admin","group":"content","requireScope":["atom:read"]},{"name":"predicates.list","description":"Tenant predicate registry — Returns the brand_kit.predicates jsonb registry (inverse_of / cardinality / labels).","surface":"admin","group":"content","requireScope":["admin:write"]},{"name":"ingestion.from_url","description":"Ingest atoms from a URL — Fetch a URL, extract candidate atoms, stage as drafts. Returns the count + the draft ids.","surface":"admin","group":"content","requireScope":["admin:write"]},{"name":"atoms.list","description":"List atoms — Compact paginated list of site content (products, articles, …) with filters. Returns ids for the other tools.","surface":"admin","group":"content","requireScope":["atom:read"]},{"name":"atoms.update","description":"Update an atom — Change title, summary, state (draft/live/archived), visibility or shape of one atom in a single call.","surface":"admin","group":"content","requireScope":["atom:write"]},{"name":"atoms.view","description":"View a public atom — Visitor surface — one published item (product, article, event…) with its public facts, price and images.","surface":"public","group":"content","requireScope":["site:read"]},{"name":"facts.remove","description":"Retract a fact — Retract all live claims of one predicate on an atom (or only the variant matching qualifiers). History is kept.","surface":"admin","group":"content","requireScope":["atom:write"]},{"name":"edges.add","description":"Link two atoms — Add a typed relation from one atom to another (e.g. product bundles-with product). No-op if it already exists.","surface":"admin","group":"content","requireScope":["atom:write"]},{"name":"edges.remove","description":"Unlink two atoms — Remove a typed relation between two atoms.","surface":"admin","group":"content","requireScope":["atom:write"]},{"name":"media.add","description":"Add media to an atom — Attach an image/video by https URL. role=hero puts it first (main image); default gallery (hero if it is the first).","surface":"admin","group":"content","requireScope":["atom:write"]},{"name":"media.remove","description":"Remove media from an atom — Detach one image/video from an atom, by index or URL.","surface":"admin","group":"content","requireScope":["atom:write"]},{"name":"media.set_hero","description":"Set the main image — Make one existing media item the hero (moved first; any other hero becomes gallery).","surface":"admin","group":"content","requireScope":["atom:write"]},{"name":"kb.list","description":"List knowledge sources — Knowledge-base sources (files, URLs, texts) the site agent answers from, with chunk counts.","surface":"admin","group":"content","requireScope":["atom:read"]},{"name":"kb.delete","description":"Delete a knowledge source — Remove one knowledge source (its chunks and search vectors) so the agent stops answering from it.","surface":"admin","group":"content","requireScope":["kb:ingest"]},{"name":"style.get","description":"Get the site style — Current style tokens (preset, appearance, colors, type…) plus available presets and font ids.","surface":"admin","group":"design","requireScope":["atom:read"]},{"name":"style.apply_preset","description":"Apply a style preset — Switch the whole site look to a preset (glass, noir, swiss…). Resets token tweaks; keeps logo, backdrop and accent.","surface":"admin","group":"design","requireScope":["brand:write"]},{"name":"style.design","description":"Design the site look from a brief — Free designer (no AI cost): turns a short brief into a full on-brand look and applies it. Keeps logo and backdrop.","surface":"admin","group":"design","requireScope":["brand:write"]},{"name":"kinds.get","description":"Get a block kind — One block kind with its full BlockSpec JSON (read it before kinds.update).","surface":"admin","group":"design","requireScope":["atom:read"]},{"name":"kinds.create","description":"Create a block kind — Add a new block/widget to the library from a BlockSpec you author. Validation errors explain what to fix.","surface":"admin","group":"design","requireScope":["atom:write"]},{"name":"kinds.update","description":"Update a block kind — Edit one of your block kinds (spec and/or metadata), or roll it back to an earlier version.","surface":"admin","group":"design","requireScope":["atom:write"]},{"name":"kinds.delete","description":"Delete a block kind — Delete one of your block kinds, or just disable/enable it (system kinds are protected).","surface":"admin","group":"design","requireScope":["atom:write"]},{"name":"brand.get","description":"Get brand identity — Site name, host, locale, tagline, voice (persona + tone words), keywords and the primary call-to-action.","surface":"admin","group":"brand","requireScope":["atom:read"]},{"name":"brand.update","description":"Update brand identity — Change name, tagline, locale, vertical, voice (persona/tone words), keywords or the primary call-to-action.","surface":"admin","group":"brand","requireScope":["brand:write"]},{"name":"agent.get","description":"Get the site agent persona — How the visitor-facing AI agent behaves: role, goal, tone, greeting, languages, reply length, allowed actions.","surface":"admin","group":"brand","requireScope":["atom:read"]},{"name":"agent.update","description":"Update the site agent persona — Change any persona field (role, goal, tone, greeting, system prompt, languages, permissions); others are kept.","surface":"admin","group":"brand","requireScope":["agent:write"]},{"name":"orders.get","description":"Get one order — Order detail: status, payment, total, line items, note, contact (needs PII scope) and allowed next statuses.","surface":"admin","group":"commerce","requireScope":["order:read"]},{"name":"orders.update_status","description":"Move an order to a new status — Advance an order: received→confirmed→paid→fulfilled→done, or cancel any open order. One step at a time.","surface":"admin","group":"commerce","requireScope":["admin:write"]},{"name":"contact.send","description":"Leave a message for the owner — Visitor surface — send the site owner a message/lead with a way to reply. Rate-limited; nothing is echoed back.","surface":"public","group":"commerce","requireScope":["chat:consult"]},{"name":"capabilities.list","description":"List site capabilities — Optional site features (motion, 3D, AI imagery, payments, SEO, private site…): on/off and whether the plan allows them.","surface":"admin","group":"system","requireScope":["atom:read"]},{"name":"capabilities.set","description":"Turn a capability on or off — Enable/disable one site capability by key, or reset it to the platform default. Plan/platform locks still apply.","surface":"admin","group":"system","requireScope":["settings:write"]},{"name":"site.overview","description":"Site overview — One-call snapshot to start a conversation: name, host, content counts by shape, open orders, style, capabilities, credits.","surface":"admin","group":"insight","requireScope":["atom:read"]}]}