MCP Server logo

MCP Server

Connects AI assistants to Octopus Deploy for inspecting, querying, diagnosing, and optionally changing deployments.

Install MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-181": {
      "command": "npx",
      "args": [
        "-y",
        "@octopusdeploy/mcp-server"
      ],
      "env": {
        "OCTOPUS_SERVER_URL": "YOUR_VALUE_HERE",
        "OCTOPUS_API_KEY": "YOUR_VALUE_HERE",
        "OCTOPUS_ACCESS_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 30 tools correctly (14d ago).

Overview

mcp-server connects MCP-compatible AI assistants to Octopus Deploy so they can inspect projects, deployments, releases, runbooks, tasks, and related resources. It runs over stdio through Docker or the npm package, authenticating with an Octopus API key or short-lived access token supplied through environment variables. Toolsets can be selected by category, and read-only mode disables write operations. The project is deprecated; Octopus Server 2026.3 and later include a Remote MCP Server.

Use cases

  • Inspect Octopus projects and deployment status
  • Diagnose failed deployments and running tasks
  • Discover and execute runbooks
  • Create or deploy releases with write access enabled
  • Query Octopus resources through selected toolsets

Key features

  • Octopus Deploy project, deployment, and release tools
  • Runbook discovery and execution
  • Configurable toolsets
  • Read-only operating mode
  • Docker and npm installation
  • API key and short-lived access-token authentication

Tools30

What MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~13.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

7/7 checks healthy over the last 15d

What it can do

From the 30 tools this server returned when we ran it; 30 declare their own safety hints.

Runs commands · 2Can delete or modify data · 4Handles credentials · 1Makes network requests · 8Read-only tools · 26
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age405 days
Maintainers6

Observed 2026-10-27 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @octopusdeploy/mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars103Stargazers on the source repository.
npm downloads9.5kPackage downloads in the last 30 days.
Last commit15d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed30Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Server works

What mcp-server does

mcp-server exposes Octopus Deploy operations to MCP-compatible AI clients. It is intended for querying and diagnosing an Octopus instance, while also supporting selected operational actions when write access is enabled. Available areas include projects, deployments, releases, runbooks, tasks, tenants, Kubernetes resources, deployment targets, certificates, accounts, interruptions, feature toggles, and authenticated-user or project context.

The server supports Octopus Server APIs, with most tools compatible with APIs available from Octopus Server 2021.1 onward. Individual tools may require newer server versions. Use --list-tools-by-version to inspect tool compatibility by version.

How it works

The server communicates with an AI client through MCP over stdio. It can be started with Docker or launched from npm using npx -y @octopusdeploy/mcp-server. The Octopus instance must be reachable over HTTPS.

Authentication uses either an Octopus API key or a Bearer access token. API keys are intended for interactive and long-running use; short-lived access tokens are intended for automated workflows such as CI/CD or machine-to-machine processes. If both credentials are set, the access token takes precedence.

Write operations are enabled by default. The --read-only option removes write tools and blocks POST, PUT, and PATCH/DELETE requests through the structured execute backstop. Write-capable operations include creating releases, deploying releases, running runbooks, updating feature toggles, and HTTP actions issued through execute.

Setup and configuration

Node.js 20 or newer is required for the npm installation. Configure the server in the MCP client with a stdio command and provide OCTOPUS_SERVER_URL plus either OCTOPUS_API_KEY or OCTOPUS_ACCESS_TOKEN in the environment. The server URL can instead be passed with --server-url; credentials must remain environment variables so they are not exposed in the process list.

Docker users can run the octopusdeploy/mcp-server image with -i, passing the same environment variables. On Apple Macs, the Docker configuration may need --platform linux/amd64.

Use --toolsets to limit the exposed capabilities, such as projects,deployments, or use all to enable every toolset. The core toolset is always enabled. Configure --read-only for production sessions where the assistant should not alter Octopus state.

Tools and capabilities

  • Inspect and query projects, deployments, releases, tasks, tenants, and runbooks.
  • Discover and execute runbooks against environments and optional tenants.
  • Create and deploy releases when writes are enabled.
  • Inspect deployment targets, Kubernetes resources, accounts, certificates, interruptions, and feature toggles.
  • View authenticated-user and project context, including Git branches.
  • Use execute as a structured REST backstop, subject to read-only restrictions.

Limitations and notes

This repository is deprecated. Octopus Server 2026.3 and later provide a Remote MCP Server, which is the replacement direction for newer installations. Access tokens should be short-lived and used for automated scenarios rather than as long-lived credentials. The server's supported tool and API versions can vary by operation, so check tool-version mappings before relying on newer capabilities.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Server

mcp-server is an MCP server that connects AI assistants to Octopus Deploy instances. Its main tools inspect projects, deployments, releases, runbooks, tasks, tenants, targets, and other Octopus resources, with optional write actions for creating releases, deploying them, running runbooks, and updating feature toggles.

Install it with Docker or run it through npm using `npx -y @octopusdeploy/mcp-server`. Configure it as a stdio MCP server and provide `OCTOPUS_SERVER_URL` plus an API key or access token through environment variables.

Start it with the `--read-only` argument. This disables write tools and blocks write and delete HTTP methods sent through the `execute` backstop.

Yes. Cursor is shown as a supported configuration target. Configure the server as a stdio process using either the Docker image or the npm package, then provide the Octopus URL and credential in the client environment.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-server-181?style=directory)](https://allmcps.com/mcp/mcp-server-181)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-server-181"><img src="https://allmcps.com/api/badge/mcp-server-181?style=directory" alt="MCP Server on AllMCPs" /></a>