MCP overview
Astrato’s Model Context Protocol (MCP) server lets an AI assistant work with your semantic layers. It can list them, search for fields, answer business questions that are already defined, and make and publish changes when you ask. The assistant acts with your Astrato account and permissions.
Availability: MCP must be enabled for your Astrato environment. Check that it’s switched on before configuring a client, or ask your Astrato contact. New to this? Start with Connect an AI assistant and ask your first data question.
Before you build a Data App
Section titled “Before you build a Data App”Querying data and editing semantic layers need only a connected assistant. To build a Data App in a folder on your own computer, you also need:
- Node.js and npm. The Astrato CLI requires Node.js 24, version 24.18.0 or later; Node 25 is not supported. npm is included with Node.js. Run
node --versionto check. If the command is not found, install Node.js 24 from nodejs.org before asking your assistant to build. Your assistant uses npm to install the CLI. The app itself can use npm, pnpm, Yarn or Bun;devandbuildrun whichever one the project uses. - Source control (recommended). We recommend keeping each Data App in a Git repository, for example on GitHub. You can then review each change your assistant makes, return to an earlier version, and work on the app with other people.
A Data App built in App Builder is saved with Astrato and needs neither.
Endpoint
Section titled “Endpoint”- MCP URL:
https://app.astrato.io/mcp - Transport: remote Streamable HTTP
- Authentication: OAuth for interactive clients, or an Astrato Personal Access Token (PAT)
Examples use https://app.astrato.io. If your organisation provides a private or custom deployment origin, replace the Astrato origin in the URLs.
Connecting AI assistants
Section titled “Connecting AI assistants”Choose your assistant. Each tile opens its setup steps in Connect an AI assistant.
Technical guides
Section titled “Technical guides”Example tools
Section titled “Example tools”These four tools cover the usual path from a new semantic layer to a published Data App. The tool reference lists the semantic layer, workspace and data tools.
astrato_semantic_layer_createcreates an empty, unpublished semantic layer on a datasource.astrato_semantic_layer_apply_measure_changeadds or changes a measure in the layer’s draft.astrato_semantic_layer_publishpublishes the layer, so queries and Data Apps can use it.astrato_dashboard_freeform_createreserves an unpublished Data App. Publish its content with the CLI.
Skills
Section titled “Skills”Astrato’s agent skills are portable instruction folders that teach an assistant Astrato workflows. They are published at github.com/astrato-io/astrato-skills. The connector does not install them, so copy the folders into your assistant as described on the skills page. Install the astrato skill as the entry point, then add the task skills you need. See Astrato skills for what each one covers.
Capabilities
Section titled “Capabilities”The tools use one product-shaped namespace:
astrato_data_*manages connections, sources, and governed data queries.astrato_workspace_*discovers and organizes visible Astrato resources.astrato_semantic_layer_*discovers and authors semantic models and their business questions.astrato_dashboard_canvas_*manages Canvas dashboard lifecycle operations.astrato_dashboard_freeform_*creates unpublished Data Apps and manages their metadata, hosting and lifecycle. Publish content through the CLI.astrato_management_access_*manages direct grants over typed Astrato resources.astrato_management_directory_*andastrato_management_license_*read the tenant’s users and licence teams, and change a user’s role, sign-in status and licence team.astrato_app_builder_*edits and runs an app’s Builder document.astrato_reporting_*discovers notification integrations and sends through them.astrato_get_contextreports the live tool contract, capabilities, permissions, authenticated Astrato identity, and routing context.
OAuth scopes control authority independently of these product capabilities.
The identity context includes the current user’s name, email, and tenant role from verified Astrato identity data. These values explain the session but never grant access; every operation is authorized again by its scope and owning Astrato service. Group memberships are not injected.
The gateway may expose fewer tools when a product capability is disabled for your environment. Always use live tool discovery rather than assuming that every documented tool is available.
Capability identifiers
Section titled “Capability identifiers”astrato_get_context returns a capabilities array alongside the flat tools list. Each element
carries exactly id, title, description and tools — the last being that capability’s tools
that are registered on this connection.
There are thirteen identifiers, and the capabilities array keeps the order below. The flat tools
list is in registration order, which is not alphabetical and does not follow the order below, so do
not key on its order. The title is a product word that cannot be derived from the id, so copy it
exactly rather than generating it:
id |
title |
Holds |
|---|---|---|
core |
Nash context |
astrato_get_context alone, which needs sl:read |
workspace |
Workspace |
The astrato_workspace_* tools |
data |
Data |
The astrato_data_* tools |
semantic-layer |
Semantic layer |
The astrato_semantic_layer_* tools |
dashboard-canvas |
Workbooks |
Canvas update, prepare-deletion and delete |
dashboard-freeform |
Data apps |
The freeform tools and all seven astrato_app_builder_* |
management-access |
Access management |
The astrato_management_access_* tools |
management-directory |
Directory |
…directory_list_users and …directory_update_user |
management-licensing |
Licensing |
astrato_management_license_list_teams |
reporting |
Reporting |
Two delivery tools externally, or none |
management-reporting |
Reporting administration |
In-product Nash only |
management-integrations |
Integration access management |
In-product Nash only |
support |
AI Support |
In-product Nash only |
A capability id is not a tool-name prefix. astrato_workspace_set_canvas_dashboard_favourite
and astrato_workspace_set_canvas_dashboard_collection sit under workspace rather than
dashboard-canvas, and the seven astrato_app_builder_* tools sit under dashboard-freeform with
no Builder capability of their own. A client that groups tools by string prefix will disagree with
the server’s own grouping.
A capability with no registered tool is omitted entirely, not returned with an empty tools
list. Read a missing id as “nothing from it is registered here”, never as “this capability does not
exist”. A tool its feature flag disables is never registered, so a flag can take a whole capability
with it: global.astrato-apps removes dashboard-freeform and management-access,
global.nash.recurring removes reporting, management-reporting and management-integrations,
and global.nash.support removes support. global.nash.app-builder is narrower — it removes
the seven astrato_app_builder_* tools and leaves dashboard-freeform with its six freeform tools.
Three ids never appear for an external client at all. support is registered only for in-product
Nash, although both its tools need no more than sl:read, so holding a scope is no promise of the
capability. The management-reporting and management-integrations tools are reserved for
in-product Nash as well, and their scopes are not among the fourteen an external client can be
granted. Externally, reporting holds astrato_reporting_list_integrations and
astrato_reporting_send_slack_text or nothing: each is registered only where the workspace’s own
integration access carries its scopes as well as your session. See
Recurring Nash tasks.
Nash is the agent identity. Capabilities are the Astrato product operations Nash can use, while skills are optional workflow guidance for combining those operations; neither a capability nor a skill is a separate Nash agent.
The astrato_management_* area covers access control, the Astrato user directory and licensing,
each with its own capability id; integration access and reporting administration sit there too, for
in-product Nash only. Tenant settings, the group directory, identity policy, embedding, AI
governance, tenant assets and exports join it only when executable, server-authorized tools exist.
Reporting remains a separate capability because schedules and subscriptions are not uniformly
administrator-only. Unimplemented roadmap capabilities are never advertised by MCP discovery.
What next
Section titled “What next”- Connect an AI assistant — step-by-step setup for Claude, ChatGPT and other assistants.
- Scopes and permissions — what each permission covers.
- MCP results and errors — what responses and errors mean.