delete_cycle
Delete a specific cycle from a project by providing the project and cycle UUIDs.
Instructions
Delete a cycle by ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | UUID of the project | |
| cycle_id | Yes | UUID of the cycle |
Implementation Reference
- plane_mcp/tools/cycles.py:154-165 (handler)The delete_cycle function that executes the tool logic. It retrieves the Plane client context and calls client.cycles.delete() with the workspace_slug, project_id, and cycle_id.
@mcp.tool() def delete_cycle(project_id: str, cycle_id: str) -> None: """ Delete a cycle by ID. Args: workspace_slug: The workspace slug identifier project_id: UUID of the project cycle_id: UUID of the cycle """ client, workspace_slug = get_plane_client_context() client.cycles.delete(workspace_slug=workspace_slug, project_id=project_id, cycle_id=cycle_id) - plane_mcp/tools/cycles.py:20-21 (registration)The register_cycle_tools function registers all cycle-related tools (including delete_cycle) via the @mcp.tool() decorator on the FastMCP server instance.
def register_cycle_tools(mcp: FastMCP) -> None: """Register all cycle-related tools with the MCP server.""" - plane_mcp/tools/__init__.py:5-5 (registration)Import of register_cycle_tools from the cycles module into the tools package.
from plane_mcp.tools.cycles import register_cycle_tools - plane_mcp/tools/__init__.py:36-36 (registration)Invocation of register_cycle_tools(mcp) to register all cycle tools including delete_cycle with the MCP server.
register_cycle_tools(mcp) - tests/test_integration.py:322-322 (helper)Test reference to delete_cycle in the integration test file, confirming the tool is listed among the expected cycle tools.
"delete_cycle",