Open-source CI/CD engine forked from Drone.
## Woodpecker CI MCP Server: Simple Container-Native CI The **Woodpecker CI MCP Server** integrates the lightweight, community-driven CI system into Google Antigravity, enabling developers to manage container-based pipelines with a simple, Drone-compatible configuration. ### Why Woodpecker CI MCP? - **Lightweight** - Simple, fast CI/CD system - **Drone compatible** - Works with existing Drone configs - **Container-native** - All steps run in containers - **Self-hosted** - Full control over your CI - **Multi-platform** - Linux, Windows, ARM support ### Key Features #### 1. Pipeline Triggering ```python # Trigger build build = await mcp.call("woodpecker", "create_build", { "owner": "org", "repo": "project", "branch": "main" }) print(f"Build #{build[\"number\"]} started") # Get build status status = await mcp.call("woodpecker", "get_build", { "owner": "org", "repo": "project", "build": build["number"] }) ``` #### 2. Repository Setup ```python # Activate repository await mcp.call("woodpecker", "activate_repo", { "owner": "org", "repo": "new-project" }) # Configure repository await mcp.call("woodpecker", "update_repo", { "owner": "org", "repo": "project", "config": ".woodpecker.yml", "visibility": "internal" }) ``` #### 3. Secrets ```python # Add secret await mcp.call("woodpecker", "create_secret", { "owner": "org", "repo": "project", "name": "docker_token", "value": "secret-value", "events": ["push", "tag"] }) # List secrets secrets = await mcp.call("woodpecker", "list_secrets", { "owner": "org", "repo": "project" }) ``` #### 4. Build Logs ```python # Get build logs logs = await mcp.call("woodpecker", "get_logs", { "owner": "org", "repo": "project", "build": 123, "proc": 1 }) for line in logs: print(line["out"]) ``` ### Configuration ```json { "mcpServers": { "woodpecker": { "command": "npx", "args": ["-y", "@anthropic/mcp-woodpecker"], "env": { "WOODPECKER_SERVER": "https://ci.example.com", "WOODPECKER_TOKEN": "your-token" } } } } ``` ### Use Cases **Self-Hosted CI**: Run CI on your own infrastructure. **Container Builds**: Simple container-based pipelines. **Drone Migration**: Easy migration from Drone CI. **Multi-Platform**: Build for different architectures. The Woodpecker CI MCP Server enables lightweight CI/CD.
{
"mcpServers": {
"woodpecker": {}
}
}