woodpecker-mcp
Click on "Install 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-mcpcheck the latest pipeline status for RikiGomes/woodpecker-mcp"
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-mcp
MCP (Model Context Protocol) server for Woodpecker CI. Gives AI agents and MCP clients read-only visibility into pipeline status and logs across multiple self-hosted Woodpecker instances — so a code reviewer (human or agent) can check whether CI is green and pull the failing step's output without leaving the conversation.
Built against the Woodpecker v3 REST API (verified on v3.16.0). No write operations: the server never restarts, approves, or cancels pipelines.
Tools
Tool | Purpose |
| List configured instances; |
| Repositories the token can access on an instance |
| Recent pipelines for a repo, filterable by branch / event / status |
| One pipeline with workflows, steps, exit codes, and |
| Log output of a step (tailed, default last 100 lines) |
Repos are addressed as owner/name or by numeric Woodpecker repo id. get_pipeline accepts number: "latest" (optionally with branch).
Related MCP server: woodpecker-mcp
Configuration
Instances are configured via environment variables — one URL/token pair per instance:
# Single instance (named "default"). WOODPECKER_SERVER (the official CLI var) also works.
WOODPECKER_URL=https://ci.example.com
WOODPECKER_TOKEN=<personal access token>
# Or one pair per instance — the name becomes the `instance` argument on every tool:
WOODPECKER_PROD_URL=https://ci.example.com
WOODPECKER_PROD_TOKEN=...
WOODPECKER_STAGING_URL=https://ci.staging.example
WOODPECKER_STAGING_TOKEN=...Tokens come from <server>/user/cli-and-api on each Woodpecker instance.
The server also loads a .env.woodpecker file from its working directory if present (MCP clients launch stdio servers with the project as working directory). Real environment variables take precedence over file values.
Instances with self-signed certificates: point Node at your CA with NODE_EXTRA_CA_CERTS=/path/to/ca.pem.
Usage with Claude Code
Register in a project's .mcp.json (or claude mcp add):
{
"mcpServers": {
"woodpecker": {
"command": "npx",
"args": ["-y", "github:RikiGomes/woodpecker-mcp"]
}
}
}Alternatively, clone it once and point at the local build:
{
"mcpServers": {
"woodpecker": {
"command": "node",
"args": ["/path/to/woodpecker-mcp/dist/index.js"]
}
}
}(after npm install && npm run build in the clone).
Development
Node >= 22.18 runs the TypeScript sources directly (type stripping):
npm install
npm run dev # run the server from src/
npm run check # typecheck
npm test # vitest
npm run build # emit dist/Everything is plain ESM; relative imports use explicit .ts extensions and the build rewrites them to .js.
Testing with the MCP Inspector
The MCP Inspector is the quickest way to poke at the tools by hand:
npm run build
npx @modelcontextprotocol/inspector node dist/index.js -e WOODPECKER_URL=https://ci.example.com -e WOODPECKER_TOKEN=<token>The Inspector does not pass your shell environment to the server it launches. Prefixing the command (WOODPECKER_URL=… npx @modelcontextprotocol/inspector …) or exporting beforehand sets the variable on the Inspector, not on this server — which then starts with no instances configured. Use one of:
the
-e KEY=VALUEflags shown above — note they go afternode dist/index.js, not before;the Environment Variables fields in the Inspector's connection pane (then Connect / Restart);
a
.env.woodpeckerfile in the directory you launch from (the name is exact — a plain.envis not read).
Scripted checks work too, via the Inspector's CLI mode:
npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/list
npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/call --tool-name list_instancesDesign notes
Read-only by contract. Intended for reviewer agents; there is deliberately no restart/approve/cancel surface.
Log tailing. Woodpecker returns a step's entire stored log in one response;
get_step_logstails (default 100 lines, max 2000) to protect the caller's context window. Exit-code entries are labelled[exit code].Slug resolution.
owner/nameis resolved via/api/repos/lookup/…once and cached per process.Sub-path hosting. Instance base URLs may include a sub-path (
WOODPECKER_ROOT_PATHinstalls).
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceA read-only MCP server for AI coding agents to inspect repositories, audit code quality, route engineering skills, and plan safe issue/PR workflows.Last updated1MIT
- Alicense-qualityCmaintenanceMCP server that connects AI assistants to Woodpecker CI for debugging pipeline failures, analyzing build logs, and troubleshooting CI/CD configurations.Last updated12MIT
- AlicenseAqualityAmaintenanceRead-only MCP server for querying PostgreSQL, MySQL, and SQLite from AI agents — multi-database, safe by default.Last updated4181ISC
- Alicense-qualityCmaintenanceRead-only MCP server for Jenkins CI, enabling AI agents to securely query job/build status, logs, artifacts, and generate verification reports for loop workflows.Last updated26ISC
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RikiGomes/woodpecker-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server