Skip to content

About

Official Deployxa plugin for Claude Code - autonomous project deployments, log monitoring, and AI failure diagnostics.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Deployxa Plugin for Claude Code (deployxa_claude_code)

An official agentic plugin enabling Claude Code to autonomously trigger deployments, stream build logs, run Engine-level diagnostics on failures, and manage project infrastructure on the Deployxa platform.


Architecture & MCP Integration

This plugin uses the Deployxa Model Context Protocol (MCP) server:

  • Protocol Layer: Exposes Deployxa tools (deployxa_create_deployment, deployxa_get_deployment_logs, deployxa_diagnose_deployment, etc.) via stdio or streamable HTTP.
  • Context Layer: Exposes real-time resources (deployxa://projects/{projectId}, deployxa://deployments/{deploymentId}).
  • Agent Intelligence: Bundles domain skills (SKILL.md) and slash commands (/deploy, /diagnose, /logs, /rollback) that guide Claude Code to execute workflows without manual confirmation hurdles.

Directory Structure

├── .claude-plugin/
│   ├── plugin.json           # Manifest metadata & hooks
│   └── marketplace.json      # Distribution & marketplace catalog entry
├── .mcp.json                 # MCP server definitions
├── package.json              # Plugin package metadata
├── README.md                 # Setup & usage guide
├── commands/                 # Slash command workflows
│   ├── deploy.md             # /deploy [project-id] [branch]
│   ├── diagnose.md           # /diagnose [deployment-id]
│   ├── logs.md               # /logs [deployment-id]
│   └── rollback.md           # /rollback [deployment-id]
└── skills/                   # Domain skills for Claude
    ├── deployxa-deployment/
    │   └── SKILL.md          # Autonomous build & deployment orchestration
    ├── deployxa-diagnose/
    │   └── SKILL.md          # Failure diagnostics & rollbacks
    └── deployxa-environment/
        └── SKILL.md          # Environment & domain management

Installation & Setup

1. Set Environment Variables

export DEPLOYXA_TOKEN="dxa_your_api_token"
# Optional: only needed if overriding your default organization
# export DEPLOYXA_ORGANIZATION_ID="org_your_org_id"

2. Install Plugin in Claude Code

Add the plugin directly from GitHub to Claude Code:

claude plugin add github.com/deployxa/claude-code-plugin

Or connect the MCP server directly in your project root (.mcp.json):

{
  "mcpServers": {
    "deployxa": {
      "url": "https://mcp.deployxa.com/mcp"
    }
  }
}

Or via CLI:

# Connect using Streamable HTTP:
claude mcp add deployxa https://mcp.deployxa.com/mcp

Available Slash Commands

Command Description Example
/deploy [project-id] [branch] Trigger a new deployment and track build progress /deploy p1 main
/diagnose [deployment-id] Diagnose a failed deployment using Engine evidence /diagnose d_123
/logs [deployment-id] Display bounded logs for a deployment /logs d_123
/rollback [deployment-id] Roll back to a previous healthy deployment /rollback d_123

Example Agent Prompts

  • "Deploy my repository to Deployxa on branch main and show me the logs"
  • "Why did deployment d_987 fail?"
  • "Roll back to deployment d_654"
  • "Add custom domain app.example.com to project p1 and show the DNS records"

About

Official Deployxa plugin for Claude Code - autonomous project deployments, log monitoring, and AI failure diagnostics.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors