What your agents can do

Real DeployHQ actions, managed and audited.

Your user connects DeployHQ once; your agent can then start, schedule, and roll back deployments, add servers, and set environment variables — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.

  1. 01Connect

    Your user grants DeployHQ access once (OAuth) — the token lands in the vault.

  2. 02Call

    Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.

  3. 03Audit

    Every routed call appends a hash-chained audit record — nothing leaves your infra.

Tools & triggers

Supported DeployHQ tools.

Browse 208 tools in the DeployHQ catalog. Each action uses your configured authentication and tool allowlist.

Showing 208 tools.

Abort a running deployment
DEPLOYHQ_ABORT_PROJECT_DEPLOYMENT
Immediately aborts a deployment that is currently in progress.
Deployments
AI Deployment Overview
DEPLOYHQ_AI_DEPLOYMENT_OVERVIEW_PROJECT
Generates an AI-powered summary of changes between two revisions based on commit messages. Requires a configured and cloned repository.
Projects
Get billing status
DEPLOYHQ_BILLING_STATUS_ACCOUNT_BILLING_STATUS
Returns billing and subscription status for the account.
Account
Branches
DEPLOYHQ_BRANCHES_PROJECT_REPOSITORY
Returns a map of branch names and their latest commit references for the project's repository.
Repositories
Commit Info
DEPLOYHQ_COMMIT_INFO_PROJECT_REPOSITORY
Returns detailed information about a specific commit including author, message, tags, and avatar URL. Queues a repository update if the commit is not found.
Repositories
Copy a global server to a project
DEPLOYHQ_COPY_TO_PROJECT_GLOBAL_SERVER
Copy a global server to a project
Global Servers
Claim a network agent
DEPLOYHQ_CREATE_AGENT
Claims an unclaimed network agent using its claim code and registers it to the current account.
Network Agents
Enroll in managed-resources beta
DEPLOYHQ_CREATE_BETUM_ENROLLMENT
Enroll the current account in the managed-resources beta.
Beta
Detect framework from a file manifest
DEPLOYHQ_CREATE_DETECTION
Detects the project's framework/stack from an uploaded filename listing plus the contents of key manifest files. Returns the canonical stack, a suggested protocol (static_hosting or managed_vps), the static-hosting preset (output directory and SPA mode), and suggested build commands — the same detection pipeline the web onboarding wizard uses. Files not uploaded degrade detection precision gracefully; they never error. When AI features are enabled for the account and the rule-based result is ambiguous, AI services are consulted and their results merged into the response.
Detection
Create a folder
DEPLOYHQ_CREATE_FOLDER
Creates a new folder in the account.
Folders
Create new global config file
DEPLOYHQ_CREATE_GLOBAL_CONFIG_FILE
Create new global config file
Global Config Files
Create a global environment variable
DEPLOYHQ_CREATE_GLOBAL_ENVIRONMENT_VARIABLE
Creates a new account-level environment variable. Locked variables cannot be read back after creation.
Global Environment Variables
Create a global server
DEPLOYHQ_CREATE_GLOBAL_SERVER
Create a global server
Global Servers
Create new global ssh command
DEPLOYHQ_CREATE_GLOBAL_SSH_COMMAND
Create new global ssh command
Global Ssh Commands
Create a project
DEPLOYHQ_CREATE_PROJECT
Creates a new project in the account. Optionally applies a template to pre-populate servers, config files, and other settings.
Projects
Update automatic deployment settings
DEPLOYHQ_CREATE_PROJECT_AUTO_DEPLOYMENT
Enables or disables automatic deployments for individual servers and server groups. Unrecognized identifiers are skipped and reported in the response.
Automatic Deployments
Create a build cache file
DEPLOYHQ_CREATE_PROJECT_BUILD_CACHE_FILE
Creates a new build cache file entry for the project. Build cache files persist between builds to speed up subsequent build runs.
Build Cache Files
Create a build command
DEPLOYHQ_CREATE_PROJECT_BUILD_COMMAND
Adds a new build command to the project's build pipeline. Commands execute in order during the build phase.
Build Commands
Create an empty build configuration override
DEPLOYHQ_CREATE_PROJECT_BUILD_CONFIGURATION
Creates a new, empty non-default build environment override. No attributes are read from the request body; the override is returned with no target servers and no language versions set. Assign target servers with the update endpoint, and set language versions with the Language Versions endpoint.
Build Configurations
Create a build known host
DEPLOYHQ_CREATE_PROJECT_BUILD_KNOWN_HOST
Adds an SSH known host entry so the build server can connect to the specified hostname without host key verification prompts.
Build Known Hosts
Create an SSH command
DEPLOYHQ_CREATE_PROJECT_COMMAND
Creates a new SSH command for the project. Commands can be configured to run before or after deployment on specified servers.
Ssh Commands
Create a config file
DEPLOYHQ_CREATE_PROJECT_CONFIG_FILE
Creates a new configuration file for the project. The file will be deployed to the specified path on target servers during each deployment.
Config Files
Queue, preview or schedule a deployment
DEPLOYHQ_CREATE_PROJECT_DEPLOYMENT
Creates a new deployment for the project. Set mode to 'queue' to execute immediately or 'preview' to generate a preview of changes without deploying. If a schedule block is provided, the deployment is scheduled for future or recurring execution. Use parent_identifier to target a specific server or server group. The deployment status field can be: pending, running, completed, failed, preview_pending, preview_ready, or preview_failed.
Deployments
Create a deployment check
DEPLOYHQ_CREATE_PROJECT_DEPLOYMENT_CHECK
Creates a new deployment check on the project. A check has a stage (pre_build or post_deploy) and a check_type (ssh, http, or vulnerability_scan). SSH checks run on selected servers; HTTP checks run from the deployment worker against the configured URL; vulnerability_scan checks run a scanner (Trivy, TruffleHog, or a custom CLI emitting SARIF) on the build server against the checked-out source, and are pre-build only.
Deployment Checks
Create an environment variable
DEPLOYHQ_CREATE_PROJECT_ENVIRONMENT_VARIABLE
Creates a new environment variable for the project. Variables can be locked to prevent value visibility and scoped to the build pipeline.
Environment Variables
Create an excluded file
DEPLOYHQ_CREATE_PROJECT_EXCLUDED_FILE
Adds a file path to the project's exclusion list so it is skipped during deployments.
Excluded Files
Create an integration
DEPLOYHQ_CREATE_PROJECT_INTEGRATION
Creates a new integration for the project. Only certain hook types are allowed via the API.
Integrations
Create or replace the repository
DEPLOYHQ_CREATE_PROJECT_REPOSITORY
Replaces the project's repository configuration. Any existing repository is destroyed and a new one is created with the provided settings.
Repositories
Create a scheduled deployment
DEPLOYHQ_CREATE_PROJECT_SCHEDULED_DEPLOYMENT
Creates a new scheduled deployment for the project.
Scheduled Deployments
Create a server
DEPLOYHQ_CREATE_PROJECT_SERVER
Creates a new server in the project. The protocol_type determines which additional connection parameters are required: SSH needs hostname and username, FTP needs hostname, username, and password, S3 needs bucket_name, access_key_id, and secret_access_key. For managed_vps, pass region, size, and os_image at the top level. For static_hosting, pass hosted_website_attributes at the top level.
Servers
Create a server group
DEPLOYHQ_CREATE_PROJECT_SERVER_GROUP
Creates a new server group for the project to organize servers and control deployment order.
Server Groups
Run test access
DEPLOYHQ_CREATE_PROJECT_SERVER_TEST_ACCESS
Triggers a test access run for the project. Tests repository connectivity and all server connections. If a server_id is provided (via nested route), only that server is tested.
Test Access
Create an SSH command
DEPLOYHQ_CREATE_PROJECT_SSH_COMMAND
Creates a new SSH command for the project. Commands can be configured to run before or after deployment on specified servers.
Ssh Commands
Run test access
DEPLOYHQ_CREATE_PROJECT_TEST_ACCESS
Triggers a test access run for the project. Tests repository connectivity and all server connections. If a server_id is provided (via nested route), only that server is tested.
Test Access
Create an API key
DEPLOYHQ_CREATE_SECURITY_API_KEY
Creates a new API key for the authenticated user. The full key value is only returned once in this response.
Security
Create a new DeployHQ account
DEPLOYHQ_CREATE_SIGNUP
Registers a new DeployHQ account. No authentication required. Returns API credentials and SSH public key for immediate use. Rate-limited per IP, per email address, and globally; see the RATE_LIMITS constant for thresholds.
Signup
Create an SSH key
DEPLOYHQ_CREATE_SSH_KEY
Create an SSH key
Ssh Keys
Create a team
DEPLOYHQ_CREATE_TEAM
Creates a new team.
Teams
Create a template
DEPLOYHQ_CREATE_TEMPLATE
Creates a new template, optionally copying configuration from an existing project.
Templates
Invite a user
DEPLOYHQ_CREATE_USER
Invites a new user to the account. Sends an invitation email.
Users
Delete a network agent
DEPLOYHQ_DELETE_AGENT
Permanently deletes a network agent from the account.
Network Agents
Delete a folder
DEPLOYHQ_DELETE_FOLDER
Deletes a folder. Projects assigned to it are not deleted; they become ungrouped.
Folders
Delete global config file
DEPLOYHQ_DELETE_GLOBAL_CONFIG_FILE
Delete global config file
Global Config Files
Delete a global environment variable
DEPLOYHQ_DELETE_GLOBAL_ENVIRONMENT_VARIABLE
Permanently removes a global environment variable from the account.
Global Environment Variables
Delete a global server
DEPLOYHQ_DELETE_GLOBAL_SERVER
Delete a global server
Global Servers
Delete global ssh command
DEPLOYHQ_DELETE_GLOBAL_SSH_COMMAND
Delete global ssh command
Global Ssh Commands
Delete a project
DEPLOYHQ_DELETE_PROJECT
Queues the project for deletion. Fails if any deployments are currently running.
Projects
Delete a build cache file
DEPLOYHQ_DELETE_PROJECT_BUILD_CACHE_FILE
Removes a build cache file entry from the project. The cached files will no longer persist between builds.
Build Cache Files
Delete a build command
DEPLOYHQ_DELETE_PROJECT_BUILD_COMMAND
Removes a build command from the project's build pipeline.
Build Commands
Delete a build configuration override
DEPLOYHQ_DELETE_PROJECT_BUILD_CONFIGURATION
Removes a non-default build environment configuration. The default configuration cannot be deleted.
Build Configurations
Delete a build known host
DEPLOYHQ_DELETE_PROJECT_BUILD_KNOWN_HOST
Removes an SSH known host entry from the project's build environment.
Build Known Hosts
Delete an SSH command
DEPLOYHQ_DELETE_PROJECT_COMMAND
Removes an SSH command from the project.
Ssh Commands
Delete a config file
DEPLOYHQ_DELETE_PROJECT_CONFIG_FILE
Removes a configuration file from the project. The file will no longer be deployed to servers.
Config Files
Delete a deployment check
DEPLOYHQ_DELETE_PROJECT_DEPLOYMENT_CHECK
Removes a deployment check from the project.
Deployment Checks
Delete an environment variable
DEPLOYHQ_DELETE_PROJECT_ENVIRONMENT_VARIABLE
Permanently removes an environment variable from the project.
Environment Variables
Delete an excluded file
DEPLOYHQ_DELETE_PROJECT_EXCLUDED_FILE
Removes a file path from the project's exclusion list.
Excluded Files
Delete an integration
DEPLOYHQ_DELETE_PROJECT_INTEGRATION
Permanently removes an integration from the project.
Integrations
Cancel a scheduled deployment
DEPLOYHQ_DELETE_PROJECT_SCHEDULED_DEPLOYMENT
Cancels and deletes a scheduled deployment that has not yet run.
Scheduled Deployments
Delete a server
DEPLOYHQ_DELETE_PROJECT_SERVER
Removes a server from the project. Fails if any deployments are currently running against this server.
Servers
Delete a server group
DEPLOYHQ_DELETE_PROJECT_SERVER_GROUP
Permanently removes a server group from the project.
Server Groups
Delete an SSH command
DEPLOYHQ_DELETE_PROJECT_SSH_COMMAND
Removes an SSH command from the project.
Ssh Commands
Revoke an API key
DEPLOYHQ_DELETE_SECURITY_API_KEY
Revokes an API key by its identifier.
Security
Delete an SSH key
DEPLOYHQ_DELETE_SSH_KEY
Delete an SSH key
Ssh Keys
Delete a team
DEPLOYHQ_DELETE_TEAM
Deletes a team.
Teams
Delete a template
DEPLOYHQ_DELETE_TEMPLATE
Permanently removes a template from the account.
Templates
Remove a user
DEPLOYHQ_DELETE_USER
Removes a user from the account. Cannot remove the account administrator.
Users
Download private key
DEPLOYHQ_DOWNLOAD_PRIVATE_KEY_SSH_KEY_DOWNLOAD_PRIVATE_KEY
Download private key
Ssh Keys
View account details
DEPLOYHQ_GET_ACCOUNT
Returns the current account's settings including plan, status, and project usage.
Account
Download an invoice PDF
DEPLOYHQ_GET_ACCOUNT_INVOICE
Downloads a single invoice as a PDF.
Invoices
View global config file
DEPLOYHQ_GET_GLOBAL_CONFIG_FILE
View global config file
Global Config Files
Get a global environment variable
DEPLOYHQ_GET_GLOBAL_ENVIRONMENT_VARIABLE
Returns the details of a single global environment variable.
Global Environment Variables
View a global server
DEPLOYHQ_GET_GLOBAL_SERVER
Returns the full details of a single global server. For managed_vps servers the response includes a `managed_vps` block (status, ip_address, region, size, ssh_key). The block is `null` when the underlying managed resource does not exist yet (e.g. provisioning failed before it was created). Poll this endpoint to track provisioning.
Global Servers
View global ssh command
DEPLOYHQ_GET_GLOBAL_SSH_COMMAND
View global ssh command
Global Ssh Commands
Show a hosted resource or hosted website
DEPLOYHQ_GET_HOSTED_RESOURCE
Returns a hosted resource (managed VPS) or hosted website (static hosting) based on the identifier. The `kind` field discriminates the response shape.
Hosted Resources
View your profile
DEPLOYHQ_GET_PROFILE
Returns the authenticated user's profile including account details and capability flags. The capability fields (beta_features, static_hosting_eligible, managed_vps_eligible) allow any authenticated account member to detect managed-resource eligibility without requiring admin access (GET /account is admin-only and cannot serve this purpose).
Profile
View a project
DEPLOYHQ_GET_PROJECT
Returns the full details of a single project including its repository info, zone, and starred status.
Projects
Get a build configuration
DEPLOYHQ_GET_PROJECT_BUILD_CONFIGURATION
Returns details of a specific build environment configuration, including known hosts, cache files, and available packages.
Build Configurations
Get a build configuration
DEPLOYHQ_GET_PROJECT_BUILD_CONFIGURATION_BY_ID
Returns details of a specific build environment configuration, including known hosts, cache files, and available packages.
Build Configurations
Get an SSH command
DEPLOYHQ_GET_PROJECT_COMMAND_BY_ID
Returns details of a specific SSH command, including its timing, target servers, and error handling settings.
Ssh Commands
Get a config file
DEPLOYHQ_GET_PROJECT_CONFIG_FILE_BY_ID
Returns details of a specific configuration file, including its content body and server assignments.
Config Files
View a deployment
DEPLOYHQ_GET_PROJECT_DEPLOYMENT_BY_ID
Returns the full details of a deployment including its steps and log entries. Archived and legacy deployments return simplified responses.
Deployments
Show a deployment check
DEPLOYHQ_GET_PROJECT_DEPLOYMENT_CHECK_BY_ID
Returns a single deployment check by its identifier.
Deployment Checks
Get an environment variable
DEPLOYHQ_GET_PROJECT_ENVIRONMENT_VARIABLE_BY_ID
Returns details of a specific environment variable. Locked variables will have their values masked.
Environment Variables
Get an excluded file
DEPLOYHQ_GET_PROJECT_EXCLUDED_FILE_BY_ID
Returns the details of a single excluded file by its identifier.
Excluded Files
Get an integration
DEPLOYHQ_GET_PROJECT_INTEGRATION_BY_ID
Returns the details of a single integration by its identifier.
Integrations
View the repository
DEPLOYHQ_GET_PROJECT_REPOSITORY
Returns the repository configuration for the specified project.
Repositories
Get a scheduled deployment
DEPLOYHQ_GET_PROJECT_SCHEDULED_DEPLOYMENT_BY_ID
Returns the details of a single scheduled deployment.
Scheduled Deployments
View a server
DEPLOYHQ_GET_PROJECT_SERVER_BY_ID
Returns the full details of a single server including its connection configuration. Returns server details including provisioning state for managed protocols. For static_hosting servers the response includes a `static_hosting` block (status, url). For managed_vps servers the response includes a `managed_vps` block (status, ip_address, region, size, ssh_key). Either block is `null` when the underlying managed resource does not exist yet (e.g. provisioning failed before it was created). Poll this endpoint to track provisioning.
Servers
Get a server group
DEPLOYHQ_GET_PROJECT_SERVER_GROUP_BY_ID
Returns the details of a single server group.
Server Groups
Get an SSH command
DEPLOYHQ_GET_PROJECT_SSH_COMMAND_BY_ID
Returns details of a specific SSH command, including its timing, target servers, and error handling settings.
Ssh Commands
Get test access results
DEPLOYHQ_GET_PROJECT_TEST_ACCESS
Returns the current status and results of a test access run.
Test Access
View a team
DEPLOYHQ_GET_TEAM
Returns details for a specific team.
Teams
View a user
DEPLOYHQ_GET_USER
Returns details for a specific user.
Users
Latest Revision
DEPLOYHQ_LATEST_REVISION_PROJECT_REPOSITORY
Returns the latest remote commit reference for the specified branch.
Repositories
List invoices
DEPLOYHQ_LIST_ACCOUNT_INVOICES
Returns all finalised invoices for the account, each with a per-invoice PDF download URL. `paid_at` is null when the invoice is unpaid.
Invoices
List network agents
DEPLOYHQ_LIST_AGENTS
Returns all network agents registered to the current account.
Network Agents
List all folders
DEPLOYHQ_LIST_FOLDERS
Returns all folders in the account, ordered alphabetically by name. Each folder includes a count of projects assigned to it.
Folders
List global config files
DEPLOYHQ_LIST_GLOBAL_CONFIG_FILES
List global config files
Global Config Files
List global environment variables
DEPLOYHQ_LIST_GLOBAL_ENVIRONMENT_VARIABLES
Returns all account-level environment variables available to every project.
Global Environment Variables
List global servers
DEPLOYHQ_LIST_GLOBAL_SERVERS
List global servers
Global Servers
List global ssh commands
DEPLOYHQ_LIST_GLOBAL_SSH_COMMANDS
List global ssh commands
Global Ssh Commands
List all hosted resources and hosted websites
DEPLOYHQ_LIST_HOSTED_RESOURCES
Returns both managed VPS resources (hosted_resource) and static hosting sites (hosted_website) for the authenticated account. The `kind` field discriminates; type-specific fields are populated accordingly.
Hosted Resources
List DeployHQ deployment IP ranges
DEPLOYHQ_LIST_IP_RANGES
Returns the IP ranges DeployHQ deploys from, for allowlisting on server firewalls. No authentication required.
Ip Ranges
List available language versions
DEPLOYHQ_LIST_LANGUAGE_VERSIONS
Returns all available language/runtime versions from the build server.
Language Versions
List available regions
DEPLOYHQ_LIST_MANAGED_HOSTING_REGIONS
Returns available managed VPS regions grouped geographically.
Managed Hosting
List available sizes
DEPLOYHQ_LIST_MANAGED_HOSTING_SIZES
List available sizes
Managed Hosting
List DeployHQ plans and prices
DEPLOYHQ_LIST_PACKAGES
Lists DeployHQ's current plans with prices, localised to the caller's region (GB, EU, or USD detected from the caller's IP). No authentication required.
Packages
List all projects
DEPLOYHQ_LIST_PROJECTS
Returns all projects accessible to the authenticated user, sorted alphabetically. Each project includes its starred status.
Projects
List automatic deployment configuration
DEPLOYHQ_LIST_PROJECT_AUTO_DEPLOYMENTS
Returns the webhook URL and auto-deploy settings for each server and server group in the project.
Automatic Deployments
List build cache files
DEPLOYHQ_LIST_PROJECT_BUILD_CACHE_FILES
Returns all build cache files configured for the project.
Build Cache Files
List build commands
DEPLOYHQ_LIST_PROJECT_BUILD_COMMANDS
Returns all build commands configured for this project, ordered ascending. Build commands run during the build pipeline before deployment.
Build Commands
List build configurations
DEPLOYHQ_LIST_PROJECT_BUILD_CONFIGURATIONS
Returns all build environment configurations for the project, including the default and any overrides.
Build Configurations
List build known hosts
DEPLOYHQ_LIST_PROJECT_BUILD_KNOWN_HOSTS
Returns all SSH known host entries configured for the project's build environment.
Build Known Hosts
List SSH commands
DEPLOYHQ_LIST_PROJECT_COMMANDS
Returns all SSH commands configured for the project, ordered ascending. SSH commands run on target servers before or after deployment.
Ssh Commands
List config files
DEPLOYHQ_LIST_PROJECT_CONFIG_FILES
Returns all configuration files for the project, ordered ascending. Config files are deployed to servers with their content during each deployment.
Config Files
List deployments for a project
DEPLOYHQ_LIST_PROJECT_DEPLOYMENTS
Returns a paginated list of deployments for the project, excluding previews. Can be filtered by target server/group or limited to currently running deployments.
Deployments
List deployment checks
DEPLOYHQ_LIST_PROJECT_DEPLOYMENT_CHECKS
Returns every deployment check configured for this project, ordered by position within each stage.
Deployment Checks
List log entries for a deployment step
DEPLOYHQ_LIST_PROJECT_DEPLOYMENT_STEP_LOGS
Returns log entries for a specific deployment step, with optional pagination and download support.
Deployments
List environment variables
DEPLOYHQ_LIST_PROJECT_ENVIRONMENT_VARIABLES
Returns all environment variables for the project, ordered by name. Variables can be scoped to the build pipeline or specific servers.
Environment Variables
List excluded files
DEPLOYHQ_LIST_PROJECT_EXCLUDED_FILES
Returns all files excluded from deployment for this project.
Excluded Files
Get project deployment insights
DEPLOYHQ_LIST_PROJECT_INSIGHTS
Returns aggregated deployment statistics and per-server metrics for the specified time period.
Projects
List integrations
DEPLOYHQ_LIST_PROJECT_INTEGRATIONS
Returns all permanent integrations configured for this project.
Integrations
Get project language versions
DEPLOYHQ_LIST_PROJECT_LANGUAGE_VERSIONS
Returns the language versions configured for this project's default build environment.
Language Versions
List scheduled deployments
DEPLOYHQ_LIST_PROJECT_SCHEDULED_DEPLOYMENTS
Returns all forthcoming scheduled deployments for the project, ordered ascending by scheduled time.
Scheduled Deployments
List all servers
DEPLOYHQ_LIST_PROJECT_SERVERS
Returns all servers belonging to the specified project, including their agent associations.
Servers
List server groups
DEPLOYHQ_LIST_PROJECT_SERVER_GROUPS
Returns all server groups for the project, ordered ascending.
Server Groups
List SSH commands
DEPLOYHQ_LIST_PROJECT_SSH_COMMANDS
Returns all SSH commands configured for the project, ordered ascending. SSH commands run on target servers before or after deployment.
Ssh Commands
List all SSH keys
DEPLOYHQ_LIST_SSH_KEYS
List all SSH keys
Ssh Keys
List teams
DEPLOYHQ_LIST_TEAMS
Returns all teams in the account.
Teams
List templates
DEPLOYHQ_LIST_TEMPLATES
Returns all private templates belonging to the current account.
Templates
List users
DEPLOYHQ_LIST_USERS
Returns all users in the account.
Users
List available deployment zones
DEPLOYHQ_LIST_ZONES
Returns all available deployment zones. Maintenance zones are only visible to admin users.
Zones
List public templates
DEPLOYHQ_PUBLIC_TEMPLATES_TEMPLATE
Returns publicly available templates, optionally filtered by framework type.
Templates
Recent Commits
DEPLOYHQ_RECENT_COMMITS_PROJECT_REPOSITORY
Returns recent commits and tags for the specified branch. Set update to '1' to fetch the latest data from the remote before returning results. Renders the data for the commit selector popup
Repositories
Regenerate project SSH key
DEPLOYHQ_REGENERATE_KEY_PROJECT_REGENERATE_KEY
Regenerates the project SSH key and returns the new public key. key_type is optional and defaults to the existing project's algorithm; must be one of ED25519 or RSA when provided.
Projects
Update account settings
DEPLOYHQ_REPLACE_ACCOUNT
Updates account settings. Only account administrators can perform this action.
Account
Update a network agent
DEPLOYHQ_REPLACE_AGENT
Updates the name of an existing network agent.
Network Agents
Update a folder
DEPLOYHQ_REPLACE_FOLDER
Renames a folder.
Folders
Update global config file
DEPLOYHQ_REPLACE_GLOBAL_CONFIG_FILE
Update global config file
Global Config Files
Update a global environment variable
DEPLOYHQ_REPLACE_GLOBAL_ENVIRONMENT_VARIABLE
Updates an existing global environment variable's name, value, or locked status.
Global Environment Variables
Update a global server
DEPLOYHQ_REPLACE_GLOBAL_SERVER
Update a global server
Global Servers
Update global ssh command
DEPLOYHQ_REPLACE_GLOBAL_SSH_COMMAND
Update global ssh command
Global Ssh Commands
Update your profile
DEPLOYHQ_REPLACE_PROFILE
Updates the authenticated user's profile settings.
Profile
Update a project
DEPLOYHQ_REPLACE_PROJECT
Updates the project's settings such as name, notification preferences, zone, and permalink.
Projects
Update a build cache file
DEPLOYHQ_REPLACE_PROJECT_BUILD_CACHE_FILE
Updates the path of an existing build cache file entry.
Build Cache Files
Update a build command
DEPLOYHQ_REPLACE_PROJECT_BUILD_COMMAND
Updates an existing build command's properties such as the command string, description, or error handling behavior.
Build Commands
Update a build configuration override's target servers
DEPLOYHQ_REPLACE_PROJECT_BUILD_CONFIGURATION
Updates which servers a build configuration override targets. Only the target server assignment can be changed here; language versions are set with the Language Versions endpoint. Send server_identifiers listing the servers the override applies to. An override with no target servers does not apply to any server.
Build Configurations
Update language version
DEPLOYHQ_REPLACE_PROJECT_BUILD_CONFIGURATION_BUILD_LANGUAGE
Sets the version of a specific language or runtime package for the project's build environment. Optionally targets a specific build configuration override.
Language Versions
Update language version
DEPLOYHQ_REPLACE_PROJECT_BUILD_LANGUAGE
Sets the version of a specific language or runtime package for the project's build environment. Optionally targets a specific build configuration override.
Language Versions
Update an SSH command
DEPLOYHQ_REPLACE_PROJECT_COMMAND
Updates an existing SSH command's properties. Server assignments are only modified when server parameters are explicitly provided.
Ssh Commands
Update a config file
DEPLOYHQ_REPLACE_PROJECT_CONFIG_FILE
Updates an existing configuration file's path, content, server assignments, or other properties.
Config Files
Update a deployment check
DEPLOYHQ_REPLACE_PROJECT_DEPLOYMENT_CHECK
Updates an existing deployment check. Same payload shape as create — any field can be sent on its own (PATCH semantics: missing keys leave existing values untouched).
Deployment Checks
Update an environment variable
DEPLOYHQ_REPLACE_PROJECT_ENVIRONMENT_VARIABLE
Updates an existing environment variable's name, value, or settings. Server assignments are only modified when server parameters are explicitly provided.
Environment Variables
Update an excluded file
DEPLOYHQ_REPLACE_PROJECT_EXCLUDED_FILE
Updates the path of an existing excluded file entry.
Excluded Files
Update an integration
DEPLOYHQ_REPLACE_PROJECT_INTEGRATION
Updates an existing integration's settings. The hook_type cannot be changed via the API.
Integrations
Update the repository
DEPLOYHQ_REPLACE_PROJECT_REPOSITORY
Updates the repository's branch, root path, or hosting service type without replacing the entire repository configuration.
Repositories
Update a scheduled deployment
DEPLOYHQ_REPLACE_PROJECT_SCHEDULED_DEPLOYMENT
Updates an existing scheduled deployment.
Scheduled Deployments
Update a server
DEPLOYHQ_REPLACE_PROJECT_SERVER
Updates an existing server's configuration. If the server uses external authentication and is not yet authenticated, a redirect to the OAuth URL is returned.
Servers
Update a server group
DEPLOYHQ_REPLACE_PROJECT_SERVER_GROUP
Updates an existing server group's settings such as name, branch, or transfer order.
Server Groups
Update an SSH command
DEPLOYHQ_REPLACE_PROJECT_SSH_COMMAND
Updates an existing SSH command's properties. Server assignments are only modified when server parameters are explicitly provided.
Ssh Commands
Update a team
DEPLOYHQ_REPLACE_TEAM
Updates an existing team.
Teams
Update a template
DEPLOYHQ_REPLACE_TEMPLATE
Updates an existing template's name or description.
Templates
Update a user
DEPLOYHQ_REPLACE_USER
Updates an existing user's details and permissions. Only account administrators can change permission flags.
Users
Resend invitation
DEPLOYHQ_RESEND_INVITATION_USER_RESEND_INVITATION
Resends the invitation email for a user who has not yet activated their account.
Users
Reset Host Key
DEPLOYHQ_RESET_HOST_KEY_PROJECT_SERVER
Clears the stored SSH host key for the server, allowing it to accept a new key on the next connection.
Servers
Reset password
DEPLOYHQ_RESET_PASSWORD_SUBMIT_RESET
Initiates a password reset for the given email address. No authentication required.
Account
Retry a deployment
DEPLOYHQ_RETRY_PROJECT_DEPLOYMENT_RETRY
Retries a failed deployment by resetting it and re-queuing. Only deployments that have completed (successfully or with failure) can be retried.
Deployments
Retry provisioning a hosted resource
DEPLOYHQ_RETRY_PROVISION_HOSTED_RESOURCE_RETRY_PROVISION
Retries provisioning for a hosted resource that is in an error state. Resets the status to provisioning and enqueues a new provision job.
Hosted Resources
Revoke a network agent
DEPLOYHQ_REVOKE_AGENT
Revokes the agent's claim, releasing it from the account so it can be reclaimed.
Network Agents
Rollback a deployment
DEPLOYHQ_ROLLBACK_PROJECT_DEPLOYMENT
Creates a new deployment that reverts the project to the state of the specified deployment. Archived deployments cannot be rolled back.
Deployments
Get server metrics
DEPLOYHQ_SERVER_METRICS_PROJECT_SERVER_SERVER_METRIC
Returns real-time server metrics (CPU, memory, disk, uptime) collected over SSH. Requires beta features and an SSH-capable server.
Servers
Get a public template
DEPLOYHQ_SHOW_PUBLIC_TEMPLATE_TEMPLATE_PUBLIC
Returns the full details of a single public template by its permalink.
Templates
Toggle star/unstar on a project
DEPLOYHQ_STAR_PROJECT
Toggles the starred status of a project for the current user. Starred projects appear prioritized in listings.
Projects
Get deployment status badge
DEPLOYHQ_STATUS_BADGE_STATUS_BADGE
Returns an SVG badge showing the last deployment status for the project or a specific server/group. No authentication required.
Projects
Get deployment status badge
DEPLOYHQ_STATUS_BADGE_STATUS_BADGE_BY_IDENTIFIER
Returns an SVG badge showing the last deployment status for the project or a specific server/group. No authentication required.
Projects
Sync a hosted resource
DEPLOYHQ_SYNC_HOSTED_RESOURCE_SYNC
Sync a hosted resource
Hosted Resources
List undeployed commits for a project
DEPLOYHQ_UNDEPLOYED_CHANGES_PROJECT_UNDEPLOYED_CHANGE
Returns the undeployed commits between the last completed deployment in the default branch and the current HEAD. Commit list is capped at 100; when capped, `truncated` is true.
Projects
Update account settings
DEPLOYHQ_UPDATE_ACCOUNT
Updates account settings. Only account administrators can perform this action.
Account
Update a network agent
DEPLOYHQ_UPDATE_AGENT
Updates the name of an existing network agent.
Network Agents
Update a folder
DEPLOYHQ_UPDATE_FOLDER
Renames a folder.
Folders
Update global config file
DEPLOYHQ_UPDATE_GLOBAL_CONFIG_FILE
Update global config file
Global Config Files
Update a global environment variable
DEPLOYHQ_UPDATE_GLOBAL_ENVIRONMENT_VARIABLE
Updates an existing global environment variable's name, value, or locked status.
Global Environment Variables
Update a global server
DEPLOYHQ_UPDATE_GLOBAL_SERVER
Update a global server
Global Servers
Update global ssh command
DEPLOYHQ_UPDATE_GLOBAL_SSH_COMMAND
Update global ssh command
Global Ssh Commands
Update your profile
DEPLOYHQ_UPDATE_PROFILE
Updates the authenticated user's profile settings.
Profile
Update a project
DEPLOYHQ_UPDATE_PROJECT
Updates the project's settings such as name, notification preferences, zone, and permalink.
Projects
Update a build cache file
DEPLOYHQ_UPDATE_PROJECT_BUILD_CACHE_FILE
Updates the path of an existing build cache file entry.
Build Cache Files
Update a build command
DEPLOYHQ_UPDATE_PROJECT_BUILD_COMMAND
Updates an existing build command's properties such as the command string, description, or error handling behavior.
Build Commands
Update a build configuration override's target servers
DEPLOYHQ_UPDATE_PROJECT_BUILD_CONFIGURATION
Updates which servers a build configuration override targets. Only the target server assignment can be changed here; language versions are set with the Language Versions endpoint. Send server_identifiers listing the servers the override applies to. An override with no target servers does not apply to any server.
Build Configurations
Update language version
DEPLOYHQ_UPDATE_PROJECT_BUILD_CONFIGURATION_BUILD_LANGUAGE
Sets the version of a specific language or runtime package for the project's build environment. Optionally targets a specific build configuration override.
Language Versions
Update language version
DEPLOYHQ_UPDATE_PROJECT_BUILD_LANGUAGE
Sets the version of a specific language or runtime package for the project's build environment. Optionally targets a specific build configuration override.
Language Versions
Update an SSH command
DEPLOYHQ_UPDATE_PROJECT_COMMAND
Updates an existing SSH command's properties. Server assignments are only modified when server parameters are explicitly provided.
Ssh Commands
Update a config file
DEPLOYHQ_UPDATE_PROJECT_CONFIG_FILE
Updates an existing configuration file's path, content, server assignments, or other properties.
Config Files
Update a deployment check
DEPLOYHQ_UPDATE_PROJECT_DEPLOYMENT_CHECK
Updates an existing deployment check. Same payload shape as create — any field can be sent on its own (PATCH semantics: missing keys leave existing values untouched).
Deployment Checks
Update an environment variable
DEPLOYHQ_UPDATE_PROJECT_ENVIRONMENT_VARIABLE
Updates an existing environment variable's name, value, or settings. Server assignments are only modified when server parameters are explicitly provided.
Environment Variables
Update an excluded file
DEPLOYHQ_UPDATE_PROJECT_EXCLUDED_FILE
Updates the path of an existing excluded file entry.
Excluded Files
Update an integration
DEPLOYHQ_UPDATE_PROJECT_INTEGRATION
Updates an existing integration's settings. The hook_type cannot be changed via the API.
Integrations
Update the repository
DEPLOYHQ_UPDATE_PROJECT_REPOSITORY
Updates the repository's branch, root path, or hosting service type without replacing the entire repository configuration.
Repositories
Update a scheduled deployment
DEPLOYHQ_UPDATE_PROJECT_SCHEDULED_DEPLOYMENT
Updates an existing scheduled deployment.
Scheduled Deployments
Update a server
DEPLOYHQ_UPDATE_PROJECT_SERVER
Updates an existing server's configuration. If the server uses external authentication and is not yet authenticated, a redirect to the OAuth URL is returned.
Servers
Update a server group
DEPLOYHQ_UPDATE_PROJECT_SERVER_GROUP
Updates an existing server group's settings such as name, branch, or transfer order.
Server Groups
Update an SSH command
DEPLOYHQ_UPDATE_PROJECT_SSH_COMMAND
Updates an existing SSH command's properties. Server assignments are only modified when server parameters are explicitly provided.
Ssh Commands
Update a team
DEPLOYHQ_UPDATE_TEAM
Updates an existing team.
Teams
Update a template
DEPLOYHQ_UPDATE_TEMPLATE
Updates an existing template's name or description.
Templates
Update a user
DEPLOYHQ_UPDATE_USER
Updates an existing user's details and permissions. Only account administrators can change permission flags.
Users
Upload custom key
DEPLOYHQ_UPLOAD_KEY_PROJECT
Uploads a custom SSH private key for the project and returns the corresponding public key.
Projects
FAQ

DeployHQ integration, answered

How do AI agents use DeployHQ through Open Connector?
Your user connects DeployHQ once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes DeployHQ tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
Is this a DeployHQ MCP server?
Yes. Open Connector can serve DeployHQ as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call DeployHQ actions with credentials injected server-side.
Where do DeployHQ credentials live?
In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.

Give your agents DeployHQ — keep the keys.

Open source, self-hostable, with DeployHQ credentials that never leave your infrastructure. Run it from source today.