Skip to main content

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_URL uses HTTP for non-localhost targets

Development

cd ona-mcp
pip install -e ".[dev]"
pytest tests/ -v

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ona_mcp-0.3.1.tar.gz (70.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ona_mcp-0.3.1-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

Details for the file ona_mcp-0.3.1.tar.gz.

File metadata

  • Download URL: ona_mcp-0.3.1.tar.gz
  • Upload date:
  • Size: 70.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for ona_mcp-0.3.1.tar.gz
Algorithm Hash digest
SHA256 477ecbdd7146074535b2d6b7dc585abdcafa227437e58328c61a3e916f1b62d0
MD5 ee420c75cee37b2b55c591085131b17a
BLAKE2b-256 7885ca763d8790e42e63f54ad372c517a524605b370c0f5e0c4f6500e7dd8ec0

See more details on using hashes here.

File details

Details for the file ona_mcp-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: ona_mcp-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 45.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for ona_mcp-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93dd9634e8fc1d0a2b989e57203518dd757dd9a86a6155a1bec1d46c4012ad7e
MD5 af63149f68e2058c9f7f576ee27a81b0
BLAKE2b-256 090aba41e836087c61b74abf3efc991c2034353ca0ed412de9c6bd1e5c71a26b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page