About Octopus Deploy
Octopus Deploy is an MCP server published by OctopusDeploy in the Developer Tools category: octopus Deploy Official MCP Server. Conduid read 30 tools from its source: create_release, deploy_release, execute, find_accounts, find_certificates, find_deployment_targets and 24 more. No package is published for it, so it installs from a source checkout.
The repository has 103 stars and 16 forks, is licensed MPL-2.0, and its last commit was on 22 Nov 2026. The latest release is v2.3.2 (4 Aug 2026): Bug Fixes bump axios and add npm audit signatures to CI (#97) (9af12c7) pin hono to 4.12.18 to satisfy min-release-age cooldown (#100) (40b47ce) require @modelcontextpro… It follows v2.3.1 (17 May 2026), and the 5 most recent releases go back to v2.1.2 (12 May 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools and devops.
Install
git clone https://github.com/OctopusDeploy/mcp-serverTools (30)
create_releaseCreate new releases| Parameter | Type | Description |
|---|---|---|
| channelName | string | The channel name (uses default channel if not specified) |
| confirm | boolean | Required only when the MCP client does not support elicitation. Set to true to confirm release creation; otherwise the tool aborts. |
| customFields | object | Custom field values as key-value pairs |
| gitCommit | string | Git commit hash |
| gitRef | string | Git reference (branch or tag) |
| ignoreChannelRules | boolean | If true, ignore channel version rules |
| ignoreIfAlreadyExists | boolean | If true, skip creation if release already exists (returns existing release) |
| packagePrerelease | string | Package prerelease tag |
| packageVersion | string | Default package version to use for all packages |
| packages | array | Array of package specifications (format depends on Octopus configuration) |
| projectName * | string | The project name |
| releaseNotes | string | Release notes for this release |
| releaseVersion | string | The version for the release (e.g., '1.0.0'). If not specified, Octopus will auto-generate based on project settings. |
| spaceName * | string | The space name |
deploy_releaseDeploy releases to environments and tenants| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Required only when the MCP client does not support elicitation. Set to true to confirm deployment; otherwise the tool aborts. |
| deploymentFreezeNames | array | Names of deployment freezes to override |
| deploymentFreezeOverrideReason | string | Reason for overriding deployment freeze |
| environmentNames * | array | Array of environment names. For tenanted deployments, must contain exactly one environment. |
| excludedMachineNames | array | Exclude specific machines from deployment |
| forcePackageDownload | boolean | Force package download |
| forcePackageRedeployment | boolean | Force redeployment of packages |
| noRunAfter | string | Don't run deployment after this time (ISO 8601 date string) |
| projectName * | string | The project name |
| releaseVersion * | string | The release version to deploy (e.g., '1.0.0') |
| runAt | string | Schedule deployment for later (ISO 8601 date string) |
| skipStepNames | array | Skip specific deployment steps |
| spaceName * | string | The space name |
| specificMachineNames | array | Deploy to specific machines only |
| tenantTags | array | Array of tenant tags for tenanted deployment (e.g., ['Region/US-West', 'Tier/Production']) |
| tenants | array | Array of tenant names for tenanted deployment (optional) |
| updateVariableSnapshot | boolean | Update the variable snapshot |
| useGuidedFailure | boolean | Use guided failure mode |
| variables | object | Prompted variable values as key-value pairs |
executeReach Octopus REST endpoints not covered by the curated tools. Use this only after grep_llms_txt has shown you the right method and path. **Method gating is hard-coded server-side, three tiers:** - GET → read tier: always allowed (subject to toolset allowlist + sensitive denylist). - POST/PUT/PATCH → write tier: blocked when --read-only is set; requires user confirmation via elicitation otherwise. - DELETE → delete tier: requires --allow-deletes (and is blocked when --read-only is set) AND a stronger user confirmation. The HTTP method enum is the gate. The tool will not honour any 'isRead' flag the agent invents — the runtime classifies based on the actual method. **Other gates** (in order): 0. Path shape: must be '/api' or start with '/api/'. Absolute URLs, '~/api/...', '/octopus/portal/...', query strings, fragments, '..' segments, and percent-encoded slashes are all rejected up front. 1. Sensitive denylist: API key endpoints and catastrophic deletes (DELETE /api/users/{id}, DELETE /api/spaces/{id}) are always blocked. 2. Path allowlist — only applied when --toolsets has narrowed the active set. With every toolset enabled (the default, or explicit --toolsets all) any path under /api is reachable subject to the other gates; when toolsets are narrowed, paths only resolve if their owning toolset is enabled so disabling a toolset (e.g. 'certificates') makes its endpoints unreachable even on GET. 3. Elicitation on every non-GET, with a stronger message for DELETE. Discover endpoints with grep_llms_txt. Use octopus://api/capabilities to see which toolsets are enabled and whether write/delete modes are on.find_accountsFind accounts in a space - can retrieve a single account by ID or list all accounts This unified tool can either: - Get detailed information about a specific account when accountId is provided - List all accounts in a space when accountId is omitted You can optionally filter by various parameters like name, account type, etc. when listing.| Parameter | Type | Description |
|---|---|---|
| accountId | string | The ID of a specific account to retrieve. If omitted, lists all accounts. |
| accountType | string | Filter by account type (only used when listing) |
| ids | array | Filter by specific account IDs (only used when listing) |
| partialName | string | Filter by partial name match (only used when listing) |
| skip | number | Number of accounts to skip for pagination (only used when listing) |
| spaceName * | string | |
| take | number | Number of accounts to take for pagination (only used when listing) |
find_certificatesFind certificates in a space - can retrieve a single certificate by ID or list all certificates This unified tool can either: - Get detailed information about a specific certificate when certificateId is provided - List all certificates in a space when certificateId is omitted You can optionally filter by various parameters like name, archived status, tenant, etc. when listing.| Parameter | Type | Description |
|---|---|---|
| archived | boolean | Filter by archived status (only used when listing) |
| certificateId | string | The ID of a specific certificate to retrieve. If omitted, lists all certificates. |
| firstResult | number | Index of first result to return (only used when listing) |
| ids | array | Filter by specific certificate IDs (only used when listing) |
| orderBy | string | Field to order results by (only used when listing) |
| partialName | string | Filter by partial name match (only used when listing) |
| search | string | Search term to filter certificates (only used when listing) |
| skip | number | Number of certificates to skip for pagination (only used when listing) |
| spaceName * | string | |
| take | number | Number of certificates to take for pagination (only used when listing) |
| tenant | string | Filter by tenant (only used when listing) |
find_deployment_targetsFind deployment targets (machines) in a space - can retrieve a single target by ID or list all targets This unified tool can either: - Get detailed information about a specific deployment target when targetId is provided - List all deployment targets in a space when targetId is omitted You can optionally filter by various parameters like name, roles, health status, etc. when listing.| Parameter | Type | Description |
|---|---|---|
| commStyles | array | Filter by communication styles (only used when listing) |
| deploymentId | string | Filter by deployment ID (only used when listing) |
| deploymentTargetTypes | array | Filter by deployment target types (only used when listing) |
| environmentIds | array | Filter by environment IDs (only used when listing) |
| healthStatuses | array | Possible values: Healthy, Unhealthy, Unavailable, Unknown, HasWarnings (only used when listing) |
| ids | array | Filter by specific target IDs (only used when listing) |
| isDisabled | boolean | Filter by disabled status (only used when listing) |
| name | string | Filter by exact name (only used when listing) |
| partialName | string | Filter by partial name match (only used when listing) |
| roles | array | A list of roles / target tags to filter by (only used when listing) |
| shellNames | array | Filter by shell names (only used when listing) |
| skip | number | Number of targets to skip for pagination (only used when listing) |
| spaceName * | string | |
| take | number | Number of targets to take for pagination (only used when listing) |
| targetId | string | The ID of a specific deployment target to retrieve. If omitted, lists all deployment targets. |
| tenantIds | array | Filter by tenant IDs (only used when listing) |
| tenantTags | array | Filter by tenant tags (only used when listing) |
| thumbprint | string | Filter by thumbprint (only used when listing) |
find_eventsSearch the Octopus Deploy audit log (also called the Events log) — every meaningful action recorded against a space: deployments, release creations, modifications, user logins, machine registrations, variable edits, tenant changes, and so on. **Modes** (the `mode` arg): - `search` (default) — query the audit log. Requires `spaceName`. Supports rich filtering by user, project, environment, tenant, document type, date range, category, group, and agent. - `listCategories` — enumerate every event category (e.g. `DeploymentSucceeded`). - `listGroups` — enumerate event groups (e.g. `Created`, `Modified`, `Deleted`, `Deployment`). Each group lists the categories inside it. - `listAgents` — enumerate user-agent strings recorded by the audit subsystem. - `listDocumentTypes` — enumerate entity-prefix metadata (`Projects-`, `Releases-`, ...). **Search modes** (within `mode='search'`, picked by argument shape): - `eventId` → fetch that single event. Mutually exclusive with list and pagination filters; `excludeDifference` is still honoured. - otherwise → list events matching the filters, paginated. **Performance tip:** the per-event `ChangeDetails` field (the before/after diff for Modified events) is by far the heaviest payload field. Pass `excludeDifference: true` whenever scanning many events; fetch a single event without the flag when you need the diff. **Filter semantics:** - `regarding` — AND semantics: event must reference EVERY listed document ID. - `regardingAny` — OR semantics: event must reference ANY listed document ID. - All other multi-value filters (users, projects, environments, tenants, eventCategories, eventGroups, ...) are OR semantics within the field. - `from` (inclusive) and `to` (exclusive) accept ISO 8601 datetimes. **Permissions:** requires `EventView` on the calling user's space scope. The server filters results further based on per-document permissions.find_feature_togglesList customer feature toggles in an Octopus Deploy project. Each summary includes per-environment state (isEnabled, rolloutPercentage, clientRolloutPercentage) so "where is X turned on" is answerable from the list response. Heavy fields (description, tenant lists, segments, minimum versions) live in the resource body. Dereference the returned resourceUri (octopus://spaces/{spaceName}/projects/{projectId}/featuretoggles/{slug}) for the full toggle body. Use update_feature_toggle to flip an environment on/off or change rollout percentages on an existing toggle. This MCP server does not expose toggle creation, deletion, renaming, or rollout-group management — direct customers to the Octopus UI for those.| Parameter | Type | Description |
|---|---|---|
| environmentIds | array | Filter by environment IDs (e.g. Environments-7). A toggle matches if it has configuration for any of these environments. |
| partialName | string | Case-insensitive substring match on the toggle name. |
| projectId * | string | Project ID (e.g. Projects-123). Feature toggles are scoped per project. |
| skip | number | Pagination offset (≥ 0). |
| spaceName * | string | Space name. |
| tags | array | Filter by canonical tag names (e.g. "release-rings/beta"). Repeats: a toggle matches if it has any of these tags. |
| take | number | Pagination page size (1–100, server-side cap). |
find_interruptionsFind interruptions (manual interventions, guided failures, deployment approvals) in an Octopus Deploy space. Interruptions are the Octopus surface equivalent to pending approvals: a deployment or runbook run pauses and waits for a human to take action. Use this tool to enumerate them or to look up a single one. Modes (picked by which arguments you supply): - interruptionId → fetch the slim summary for that interruption. - assignedToMe → list interruptions the authenticated user can act on; resolves /users/me (cached per session). - regarding → list interruptions related to a specific entity (ServerTasks-…, Deployments-…). Native server-side filter. - (none) → list all interruptions, optionally filtered by pendingOnly (default: true) and skip/take. Each summary includes: - resourceUri → octopus://spaces/{spaceName}/interruptions/{id} for the FULL body (form definition with Markdown instructions, button options, control types, and any already-submitted values). Dereference this when the user asks for details about a specific interruption. - taskResourceUri → octopus://spaces/{spaceName}/tasks/{taskId} for the surrounding deployment/runbook task. - publicUrl → Octopus portal deep link to take action. - formElementNames → just the field names (e.g. Instructions, Notes, Result). Field values are NOT in the slim summary; fetch resourceUri for those.find_releasesFind releases in an Octopus Deploy space. Three modes, picked by which arguments are supplied: - releaseId → fetch the summary for that release. - projectId → list releases for that project (optionally filtered by searchByVersion). - neither → list releases across the space. Each summary includes a resourceUri for fetching the full release body (release notes, packages, build information, custom fields).find_runbooksFind runbooks in an Octopus Deploy project. Two project kinds are supported: - DB-backed projects: address runbooks by 'runbookId' (e.g. 'Runbooks-123'). The summary includes 'publishedRunbookSnapshotId', which run_runbook uses by default. - Config-as-Code (CaC) projects: pass 'gitRef' (branch name like 'main', tag, or commit SHA). Address a single runbook by 'runbookSlug'. The summary includes 'gitRef' instead of 'publishedRunbookSnapshotId'; run_runbook needs the same gitRef. Modes: - runbookId → fetch a single DB runbook. - runbookSlug + gitRef → fetch a single CaC runbook. - gitRef alone → list CaC runbooks at that ref. - neither → list DB runbooks in the project (optionally filtered by partialName). Each summary includes multiTenancyMode and environmentScope so callers can determine which environments and tenants are valid targets before invoking run_runbook.find_tenantsFind tenants in a space - can retrieve a single tenant by ID or list all tenants This unified tool can either: - Get details for a specific tenant when tenantId is provided, including the projects and environments the tenant is associated with - List all tenants in a space when tenantId is omitted ${tenantsDescription} Optionally provide filtering and pagination parameters when listing.| Parameter | Type | Description |
|---|---|---|
| ids | array | Filter by specific tenant IDs (only used when listing) |
| partialName | string | Filter by partial tenant name match (only used when listing) |
| projectId | string | Filter by specific project ID (only used when listing) |
| skip | number | Number of tenants to skip for pagination (only used when listing) |
| spaceName * | string | The space name |
| tags | string | Filter by tenant tags (comma-separated list, only used when listing) |
| take | number | Number of tenants to take for pagination (only used when listing) |
| tenantId | string | The ID of a specific tenant to retrieve. If omitted, lists all tenants. |
get_branchesGet Git branches for a version-controlled project (minimum supported version: `2021.2`)| Parameter | Type | Description |
|---|---|---|
| projectId * | string | |
| searchByName | string | |
| skip | number | |
| spaceName * | string | |
| take | number |
get_current_userGet information about the current authenticated userget_deployment_from_urlGet deployment details from deployment URL (returns taskId for follow-up)| Parameter | Type | Description |
|---|---|---|
| url * | string | Full Octopus Deploy deployment URL (e.g., https://your-octopus.com/app#/Spaces-1/projects/my-app/deployments/releases/1.0.0/deployments/Deployments-123) |
get_deployment_processGet deployment process by ID for projects or releases| Parameter | Type | Description |
|---|---|---|
| branchName | string | Optional branch name to get the deployment process for a specific branch (if using version controlled projects). Try `main` or `master` if unsure. |
| includeDetails | boolean | Include detailed properties for steps and actions. Defaults to false. |
| processId | string | The ID of the deployment process to retrieve. If not provided, the deployment process for the project will be retrieved. |
| projectId | string | The ID of the project to retrieve the deployment process for. If processId is not provided, this parameter is required. |
| spaceName * | string |
get_kubernetes_live_statusGet Kubernetes live status for a project and environment This tool retrieves the live status of Kubernetes resources for a specific project and environment. Optionally include a tenant ID for multi-tenant deployments.| Parameter | Type | Description |
|---|---|---|
| environmentId * | string | The ID of the environment |
| projectId * | string | The ID of the project |
| spaceName * | string | The space name |
| summaryOnly | boolean | Return summary information only |
| tenantId | string | The ID of the tenant (for multi-tenant deployments) |
get_missing_tenant_variablesGet missing tenant variables This tool retrieves tenant variables that are missing values. Optionally filter by tenant, project, or environment.| Parameter | Type | Description |
|---|---|---|
| environmentId | string | Filter by specific environment ID |
| includeDetails | boolean | Include detailed information about missing variables |
| projectId | string | Filter by specific project ID |
| spaceName * | string | The space name |
| tenantId | string | Filter by specific tenant ID |
get_task_from_urlGet task details and logs from task URL| Parameter | Type | Description |
|---|---|---|
| url * | string | Full Octopus Deploy task URL containing a task ID (e.g., https://your-octopus.com/app#/Spaces-1/tasks/ServerTasks-456) |
get_tenant_variablesGet tenant variables by type This tool retrieves different types of tenant variables. Use variableType parameter to specify which type: - "all": Get all tenant variables - "common": Get common variables only - "project": Get project-specific variables only| Parameter | Type | Description |
|---|---|---|
| includeMissingVariables | boolean | Include missing variables in the response (for common/project types) |
| spaceName * | string | The space name |
| tenantId * | string | The ID of the tenant to retrieve variables for |
| variableType * | string | Type of variables to retrieve |
get_variablesGet all project variables and library variable set variables for a project (supports config-as-code projects via `gitRef`)| Parameter | Type | Description |
|---|---|---|
| gitRef | string | The gitRef to retrieve the variables from, if the project is a config-as-code project |
| projectId * | string | The ID of the project to retrieve the variables for |
| spaceName * | string | The space name |
grep_llms_txtSearch the Octopus API catalog at octopus://api/llms.txt with grep-style semantics. The catalog is large (~300+ KB) — call this rather than reading the resource body directly. llms.txt is structured as: - Authentication and Space Selection sections (top of file) - Endpoints section: one '### {Category}' heading per resource family (Accounts, ActionTemplates, Channels, Releases, …) and one bullet per endpoint of the form `- \`METHOD /path\` - description | Prefixes (pick one): /{spaceId}, /spaces/{spaceIdentifier} | ?queryParams → ReturnType` - Steps section: deployment step types (Octopus.* ActionType) and their configurable property keys. Useful patterns: - 'POST /releases' — find write endpoints under a resource family - 'DELETE ' — enumerate delete endpoints - '### Channels' — jump to a section heading - 'Body: Create.*Command' — find endpoints that take a Create command body Parameter conventions mirror GNU grep: - pattern (regex by default; set fixedString:true for literal text) - caseInsensitive (-i) - invertMatch (-v) - fixedString (-F) - beforeContext (-B) - afterContext (-A) - maxCount (-m) Response: totalMatches (true count across the whole file), totalLines, the matched lines with 1-indexed lineNumber, optional before/after context arrays, and catalogResourceUri for the structured fall-through.grep_task_logSearch a server task's activity log with grep-style semantics. Returns only matching lines (with optional symmetric context windows). This is the canonical way to inspect task logs — there is no full-log resource URI, because exposing one would tempt callers to inhale multi-megabyte bodies when grep is almost always the better primitive. Use this when you know what to look for (a specific error string, a step name, a pattern). For structured access to the activity tree (step hierarchy, categories, timing) use the octopus://spaces/{spaceName}/tasks/{taskId}/details resource instead. Parameter conventions mirror GNU grep so the schema is self-explanatory: - pattern (regex by default; set fixedString:true for literal text) - caseInsensitive (-i) - invertMatch (-v) - fixedString (-F) - beforeContext (-B) - afterContext (-A) - maxCount (-m) Response includes totalMatches (true count across the whole log), totalLines, the matched lines with 1-indexed lineNumber, optional before/after context arrays, and a taskDetailsResourceUri for the structured fall-through.list_deploymentsList deployments in a space This tool lists deployments in a given space. The space name is required. When requesting latest deployment consider which deployment state the user is interested in (successful or all). Optional filters include: projects (array of project IDs), environments (array of environment IDs), tenants (array of tenant IDs), channels (array of channel IDs), taskState (one of: Canceled, Cancelling, Executing, Failed, Queued, Success, TimedOut), and take (number of results to return).| Parameter | Type | Description |
|---|---|---|
| channels | array | |
| environments | array | |
| projects | array | |
| skip | number | |
| spaceName * | string | |
| take | number | |
| taskState | string | |
| tenants | array |
list_environmentsList all environments in a given space| Parameter | Type | Description |
|---|---|---|
| partialName | string | |
| skip | number | |
| spaceName * | string | |
| take | number |
list_projectsThis tool lists all projects in a given space. ${projectsDescription} The space name is required, if you can't find the space name, ask the user directly for the name of the space. Optionally filter by partial name match using partialName parameter.| Parameter | Type | Description |
|---|---|---|
| partialName | string | |
| skip | number | |
| spaceName * | string | |
| take | number |
list_spacesList all spaces in the Octopus Deploy instance| Parameter | Type | Description |
|---|---|---|
| partialName | string | |
| skip | number | |
| take | number |
read_resourceUniversal fetch for any 'octopus://' URI returned by any other tool. Use this whenever you see fields like 'resourceUri' or 'taskResourceUri' in a response and need the full body. How to use: - Pass the URI string verbatim. Examples: 'octopus://spaces/Default/releases/Releases-42', 'octopus://spaces/Default/tasks/ServerTasks-7', 'octopus://spaces/Default/tasks/ServerTasks-7/details'. - The response 'mimeType' tells you how to interpret 'text': 'application/json' → parse as JSON. This tool is the backstop for clients that do not natively implement the MCP 'resources/read' primitive. Clients that DO support resources/read (Claude Code, MCP Inspector) can call it directly and skip this tool. Either path returns byte-identical bodies. Tools that return resource URIs include: find_releases, get_deployment_from_url, get_task_from_url, and others. When in doubt, call read_resource on any 'octopus://' string you encounter. Note: there is intentionally no octopus://...tasks/{id}/log resource. Call the grep_task_log tool to search task logs without inhaling the full body.| Parameter | Type | Description |
|---|---|---|
| uri * | string | Any 'octopus://...' URI returned by another tool (e.g. in the resourceUri or taskResourceUri field). |
run_runbookRun a runbook against one or more environments (and optional tenants)update_feature_toggleAdjust per-environment state and rollout percentages on an existing feature toggleSecurity checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.6K words.
- ✓License declaredThe repository declares the MPL-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 79 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:4
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 1 callsrc/utils/logger.ts:105
- Lockfile
- package-lock.json
Pattern matches on the source text of 79 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 3.6K words, fetched a month ago. The original in the repository is authoritative.
Read full README