Octopus Deploy Official MCP Server is an MCP server that connects AI assistants like Claude Desktop, Claude Code, and Cursor directly to your Octopus Deploy instance. DevOps engineers, site reliability engineers, and software delivery teams use this integration to inspect, query, and troubleshoot continuous delivery workflows using natural language. It enables users to investigate failed deployments from simple URLs, search through multi-megabyte task logs without full downloads, and inspect Kubernetes live cluster states across environments. It also supports operational tasks like triggering releases, running automated runbooks across specific environments and tenants, and diagnosing missing tenant variable configurations. The server provides fine-grained control via configurable toolsets, supports a dedicated read-only safety mode for production environments, and handles authentication securely through either API keys or short-lived automated access tokens via standard environment variables.
Category: Cloud & Infrastructure
Tags: automation, ci-cd, deployment, octopus deploy, release management
Visit Octopus Deploy Official MCP Server
json { "mcpServers": { "octopusdeploy": { "type": "stdio", "command": "npx", "args": ["-y", "@octopusdeploy/mcp-server"], "env": { "OCTOPUS_SERVER_URL": "https://your-octopus.com", "OCTOPUS_API_KEY": "YOUR_API_KEY" } } } } 3. For production safety, pass the "--read-only" argument within the args array to prevent modifications. 4. Save the configuration and restart your MCP client to enable the tools.Part of MCP Servers
You can run it directly via Node using npx with the package @octopusdeploy/mcp-server or deploy it using Docker with the image octopusdeploy/mcp-server. You must supply your Octopus server URL and an API key or access token using environment variables in your MCP client configuration.
The server allows AI assistants to query Octopus projects, inspect deployments, search task activity logs, execute runbooks across environments, check Kubernetes cluster resources, manage multi-tenant variables, and trigger or schedule software releases.
It functions with any MCP-compliant client that supports stdio transport, including Claude Desktop, Claude Code, and Cursor. You configure the server by adding standard command, argument, and environment parameters into your client's settings file.
To run in read-only mode, append the --read-only argument to the server command in your configuration. This disables write-enabled tools such as create_release, deploy_release, run_runbook, and update_feature_toggle, while blocking HTTP write operations via the execution backstop.
Most tools provided by the server rely on stable APIs available since Octopus Server version 2021.1. Tools requiring newer features will specify their minimum supported version, or you can run the command-line flag --list-tools-by-version to inspect compatibility.