Skip to content

MCP server

Ownkube runs a hosted remote MCP server. Point any MCP-capable client at one URL, sign in once, and your agent can create and roll back deployments, read logs and metrics, manage environments, projects and alerts, and deploy marketplace apps on your behalf. It uses the same permissions and tenant isolation as your dashboard account.

MCP (the Model Context Protocol) is an open standard for connecting agents to tools. Because this is a remote server that speaks OAuth, any client with remote-MCP support connects the same way: Claude, other desktop and web assistants, agent frameworks, and your own code via an MCP SDK. The walkthrough below uses Claude as a concrete example; the URL and the flow are identical everywhere else.

https://app.ownkube.io/api/mcp

That is the only value you need. Authentication happens in the browser: there is no token or API key to copy, and nothing secret to paste into a config file.

Every client follows the same shape: point it at the server URL, authorize in the browser, pick an organization. The only thing that differs is where you add the server. Pick your client below for the exact step.

Clients that speak HTTP MCP (Claude Code, Cursor, GitHub Copilot, Windsurf) connect to the URL directly. Terminal and desktop clients that speak stdio (Codex, Zed, Claude Desktop) use mcp-remote, a small bridge that connects a local client to the remote endpoint and runs the browser sign in for you. It needs Node and npx on your machine.

  1. Install Claude Code

    Terminal window
    npm install -g @anthropic-ai/claude-code
  2. Add the server

    Terminal window
    claude mcp add --transport http ownkube https://app.ownkube.io/api/mcp

    Streamable HTTP is what the --transport http flag targets. On first use Claude Code registers itself and starts the browser sign in automatically.

  3. Authenticate

    Run /mcp inside Claude Code and choose ownkube. A browser tab opens for you to sign in and pick an organization, then control returns to your terminal.

Once connected, ask for what you need, for example “list my Ownkube deployments” or “roll back the api deployment to the previous revision”. Your agent picks the right tool and calls it.

Every tool is the same operation the dashboard and the CLI call, so an agent can do what you can do in your organization, with the same role limits.

AreaTools
DeploymentsList and get deployments, live rollout status, revision history, recent log lines, build logs
MetricsCPU, memory, requests, latency and network for an app; database and cache telemetry
Environments and projectsList and get environments, their shared variables, and projects
DatastoresConnection info for a database or cache (see the note below)
AlertsAlert rules and recent firings
BillingWallet balance, spend controls, live burn rate, month-to-date and projected cost, daily history
CatalogMarketplace apps, container registries, Compute regions and box sizes
AccountYour user profile and the organizations you belong to
AreaTools
DeploymentsCreate, update, rename, restart, resync, delete; roll back to a revision; promote one deployment’s config onto another; copy to another environment; move to another project; rebuild from source; upload local source and deploy it
Build settingsAuto-deploy on or off, build arguments, build root, builder size, maintenance mode
Public addressCheck, suggest and change the ownkube.app label; link, verify and unlink custom domains
Environments and projectsCreate, update and delete; replace an environment’s shared variables
JobsTrigger a run now, cancel a run in flight
DatastoresLink a database or cache to an app (writes the connection string as a secret variable and redeploys)
AlertsCreate, update and delete alert rules
MarketplaceCheck and deploy an app with its database and cache in one call; delete it as one unit. See Marketplace
BillingSet spend controls, top up the wallet, start a plan checkout, open the billing portal, redeem a promo code
Own cloudConnect, verify, reconnect and remove AWS accounts; create, cancel and destroy clusters. See Clusters and Connect AWS

Write actions change real infrastructure. Tools that create, upgrade, roll back or destroy are described so the agent confirms with you before running them. Even so, treat an agent with this connector the way you would treat a teammate with dashboard access.

The connection is authorized with OAuth in your browser. There is no long-lived key to leak, and you can revoke the connector from your client at any time.

The agent sees exactly what your account can see, in the one organization you approved, with the same role. The tenant isolation that guards the dashboard guards every tool call too.

Ownkube never holds your AWS keys, and the agent cannot read them out. Cloud access is the role you granted during AWS onboarding.

Every action runs through the same API as the dashboard and CLI, so it shows on the deployment’s Activity tab like any other change.

The connection is pinned to the organization you picked at approval time. To act on a different organization, add the connector a second time and choose the other organization when prompted, or remove and re-add it. Read-only questions about which organizations you belong to work regardless of the pinned one.