Container-native continuous integration platform.
## Drone CI MCP Server: Container-Native CI/CD The **Drone CI MCP Server** integrates the container-native CI/CD platform into Google Antigravity, enabling developers to manage pipelines, trigger builds, and monitor execution across self-hosted or cloud Drone installations. ### Why Drone CI MCP? - **Container-native** - Every step runs in isolated containers - **Pipeline as code** - YAML-based pipeline definitions - **Multi-platform** - Linux, Windows, macOS, and ARM support - **Secrets management** - Secure secret injection - **Plugin ecosystem** - Extensible with plugins ### Key Features #### 1. Build Management ```python # Trigger build build = await mcp.call("drone", "create_build", { "owner": "org", "repo": "project", "branch": "main" }) print(f"Build #{build[\"number\"]} started") # Get build status status = await mcp.call("drone", "get_build", { "owner": "org", "repo": "project", "build": build["number"] }) ``` #### 2. Repository Management ```python # Activate repository await mcp.call("drone", "activate_repo", { "owner": "org", "repo": "new-project" }) # Update repo settings await mcp.call("drone", "update_repo", { "owner": "org", "repo": "project", "config": ".drone.yml", "timeout": 60, "trusted": True }) ``` #### 3. Secrets Management ```python # Add secret await mcp.call("drone", "create_secret", { "owner": "org", "repo": "project", "name": "docker_password", "value": "secret-value", "pull_request": False }) # List secrets secrets = await mcp.call("drone", "list_secrets", { "owner": "org", "repo": "project" }) ``` #### 4. Build Logs ```python # Get build logs logs = await mcp.call("drone", "get_logs", { "owner": "org", "repo": "project", "build": 123, "stage": 1, "step": 2 }) for line in logs: print(line["out"]) ``` ### Configuration ```json { "mcpServers": { "drone": { "command": "npx", "args": ["-y", "@anthropic/mcp-drone"], "env": { "DRONE_SERVER": "https://drone.example.com", "DRONE_TOKEN": "your-token" } } } } ``` ### Use Cases **Container CI/CD**: Run builds in isolated containers. **Multi-Arch Builds**: Build for multiple architectures. **Self-Hosted CI**: Run CI on your own infrastructure. **Pipeline Automation**: Trigger builds programmatically. The Drone CI MCP Server enables container-native CI/CD.
{
"mcpServers": {
"drone": {}
}
}