Replace sprint MCP tools with board equivalents + add delete_project #35
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
forgejo_admin/pal-e-mcp#35
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?
Lineage
plan-pal-e-docs→ Phase 1 → Phase 1b (MCP tools)Repo
forgejo_admin/pal-e-docs-mcpUser Story
As a session agent (Betty Sue)
I want board MCP tools instead of broken sprint tools
So that I can manage project boards after the sprint→board migration (PR #147 on pal-e-docs)
Context
PR #147 on pal-e-docs replaced sprint tables with board tables. The 10 sprint MCP tools in this repo now call SDK methods that hit nonexistent
/sprints/endpoints. They must be replaced with board equivalents that hit the new/boards/endpoints.Additionally,
delete_projectis missing from the MCP tools — the API endpoint exists (PR #145) but there's no MCP tool to call it.Key API changes (sprint → board):
board-{project_slug}POST /boardstakesproject_slug+name(no slug, goal, status, dates)PATCH /boards/{slug}only updatesnamePOST /boards/{slug}/items,PATCH /boards/{slug}/items/{item_id},DELETE /boards/{slug}/items/{item_id}GET /boards/backlog/items?item_type=...PATCH /boards/{slug}/items/bulkImportant: The SDK (pal-e-docs-sdk) still has sprint methods. This issue does NOT update the SDK — MCP tools should call the API directly via httpx until the SDK is updated in a separate issue. Use the same
get_sdk()._clientpattern or add raw HTTP helpers.File Targets
Files to modify:
src/pal_e_docs_mcp/tools/sprints.py— DELETE this file entirelysrc/pal_e_docs_mcp/tools/boards.py— CREATE new file with board toolssrc/pal_e_docs_mcp/tools/projects.py— ADDdelete_projecttoolsrc/pal_e_docs_mcp/tools/__init__.py— update imports (sprints → boards)Files NOT to touch:
src/pal_e_docs_mcp/server.py— no changes neededAcceptance Criteria
ruff check .andruff format --check .passTest Expectations
Constraints
get_sdk()for API calls where SDK methods exist. For board methods not yet in SDK, use raw HTTP viaget_sdk()._session(the httpx client)bulk_move_itemstakes a JSON string parameter (same pattern as current sprint version)Checklist
Closes #35in PR bodyRelated
pal-e-docs— PR #147 (board tables API)pal-e-docs-sdk— separate issue for SDK update