Skip to content

ecentic developer documentation.

Everything an agent or an engineer needs to call ecentic: a versioned REST API, an MCP server, typed errors, published rate limits, and the discovery documents that let a crawler find all of it without a human in the loop.

Public endpoints need no key · OpenAPI 3.1 · RFC 9457 errors

01

Call ecentic in one request

The public surface is unauthenticated and CORS-open. Start here, then mint a key only when you need to act on a merchant account.

02

Authentication

Public reads are open. Anything that touches a merchant account takes a bearer key.

ecentic issues long-lived API keys after a human creates an account. Create the account, mint a key from the dashboard or through the authenticated MCP tool create_api_key, then send it as a bearer token on every protected call. The key is shown once.

Protected calls without a valid key return HTTP 401 and a WWW-Authenticate header naming the Protected Resource Metadata document, so an agent can re-run discovery from the failure itself rather than guessing.

  • mcp — call MCP tools against the ecentic MCP endpoint
  • onboarding — connect Shopify, WooCommerce, and product-feed stores
POST https://ecentic.ai/api/mcp
03

Endpoints

The versioned REST surface. Paths under /api/v1 are stable for the life of v1.

04

Agent protocols

ecentic speaks the commerce and tool protocols agents already use, and publishes a manifest for each.

06

MCP server

Claude, ChatGPT, and any MCP client can call ecentic natively.

The ecentic MCP server speaks JSON-RPC 2.0 over HTTP and is reachable at both /mcp and /api/mcp. Its manifest is published at the conventional well-known path and as a SEP-1649 server card.

Tools that only read (list_plans) work unauthenticated. Tools that change account state — creating keys, starting checkout, connecting a store — need a bearer key.

  • list_plans — plans and their Stripe availability
  • create_api_key — mint a long-lived agent key
  • create_checkout — open a Stripe checkout session
  • connect_shopify, connect_woocommerce, connect_feed — store onboarding
https://ecentic.ai/.well-known/mcp.json
MCP server
07

Webhooks

ecentic receives webhooks; it does not yet deliver them outbound.

Inbound endpoints are signature-verified and reject anything that fails the check before any handler runs. Shopify compliance webhooks verify an HMAC, Stripe verifies its own signature header, and partner endpoints verify a bearer secret.

Outbound webhooks — ecentic notifying your system when a scan finishes or a listing is republished — are not published yet. Read scan and listing results in the dashboard. The published REST API does not expose those dashboard results; use the API reference for the operations currently available. MCP requests are stateless; there is no subscription session.

08

Command line

Script ecentic without writing an HTTP client.

The ecentic CLI wraps the same public surface documented here — discovery, plans, skills, health, and MCP tool calls — so an agent or a developer can shell out instead of building an integration.

It reads ECENTIC_API_KEY from the environment for authenticated commands and prints JSON on stdout, so every command composes with jq.

Code example

Every document on this page is machine-readable and reachable without a key.