MCP#

MCP is an optional, self-hosted Model Context Protocol service for OSMO deployments. It gives compatible AI clients a structured way to inspect and operate an OSMO deployment over HTTPS.

MCP exposes a curated set of OSMO operations. It does not replace the OSMO CLI.

Important

MCP must be enabled by the administrator of your OSMO deployment. There is no universal MCP URL; the endpoint normally has the form https://<osmo-host>/mcp.

To connect a client, see MCP.

Identity and Permissions#

MCP uses the signed-in user’s existing OSMO access. Users have the same roles, accessible pools, and API permissions as when they use OSMO through the CLI. MCP does not grant additional access or elevate permissions.

MCP and the OSMO Agent Skill#

MCP and the OSMO Agent Skill are complementary ways to use OSMO from an AI client.

Characteristic

MCP

OSMO Agent Skill

Access path

Remote HTTPS tools exposed by the OSMO deployment

Local osmo CLI commands run by the agent

Authentication

The MCP client’s OAuth session

The local CLI session created by osmo login

Local requirement

A compatible MCP client; the OSMO CLI is not required

The OSMO CLI must be installed and authenticated

Surface

A fixed, bounded set of supported tools

The broader CLI workflows permitted by the skill

Best suited for

Structured remote access with typed inputs and results

CLI-oriented work involving local files or capabilities outside MCP

See Install Client for Agent Skill installation.

Capabilities#

The self-hosted MCP groups tools into the following areas:

Area

Supported operations

Health and profile

Verify caller-bound access; read profile identity, settings, roles, and accessible pools; update supported profile settings.

Pools and resources

Search accessible pools and inspect bounded node capacity, usage, and availability.

Workflows

List workflows; inspect status, logs, events, and specifications; filter and inspect workflow labels; validate or submit label overrides; inspect label-policy warnings; restart and cancel workflows.

Applications

List applications; inspect metadata, versions, and specifications; create, update, delete, rename, and submit applications.

Credentials

List credential names and types or delete a credential. Secret payloads are never returned by MCP.

The server advertises the exact current tool names, input definitions, and annotations to the MCP client.

Safety and Limits#

MCP deliberately exposes a smaller surface than the CLI:

  • Every tool maps to a fixed OSMO API method and route. Tool input cannot select an alternate server, route, method, identity, token, or HTTP headers.

  • Results are validated and bounded. Long logs or specifications can return a marked truncated prefix.

  • Tool annotations distinguish read-only operations from state-changing and destructive operations.

  • Workflow submission and restart consume real compute. Cancellation and deletion might not be reversible.

  • State-changing operations are not automatically retried. If an error leaves the result uncertain, inspect OSMO state before retrying.

  • Workflow validation is not completely side-effect free: a failed validation can create a FAILED_SUBMISSION record.

  • MCP does not return or log credential payloads or submitted specifications. However, the calling client can retain those arguments in its transcript or logs. Reference OSMO credentials instead of embedding secrets in workflow or application YAML.

  • Application descriptions can appear in service access logs and must not contain secrets.

  • Workflow label overrides can appear in service access logs and must not contain secrets.

Capabilities Not Exposed#

The self-hosted MCP does not expose:

  • CLI login, logout, or access-token management;

  • credential creation or replacement;

  • local file expansion or data upload and download;

  • workflow exec, port forwarding, or rsync;

  • privileged user, backend, role, or service-configuration administration; or

  • arbitrary access to OSMO REST routes.

Use the CLI Reference or the OSMO Agent Skill when one of these capabilities is required.

See also

  • MCP for client configuration and connection verification.

  • Install Client for the OSMO CLI and Agent Skill.

  • MCP for enabling MCP in a self-hosted OSMO deployment.