StrataMCP

A StrataBI Platform Module

Powered by Shaleio

Tier: Supported · module id stratamcp · type standalone_service (its own service beside StrataBI, which StrataBI does not render) · requires StrataBI · stands alone

StrataMCP is a Model Context Protocol (MCP) gateway in your own AWS account. It lets the agent workspace you already use — Claude, Cursor, Kiro — edit StrataBI dashboards with the same schema-aware, validated, revisioned editing StrataChat uses. You bring the model and the workspace; StrataBI provides the dashboard domain as tools. It is not an IDE.

For a zero-infrastructure local tool against a folder of dashboard JSON, use the local MCP server that ships with StrataChat instead.

Install and update

bash
stratactl install stratamcp
stratactl update  stratamcp --to <version>
stratactl uninstall stratamcp

The install outputs the endpoint: https://<api-id>.execute-api.<region>.amazonaws.com/mcp.

Settings

SettingDefaultMeaning
mcp_auth_tokennoneBearer token the endpoint requires. Leave blank only if you front it with your own authorizer or auth proxy.
dashboard_prefixanalyst/dashboardsWhere dashboards live in the system bucket.

Never expose the endpoint unauthenticated.

Connect your agent

Point an MCP Streamable HTTP client at the endpoint:

json
{
  "mcpServers": {
    "stratabi": {
      "transport": "http",
      "url": "https://<api-id>.execute-api.<region>.amazonaws.com/mcp",
      "headers": { "Authorization": "Bearer <your token>" }
    }
  }
}

Tools

ToolPurpose
list_dashboards / get_dashboard / get_dashboard_mapBrowse; the map is compact structural context.
apply_dashboard_editSmall edit operations (update_tile, add_tile, remove_tile, move_tile, set_meta, replace_all), validated, saved as a new revision.
validate_dashboard / list_revisions / rollbackDry-run validation, history, restore.
get_schema_digest / get_dashboard_schema / get_module_schemaThe contract: a prose digest and both full JSON Schemas.
list_modules / get_module_contextInstalled modules and their published context.
list_docs / get_docsThe docs page index, so the agent fetches the right page instead of crawling the site.

A good agent loop: get_dashboard_map + get_schema_digest → apply_dashboard_edit with small ops → read back the returned map.

AWS services

Everything below runs in your AWS account. It is created by the install unless noted.

ServiceUsed forRequired
Amazon S3Reads/writes dashboards (+ immutable revisions) under the dashboard prefix; reads published module contexts. Scoped to those prefixes only.Yes
Amazon DynamoDBReads the installed-module registry so an agent can reference modules in tiles (module_id#lambda_index).Yes
AWS LambdaThe MCP gateway function.Yes
Amazon API Gateway (HTTP API)Serves the MCP Streamable-HTTP endpoint. Protect with the bundled bearer token or your own authorizer/auth-proxy.Yes
AWS IAMA single least-privilege role scoped to the dashboard + module prefixes and the registry table.Yes

It works against your existing StrataBI install's system S3 bucket and module registry; it has no app tiles, so it doesn't use the status writer.

How it works

One Lambda behind an API Gateway HTTP API (POST /mcp) speaking MCP Streamable HTTP (JSON-RPC initialize / tools/list / tools/call). It reads and writes dashboards in your system bucket with immutable revisions and reads your module registry. Its single IAM role is scoped to the dashboard and module prefixes and the registry table. StrataHQ is never in the path.

StrataChat · For agents · Modules