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
stratactl install stratamcp
stratactl update stratamcp --to <version>
stratactl uninstall stratamcpThe install outputs the endpoint: https://<api-id>.execute-api.<region>.amazonaws.com/mcp.
Settings
| Setting | Default | Meaning |
|---|---|---|
mcp_auth_token | none | Bearer token the endpoint requires. Leave blank only if you front it with your own authorizer or auth proxy. |
dashboard_prefix | analyst/dashboards | Where dashboards live in the system bucket. |
Never expose the endpoint unauthenticated.
Connect your agent
Point an MCP Streamable HTTP client at the endpoint:
{
"mcpServers": {
"stratabi": {
"transport": "http",
"url": "https://<api-id>.execute-api.<region>.amazonaws.com/mcp",
"headers": { "Authorization": "Bearer <your token>" }
}
}
}Tools
| Tool | Purpose |
|---|---|
list_dashboards / get_dashboard / get_dashboard_map | Browse; the map is compact structural context. |
apply_dashboard_edit | Small edit operations (update_tile, add_tile, remove_tile, move_tile, set_meta, replace_all), validated, saved as a new revision. |
validate_dashboard / list_revisions / rollback | Dry-run validation, history, restore. |
get_schema_digest / get_dashboard_schema / get_module_schema | The contract: a prose digest and both full JSON Schemas. |
list_modules / get_module_context | Installed modules and their published context. |
list_docs / get_docs | The 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.
| Service | Used for | Required |
|---|---|---|
| Amazon S3 | Reads/writes dashboards (+ immutable revisions) under the dashboard prefix; reads published module contexts. Scoped to those prefixes only. | Yes |
| Amazon DynamoDB | Reads the installed-module registry so an agent can reference modules in tiles (module_id#lambda_index). | Yes |
| AWS Lambda | The 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 IAM | A 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.
Shaleio