MCP server

Connect Claude, Cursor or any MCP client to OnePloy with an API token, and let it inspect servers, read logs and deploy resources.

OnePloy includes a Model Context Protocol (MCP) server at https://app.oneploy.dev/mcp. Point an MCP-capable assistant such as Claude or Cursor at it, authenticate with a team API token, and the assistant can explore your servers and projects, read deployment logs, and deploy or restart resources when the token allows it.

What do I need to enable?

  1. Plan: your team’s plan must include MCP access. If it does not, requests return 403 with a message saying the plan does not include MCP.
  2. Team: a team owner or admin turns on MCP server on the Team page.

The Integrations page shows whether MCP is available for your team.

How do I connect an assistant?

  1. Create an API token under Keys & Tokens, then API tokens. Start with Read only. Add Deploy later if you want the assistant to deploy or restart resources.
  2. In your assistant’s MCP settings, add a remote (HTTP) server with the URL https://app.oneploy.dev/mcp.
  3. Send the token as a bearer token in the Authorization header.

Many clients accept a JSON configuration in this general shape (check your client’s documentation for its exact format):

{
  "mcpServers": {
    "oneploy": {
      "url": "https://app.oneploy.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_TOKEN"
      }
    }
  }
}

What can the assistant do?

Read tools (need the Read permission):

  • Get an infrastructure overview, search resources and list unhealthy resources.
  • List and inspect servers, their domains and resources, networks, projects and environments.
  • List and inspect applications, databases, services and their sub-applications and sub-databases.
  • List deployments, read a deployment, and read container logs.
  • List environment variable keys and shared variable keys (names only), storages, tags, scheduled tasks and their executions, database backups and backup executions, preview deployments and team members.
  • List GitHub Apps, repositories and branches.

Write tools (need the Deploy permission):

ToolWhat it does
deployStarts a deployment of a resource.
controlStarts, stops or restarts an application, database or service. Stopping requires an explicit confirmation.
cancel_deploymentCancels a running deployment.

The server also offers two prompts that guide the assistant through troubleshooting an application and explaining a failed deployment.

Is it safe?

The MCP server uses the same team separation and API token permissions as the REST API. A token only sees its own team. Keep tokens read-only unless the assistant genuinely needs to deploy, set an expiry date, and revoke tokens you no longer use.

Last updated