Docs
Agents and API

MCP guide

Connect an assistant over remote Streamable HTTP and create private charts and tables.

Connect to https://api.xentropy.ai/mcp using a client that supports remote Streamable HTTP. Use OAuth where supported, or a scoped API key kept in your client's environment or secret manager. Client subscriptions and workspace permissions can affect availability.

Connect an assistant

  1. Open Agent access in Xentropy and choose your assistant.
  2. Follow the steps for your client. Most clients sign in with OAuth: paste the server URL and, if prompted for registration, choose dynamic client registration (DCR).
  3. Sign in to Xentropy and review the requested access. OAuth setup needs no pre-provisioned API key or client secret.
  4. Ask the assistant to list saved artifacts. A successful tool read verifies the client's access; copying the endpoint or logging into the website does not.

Setup guides per client:

Never paste a real key into a prompt, document or URL.

Discover tools before calling them

Initialize the connection, list tools, and use their current input schemas. The native data-work families include:

  • artifacts_list, artifacts_get, artifacts_create and artifacts_update for private chart/table work and accepted revisions.
  • artifacts_versions, refresh tools, artifacts_export, job status and output tools for history, source capture and downloads.
  • dashboards_list, dashboards_get, dashboards_create and dashboards_update for arranging existing artifacts.
  • Data/connection tools subject to provider scopes and explicit resource grants.
  • folders_list, folders_get, folders_create, folders_update, folders_delete, folders_items_list and folders_items_move to organise items in folders. See Folder tools.

Discover capabilities rather than assuming your credential can perform every operation. A subscription never expands a credential's permissions.

A private first workflow

  1. List saved artifacts to verify access.
  2. Create a bar chart from synthetic inline data with a clear title and units. Use a stable idempotency key for that one create operation.
  3. Inspect the returned artifact and revision IDs. Open the result in Xentropy.
  4. For changes, read the latest state and use the required version/revision guard. A conflict means re-read and reconcile; do not silently overwrite.
  5. Add the artifact to a dashboard with an explicit latest-version or pinned binding. Dashboard layout and artifact content are separate changes.
  6. Export only when needed. Poll the returned job until complete and inspect the output reference before reporting that a download is ready.
  7. Share or publish only when explicitly requested. A share link grants access to selected output to anyone holding it; publication makes content public.

The console quickstart includes a sample prompt that leaves work private and needs no provider authorization.

Recover access

OAuth connections appear in Agent access → Connected assistants. Revoking one blocks its access and refresh tokens. API-key clients are managed separately under Settings → API Keys. Reconnect an expired grant, rotate/revoke keys as needed, and check allowed scopes and resources before retrying.

An authenticated browser is not an MCP access check. A saved source configuration is not a successful source-health test. A queued export is not a completed file. Keep these states distinct when reporting results.

Lifecycle and response limits

artifacts_create publishes typed specifications for all 24 chart types and native tables in its tool input schema. artifacts_capabilities returns these schemas on request: pass chartType for one type or response: "full" for all. Use source field IDs; KPI charts can omit x.

Dashboards: dashboards_trash is reversible with dashboards_restore; dashboards_delete with permanent: true removes a trashed dashboard and needs the opt-in dashboards:delete scope. Saved datasets are removed with data_datasets_delete (data:write). Sheet deletion is unsupported through MCP: remove unwanted sheets with Google Sheets or Google Drive using an authorized account. Dashboard refresh is also unsupported: refresh each distinct head-bound artifact separately. Pinned revisions stay fixed. Standalone reverse-lineage lookup is unsupported; inspect dashboard tile artifact IDs for dependencies.

artifacts_trash always includes dependentDashboards visible to the caller, including repeated requests. Restore with artifacts_restore; permanent artifact deletion requires trashing first.

When data plans are not available to your account, the data-plan and background-refresh tools are not listed at all; artifacts_capabilities.dataPlans.enabled says which applies. List responses omit inline source data; use artifacts_get for previews. Summary capturedAt is the current data capture time. Responses warn with NUMBER_PRECISION_LOSS for unsafe integers. Use decimal strings for exact values.

On this page