Feature: Add activate_repo / create_repo tool #7
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-sdk#7
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?
Type
Feature
Lineage
Discovered scope from service-onboarding-sop gap analysis. No plan phase — backlog item.
Repo
forgejo_admin/woodpecker-sdkUser Story
As the superuser onboarding a new service, I can activate a Forgejo repo in Woodpecker CI via MCP tools instead of manually clicking through the Woodpecker UI.
Context
The
service-onboarding-sopstep 6 says "Activate Woodpecker — GAP: no activate_repo tool exists in woodpecker-mcp." The Woodpecker MCP has 25 tools but NO tool to activate/add a repo. Every new service onboarding requires a manual UI step. The Woodpecker API supports repo activation viaPOST /api/repos(with forge_remote_id lookup).File Targets
Files the agent should modify:
src/woodpecker_sdk/client.py— addactivate_repo(owner, name)methodsrc/woodpecker_sdk/models.py— add response model if neededFiles the agent should NOT touch:
Acceptance Criteria
activate_repo(owner: str, name: str)methodTest Expectations
Constraints
Checklist
Related
service-onboarding-sop— references this gap in step 6woodpecker-mcp) will need a corresponding tool after SDK ships