Skip to main content
Set up the Rastro MCP server to run catalog operations from your AI agent. Pull snapshots, transform data locally, stage changes for review, and apply from the dashboard.
No database credentials needed — the MCP server talks only to the Rastro API.

Prerequisites

Authenticate

uvx rastro.ai login
This opens dashboard.rastro.ai in your browser. Log in, and your credentials are saved automatically.
Alternatively, create an API key at dashboard.rastro.ai/settings/api-keys and pass it as RASTRO_API_KEY in your client config below.

Configure your client

claude mcp add rastro -- uvx rastro.ai
If using an API key instead of browser login:
claude mcp add rastro \
  -e RASTRO_API_KEY=rastro_pk_... \
  -- uvx rastro.ai

Verify

Ask your agent:
List my Rastro catalogs
If the server is connected, it will call catalog_list and return your catalogs.

First workflow

Prompt your agent:
For catalog <catalog_id>, pull a snapshot, update price/cost by my rules,
compute diff, validate, and stage one pending-review activity.
Do not apply automatically.
Expected flow:
  1. execution_catalog_snapshot_pull
  2. Local transform (agent-generated Python)
  3. execution_local_diff_compute
  4. execution_bundle_validate
  5. catalog_activity_create_transform (or execution_catalog_stage_dataset)
  6. Review and apply in the dashboard

Safety defaults

  • Programmatic approve/apply is blocked — all changes require dashboard review.
  • Large change sets are staged into one activity (chunked internally).
  • Always review the dashboard diff before applying.

Next

MCP Reference

Full tool reference and troubleshooting

Catalog API

Underlying API endpoints