MCP server for managing Ona AI pipelines from Claude Desktop and Claude Code
Project description
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
- 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
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 ona_mcp-0.2.0.tar.gz.
File metadata
- Download URL: ona_mcp-0.2.0.tar.gz
- Upload date:
- Size: 32.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b080325b465ae7ea2c7de06b99ba39f90ca0d38256bb826873407b568bfb24f
|
|
| MD5 |
ed9e960bb4376972f0c8a86ad685b20e
|
|
| BLAKE2b-256 |
64a95d470316baa0e79a62687df7f1bded612f0217376c47eb9cd4cc736d8b20
|
File details
Details for the file ona_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ona_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
765ca0a0a40abf79569cdec5f266882301e450f704be37833b235c681daf61fa
|
|
| MD5 |
5bed45ef6d8951e133820821a54b96a5
|
|
| BLAKE2b-256 |
0d29f9c45b45a40d58f94b568e79ba55d30a75efae8fde880ce48d4e210ea9aa
|