Base MCP server with 25 workflow tools #1
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/woodpecker-mcp#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan
plan-2026-02-28-woodpecker-mcp-- Phase 1 (phase-2026-02-28-1-mcp-base)Repo
forgejo_admin/woodpecker-mcpUser Story
As an agent or skill working with Woodpecker CI
I need a set of MCP tools that compose SDK calls into expert-level workflows
So that I can trigger pipelines, read logs, manage secrets, and check CI status without constructing raw HTTP requests or understanding Woodpecker's internal data model (repo IDs, step IDs, etc.)
Acceptance Criteria
trigger_pipelinewith a repo name and branch, a pipeline is triggered (repo name resolved to ID internally) and I get back the pipeline number and statusget_pipeline_logswith a repo name and pipeline number, I get back the failed step's logs automatically (steps auto-discovered, no step ID needed)~/.claude/mcp.json, the tool executes correctly against the live Woodpecker instance and returns a curated JSON responseget_clientfrom server.py (never use_clientdirectly) -- codebase is ready for Phase 2 mcp-remote (ContextVar patching)Additional Information
25 tools across 6 domain files:
tools/pipelines.py-- 6 tools (trigger, status, logs, restart, cancel, list)tools/repos.py-- 2 tools (list_repos, get_repo)tools/secrets.py-- 8 tools (repo CRUD + global CRUD)tools/crons.py-- 5 tools (list, create, update, delete, run)tools/system.py-- 3 tools (healthz, get_version, get_current_user)tools/queue.py-- 1 tool (get_queue_status)Reference implementations: forgejo-mcp (base pattern), pal-e-docs-mcp (multi-file tools), gcal-mcp (patchable get_client).
SDK dependency:
ldraney-woodpecker-sdk>=0.1.0(published on Forgejo PyPI). During dev, usepip install -e ../woodpecker-sdk.Env vars: WOODPECKER_URL, WOODPECKER_TOKEN (Bearer PAT).
Checklist
Related
plan-2026-02-28-woodpecker-mcp-- the planplan-2026-02-28-woodpecker-sdk-mcp-- parent plan (SDK)claude-config-- project