feat: add release management tools#181
Conversation
📝 WalkthroughWalkthroughAdds release CRUD, tag, label, linked work item, and changelog MCP tools, shared pagination and description handling, SDK 0.2.20 support, server registration, availability coverage, and updated tooling documentation. ChangesRelease tool surface
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant MCPClient
participant ReleaseTools
participant PlaneSDK
participant PlaneAPI
MCPClient->>ReleaseTools: invoke release operation
ReleaseTools->>PlaneSDK: build typed request and call releases API
PlaneSDK->>PlaneAPI: send release request
PlaneAPI-->>PlaneSDK: return release response
PlaneSDK-->>ReleaseTools: return typed result
ReleaseTools-->>MCPClient: return MCP tool result
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tests/test_release_changelog.py`:
- Around line 31-40: Update the test helper _call to use FastMCP.Client with
StreamableHttpTransport against the configured live Plane instance instead of
constructing an in-process FastMCP server and monkeypatching
get_plane_client_context. Preserve the update_release_changelog invocation and
arguments while removing the offline mocked-client setup.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: be77522c-613c-4ef7-8135-830f945a96ef
📒 Files selected for processing (5)
plane_mcp/tools/releases/__init__.pyplane_mcp/tools/releases/_helpers.pyplane_mcp/tools/releases/changelog.pytests/test_integration.pytests/test_release_changelog.py
🚧 Files skipped from review as they are similar to previous changes (1)
- plane_mcp/tools/releases/init.py
Description
Adds MCP tools for Plane's releases domain.
Tools
Organized as a
plane_mcp/tools/releases/package.Type of Change
References
Requires
plane-sdk==0.2.20(pinned in this PR).Summary by CodeRabbit
plane-sdkdependency version.