ona-mcp
MCP server for managing Ona AI pipelines from Claude Desktop, Claude Code, and any MCP-compatible client.
Quick Start
Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"ona": {
"command": "uvx",
"args": ["ona-mcp"],
"env": {
"ONA_API_KEY": "your-org-api-key"
}
}
}
}
Claude Code
claude mcp add ona -- uvx ona-mcp
Then set ONA_API_KEY in the MCP config, or add it manually:
{
"mcpServers": {
"ona": {
"command": "uvx",
"args": ["ona-mcp"],
"env": {
"ONA_API_KEY": "your-org-api-key"
}
}
}
}
Manual install
pip install ona-mcp
Configuration
| Environment Variable | Required | Description |
|---|---|---|
ONA_API_KEY |
Yes | Org-level API key from the Ona dashboard |
ONA_BASE_URL |
No | Backend URL (defaults to Ona production). Override for local development. |
Available Tools
Pipeline Management
- list_pipelines - List all pipelines with deployment status
- get_pipeline - Get pipeline details and modules
- create_pipeline - Create a new pipeline from a template
- update_pipeline - Update pipeline name or description
- delete_pipeline - Delete a pipeline
Code / Modules
- get_package_structure - View the file tree
- list_modules - List all modules in a package
- read_module - Read module source code
- write_module - Create or update a module (upsert)
- delete_module - Delete a module
Versioning
- deploy_pipeline - Deploy draft to production
- rollback_pipeline - Rollback to a previous version
- list_versions - View version history
Testing & Quality
- test_pipeline - Test a pipeline with a message; pass
tool_mocks={"get_contact_context": [{"returns": {...}}]}to run it with the platform contact briefing production injects (AB-340) - run_evaluations - Run evaluation suites
- get_quality_history - View evaluation score history
Triggers
- list_triggers - List all triggers (schedules, events, channels)
- create_schedule - Create a cron schedule trigger
- delete_schedule - Delete a schedule trigger
- run_trigger_now - Manually fire a trigger
Executions
- list_executions - View execution history
- get_execution - Get execution details and logs
- cancel_execution - Cancel a running execution
Security
- API key is read from environment variables only (never passed as CLI arguments)
- All requests are authenticated via the Ona backend's auth middleware
- Data is scoped to your organization by the API key
- No database credentials or internal state are exposed
- A warning is shown if
ONA_BASE_URLuses HTTP for non-localhost targets
Development
cd ona-mcp
pip install -e ".[dev]"
pytest tests/ -v
Metadata
Release files for ona-mcp 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ona_mcp-0.4.1.tar.gz | 115.3 kB | Without provenance | Details for ona_mcp-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ona_mcp-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for ona_mcp-0.4.1-py3-none-any.whl |
Total release size: 179.8 kB
Release files / ona_mcp-0.4.1.tar.gz
| Download URL | ona_mcp-0.4.1.tar.gz |
|---|---|
| Size | 115.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b03d32b325862f3bfc5dd060622f4e2f1010cb5703f2f45c1424129a93d09eb
|
|
BLAKE2b-256 checksum How to use checksums |
211deb8727107e57abcbffdec13d33601844112853ec562acd5d7df94fec7d3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / ona_mcp-0.4.1-py3-none-any.whl
| Download URL | ona_mcp-0.4.1-py3-none-any.whl |
|---|---|
| Size | 64.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a87756bfe82c5d090c10568187349e867c01128c5602e933860a3d1f79a391c
|
|
BLAKE2b-256 checksum How to use checksums |
2fcef56893de43f3555167f7e2f62d31fd52cf205cc4e4138315e0e69dca39f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Security for ona-mcp 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.