DeployHQ Integration for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with DeployHQ MCP or direct API to trigger deployments, list project statuses, manage servers, and monitor deployment logs through natural language.
DeployHQ Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Try DeployHQ now

Enter a prompt below to test the integration in our Tool Router playground. You'll be redirected to sign in and try it live.

Supported Tools

Tools
Delete CommandTool to delete a command from a specified project.
Delete ProjectTool to delete a project from DeployHQ.
Delete Build Cache FileTool to delete an existing build cache file from a project.
Delete Excluded File RuleTool to delete an existing excluded file rule from a project.
Delete Server GroupTool to delete a server group from a project using the DeployHQ API.
Delete TemplateTool to delete a template by its unique permalink.
Get ProjectsTool to retrieve all projects from DeployHQ account.
Get ProjectTool to view an existing project in DeployHQ.
Get Project Build Known HostsTool to list all known hosts within a project using DeployHQ API.
Get Project CommandsTool to retrieve all SSH commands configured for a project.
Get Project Config FilesTool to retrieve a list of all config files in a DeployHQ project.
Get Project DeploymentsTool to retrieve a paginated list of all deployments in a project.
Get Project Excluded FilesTool to list all excluded files within a project template.
Get Config FileTool to view a specific config file in a DeployHQ project.
Get Excluded FileTool to view a specific excluded file in a DeployHQ project.
Get Server GroupTool to view a specific server group in a DeployHQ project.
Get Project RepositoryTool to view repository details for a specific project in DeployHQ.
Get Repository BranchesTool to view all available branches in the connected repository for a project.
Get Repository Commit InfoTool to view detailed information about a specific revision in a project's connected repository.
Get Latest Repository RevisionTool to view the latest remote revision of your repository.
Get Recent Commits and TagsTool to view up to 15 most recent revisions and up to 15 most recent tags in a specific branch.
Get Project Scheduled DeploymentsTool to retrieve all upcoming scheduled deployments for a project.
Get Project Server GroupsTool to retrieve all server groups configured for a project.
Get Project ServersTool to retrieve all servers configured for a project.
Get TemplatesTool to retrieve all templates from DeployHQ account.
Get Public TemplateTool to retrieve a specific public template from DeployHQ.
Get Public TemplatesTool to retrieve publicly available deployment templates from DeployHQ.
Update ProjectTool to update project settings in DeployHQ.
Update Build Cache FileTool to update an existing build cache file in a project.
Update Build CommandTool to update an existing build command in a project.
Update Language VersionTool to update the version of a language in a project's build environment.
Update Project CommandTool to update an existing SSH command in a project.
Update Config FileTool to update an existing config file in a DeployHQ project.
Update Excluded FileTool to update an existing excluded file rule in a project.
Update Project RepositoryTool to update repository configuration for a project in DeployHQ.
Update Server GroupTool to update an existing server group in a DeployHQ project.
Update TemplateTool to update an existing template in DeployHQ.
Create ProjectTool to create a new project in DeployHQ.
Generate AI Deployment OverviewTool to generate an AI-powered deployment overview for a revision range.
Create Build Cache FileTool to create a new build cached file within a project.
Create Build CommandTool to create a new build command for a project in DeployHQ.
Create Project Build Known HostTool to create a new known host in a project using DeployHQ API.
Create SSH CommandTool to create a new SSH command for a project in DeployHQ.
Create Config FileTool to create a new config file in a DeployHQ project.
Create Config File DeploymentTool to create a new config file deployment for a project.
Create Excluded FileTool to add a new excluded file to a project.
Abort DeploymentTool to abort a currently running deployment.
Add Project RepositoryTool to add repository details to a project in DeployHQ.
Create Server GroupTool to create a new server group for automated deployments in a DeployHQ project.
Create ServerTool to create a new server configuration in a DeployHQ project.
Create TemplateTool to create a new template in DeployHQ.
Update Project SettingsTool to update settings of an existing DeployHQ project.
Edit Build Cache FileTool to edit an existing build cache file within a project.
Edit Build CommandTool to edit an existing build command within a template in DeployHQ.
Edit SSH CommandTool to edit an existing SSH command in a DeployHQ project.
Edit Config FileTool to edit an existing config file within a project.
Edit Excluded FileTool to edit an existing excluded file rule within a project.
Update Excluded FileTool to update an existing excluded file rule in a project.
Update Project RepositoryTool to update repository details for an existing project in DeployHQ.
Update Server GroupTool to update a server group in a DeployHQ project using the API.
Edit TemplateTool to edit an existing template in DeployHQ.
Python
TypeScript

Install Composio

python
pip install composio claude-agent-sdk
Install the Composio SDK for Python or TypeScript

Initialize Client and Create Tool Router Session

python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
Import and initialize the Composio client, then create a Tool Router session for DeployHQ

Connect to AI Agent

python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to DeployHQ tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Trigger a deployment for the latest commit in Project X.')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
Use the MCP server with your AI agent (Anthropic Claude or Mastra)

Why Use Composio?

AI Native DeployHQ Integration

  • Supports both DeployHQ MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your DeployHQ data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke DeployHQ access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access DeployHQ
  • Scoped, least privilege access to DeployHQ resources
  • Full audit trail of agent actions to support review and compliance

Frequently Asked Questions

Do I need my own developer credentials to use DeployHQ with Composio?

Yes, DeployHQ requires you to configure your own Basic Auth credentials. Once set up, Composio handles secure credential storage and authentication for you.

Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.