woodpecker-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@woodpecker-mcpwhy did pipeline #42 fail in owner/repo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Woodpecker CI MCP Server
A Model Context Protocol (MCP) server that connects AI assistants to Woodpecker CI. Debug pipeline failures, analyze build logs, and troubleshoot CI/CD configurations with AI assistance.
MCP Client Setup
Add to your MCP client configuration:
Standalone Binary
{
"woodpecker-ci": {
"command": "woodpecker-mcp",
"env": {
"WOODPECKER_TOKEN": "your-token-here",
"WOODPECKER_URL": "https://your-woodpecker-instance.com"
}
}
}Docker
{
"woodpecker-ci": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "WOODPECKER_TOKEN",
"-e", "WOODPECKER_URL",
"ghcr.io/j04n-f/woodpecker-mcp"
],
"env": {
"WOODPECKER_TOKEN": "your-token-here",
"WOODPECKER_URL": "https://your-woodpecker-instance.com"
}
}
}Related MCP server: Jenkins AI Optimizer
Quick Start
Install dependencies
bun installRun the server
# Development with inspector bun run devSet environment variables using Inspector
WOODPECKER_URL="https://your-woodpecker-instance.com" WOODPECKER_TOKEN="your-personal-access-token"Start development environment
# Start Gitea + Woodpecker CI for testing ./scripts/setup-environment.sh # Access services: # - Gitea: http://localhost:3000 (woodpecker/woodpecker123) # - Woodpecker: http://localhost:8000
Configuration
Getting Your Woodpecker Token
Go to your Woodpecker CI instance
Click your profile icon → "CLI & API"
Copy the personal access token
Set it as
WOODPECKER_TOKEN
API Reference
Tool | Description | Parameters |
| Find repository by name |
|
| List all repositories | Optional: |
| List repository pipelines |
|
| Get detailed pipeline info |
|
| View pipeline configuration |
|
| Get logs for debugging |
|
AI Prompts
Prompt | Description |
| Systematic analysis of pipeline failures |
Development
Available Commands
# Development
bun run dev # Start with inspector
bun run build # Build production binary
# Code Quality
bun run lint # Check code style
bun run lint:fix # Auto-fix issuesLocal Testing Environment
The included Docker Compose setup provides:
Gitea: Git forge with webhooks
Woodpecker CI: Complete CI/CD environment
Test repository: Sample project with pipeline configuration
Perfect for testing MCP integration without external dependencies.
Examples
Debug a Failed Pipeline
AI: Can you check why pipeline #42 failed for repository owner/project?Analyze Build Performance
AI: Show me the recent pipeline performance for my main repository and identify any bottlenecks.Configuration Review
AI: Review the pipeline configuration for repository owner/project and suggest improvements.Contributing
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureFollow the coding standards:
bun run lintCommit changes:
git commit -m 'feat: add amazing feature'Submit a Pull Request
License
MIT License - see LICENSE for details.
Ready to supercharge your Woodpecker CI workflows with AI assistance! 🚀🤖
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Devopness MCP server for DevOps happiness! Empower AI Agents to deploy apps and infra, to any cloud.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides Azure DevOps integration for AI assistants, enabling them to list projects, run pipelines, analyze failures, view logs, and troubleshoot builds directly from chat interfaces.MIT
- AlicenseNot gradedqualityDmaintenanceEnterprise-grade MCP server for Jenkins CI/CD integration that enables AI assistants to diagnose build failures, analyze pipelines, and search logs through natural conversation.6GPL 3.0
- FlicenseAqualityCmaintenanceMCP server that enables AI assistants to run multi-step agent pipelines (e.g., Issue Analyst → Code Writer → Test Runner → PR Opener) from conversations, with support for Devin, shell, Python, and HTTP agents.7-
- FlicenseAqualityCmaintenanceMCP server for GitLab that enables AI assistants to manage CI pipelines, job logs, repositories, branches, merge requests, and commits via the GitLab REST API.20-