Octopus Deploy Official MCP Server

The Octopus MCP Server provides your AI assistant with powerful tools that allow it to inspect, query, and diagnose problems within your Octopus

Local serverstdio

What is the Octopus Deploy Official MCP server?

The Octopus MCP Server provides your AI assistant with powerful tools that allow it to inspect, query, and diagnose problems within your Octopus instance, transforming it into your ultimate DevOps wingmate. That is what the octopus deploy official mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

The tools it exposes

The server publishes 14 tools. What each one is for:

  • core — Basic operations (always enabled)
  • projects — Project operations
  • deployments — Deployment operations
  • releases — Release management
  • runbooks — Runbook discovery and execution
  • tasks — Task operations
  • tenants — Multi-tenancy operations
  • kubernetes — Kubernetes operations
  • machines — Deployment target operations
  • certificates — Certificate operations
  • accounts — Account operations
  • interruptions — Manual intervention and approval operations

Getting it running

Installation goes through your MCP client rather than a global install: point it at @octopusdeploy/mcp-server on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What it needs from you

Configuration is passed through the environment: OCTOPUS_SERVER_URL, OCTOPUS_API_KEY, OCTOPUS_ACCESS_TOKEN, YOUR_API_KEY, YOUR_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Node.js >= v20.0.0 - Octopus Deploy instance that can be accessed by the MCP server via HTTPS - Octopus Deploy API Key or Access Token (see Authentication below)

How it compares

Plenty of cloud and infrastructure servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Octopus Deploy Official's toolset — core, projects, deployments and 11 more — is a fair guide to whether it matches your workflow.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Octopus Deploy Official.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
coreBasic operations (always enabled)
projectsProject operations
deploymentsDeployment operations
releasesRelease management
runbooksRunbook discovery and execution
tasksTask operations
tenantsMulti-tenancy operations
kubernetesKubernetes operations
machinesDeployment target operations
certificatesCertificate operations
accountsAccount operations
interruptionsManual intervention and approval operations
featureTogglesInspect and adjust customer feature toggles
contextAuthenticated user and project context (current user, Git branches)

How to install the Octopus Deploy Official MCP server

{
  "mcpServers": {
    "github-com-octopusdeploy": {
      "command": "npx",
      "args": ["-y", "@octopusdeploy/mcp-server"],
      "env": {
        "OCTOPUS_SERVER_URL": "your-value",
        "OCTOPUS_API_KEY": "your-value",
        "OCTOPUS_ACCESS_TOKEN": "your-value",
        "YOUR_API_KEY": "your-value",
        "YOUR_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js >= v20.0.0 - Octopus Deploy instance that can be accessed by the MCP server via HTTPS - Octopus Deploy API Key or Access Token (see Authentication below)
VariableDescriptionRequired
OCTOPUS_SERVER_URLEndpoint or connection string the server talks to.Yes
OCTOPUS_API_KEYCredential the server authenticates with.Yes
OCTOPUS_ACCESS_TOKENCredential the server authenticates with.Yes
YOUR_API_KEYCredential the server authenticates with.Yes
YOUR_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Octopus Deploy Official to core.
  • Use Octopus Deploy Official to projects.
  • Use Octopus Deploy Official to deployments.

Frequently asked questions

It connects Octopus Deploy Official to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (core, projects, deployments, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Octopus Deploy Official directly.