MCP server for Rastro catalog operations — 26 tools for schema, items, activities, snapshots, AI mapping, judging, and image editing
Project description
rastro-mcp
Standalone MCP server for Rastro catalog workflows.
What this is
- API-key-only MCP server for Codex/Claude
- No direct database access needed
- Activity-first safety model (stage -> review in dashboard -> apply)
Install
git clone https://github.com/Rastro-AI/rastro-mcp.git
cd rastro-mcp
uv sync
Required environment
# Option A (recommended): API key auth
export RASTRO_API_KEY="rastro_pk_..."
# Option B: bearer token from web auth session
# export RASTRO_ACCESS_TOKEN="<jwt>"
export RASTRO_BASE_URL="https://catalogapi.rastro.ai/api"
# optional
# export RASTRO_ORGANIZATION_ID="<org_uuid>"
Browser login from CLI (no copy/paste)
uv run rastro-mcp login
# then apply the printed export in your shell:
# export RASTRO_ACCESS_TOKEN='...'
This opens dashboard.rastro.ai, uses your existing web session, and redirects back to a localhost callback.
Run (stdio)
uv run rastro-mcp
Equivalent:
uv run python -m rastro_mcp.server
Codex / Claude MCP config
Use a workspace .mcp.json entry like:
{
"mcpServers": {
"rastro": {
"command": "bash",
"args": [
"-lc",
"cd /ABSOLUTE/PATH/rastro-mcp && export RASTRO_API_KEY='rastro_pk_...' && export RASTRO_BASE_URL='https://catalogapi.rastro.ai/api' && uv run rastro-mcp"
]
}
}
}
Safety defaults
- Programmatic approve/apply is disabled.
- Use dashboard review URL to approve/apply.
- Large staged updates are chunked internally into one activity.
Docs
- Quickstart: https://docs.rastro.ai/mcp/quickstart
- Reference: https://docs.rastro.ai/mcp/reference
License
MIT
PyPI Publish Notes
- GitHub Actions workflow:
.github/workflows/publish.yml - Trusted publisher values on PyPI must match:
- Owner:
Rastro-AI - Repository:
rastro-mcp - Workflow:
publish.yml
- Owner:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rastro_ai-0.2.0.tar.gz.
File metadata
- Download URL: rastro_ai-0.2.0.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8368f723bb0017fac5c854fb5df226b8da4e48476d86a1a22966c92ce7c8e4b3
|
|
| MD5 |
f324eeb743bdfcacc0837dc5c6835061
|
|
| BLAKE2b-256 |
772b5b5b7e9081e69d796ab89a0f093e6272da9f65879e8aa44df503e6acf06b
|
Provenance
The following attestation bundles were made for rastro_ai-0.2.0.tar.gz:
Publisher:
publish.yml on Rastro-AI/rastro-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rastro_ai-0.2.0.tar.gz -
Subject digest:
8368f723bb0017fac5c854fb5df226b8da4e48476d86a1a22966c92ce7c8e4b3 - Sigstore transparency entry: 1066623312
- Sigstore integration time:
-
Permalink:
Rastro-AI/rastro-mcp@afa9c4621aa77d93f5015b44d038706382d70fd4 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Rastro-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@afa9c4621aa77d93f5015b44d038706382d70fd4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file rastro_ai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: rastro_ai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 41.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45c6f800d257cb8cbdb82958424d1e0e92ae7df7c11991b533d9e8eab5c7e4aa
|
|
| MD5 |
02113873f54f821193e114537d35397e
|
|
| BLAKE2b-256 |
344b51b4a65f31b4d7ed80c9844cfdabbc412ba4e89778fd51ace915390e4e59
|
Provenance
The following attestation bundles were made for rastro_ai-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on Rastro-AI/rastro-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rastro_ai-0.2.0-py3-none-any.whl -
Subject digest:
45c6f800d257cb8cbdb82958424d1e0e92ae7df7c11991b533d9e8eab5c7e4aa - Sigstore transparency entry: 1066623315
- Sigstore integration time:
-
Permalink:
Rastro-AI/rastro-mcp@afa9c4621aa77d93f5015b44d038706382d70fd4 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Rastro-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@afa9c4621aa77d93f5015b44d038706382d70fd4 -
Trigger Event:
release
-
Statement type: