Skip to main content

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

Development

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

Project details


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.1.0.tar.gz (26.5 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.1.0-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ona_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for ona_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2e46cc70e3e82fb056e6f947dc10ae29e71de4a62a8ab836389bbe347a0aab3a
MD5 f5db19e8a4cf21a0dbc20be56031577e
BLAKE2b-256 5fa3e4fb33d2764422b2bb29d6534bdf4d9f141637ec70321b547ac569db8296

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ona_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for ona_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6af4df62d525fe5e2f5d6652adb6d890ec1f9d33089793def0720f8ae36d093
MD5 5a6b08e78fa7a89df0e946c2243cc4ce
BLAKE2b-256 0dc7e72d2080fc616d27ee83494f03da68f27e1c15aa2955c033b575f031079a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page