Skip to main content
Glama

Plane MCP Server

Official
by makeplane

delete_cycle

Remove a specific cycle from a project in Plane MCP Server by providing the project and cycle IDs. Ideal for managing project workflows and maintaining system accuracy.

Instructions

Delete a cycle

Input Schema

NameRequiredDescriptionDefault
cycle_idYesThe uuid identifier of the cycle to delete
project_idYesThe uuid identifier of the project containing the cycle

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "cycle_id": { "description": "The uuid identifier of the cycle to delete", "type": "string" }, "project_id": { "description": "The uuid identifier of the project containing the cycle", "type": "string" } }, "required": [ "project_id", "cycle_id" ], "type": "object" }

Implementation Reference

  • The asynchronous handler function that sends a DELETE request to the Plane API endpoint to delete the cycle identified by project_id and cycle_id, then returns a success message.
    async ({ project_id, cycle_id }) => { await makePlaneRequest( "DELETE", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/${cycle_id}/` ); return { content: [ { type: "text", text: "Cycle deleted successfully", }, ], }; }
  • Input schema using Zod for validating project_id and cycle_id parameters required by the delete_cycle tool.
    { project_id: z.string().describe("The uuid identifier of the project containing the cycle"), cycle_id: z.string().describe("The uuid identifier of the cycle to delete"), },
  • Tool registration using server.tool() with name 'delete_cycle', description, input schema, and handler function.
    server.tool( "delete_cycle", "Delete a cycle", { project_id: z.string().describe("The uuid identifier of the project containing the cycle"), cycle_id: z.string().describe("The uuid identifier of the cycle to delete"), }, async ({ project_id, cycle_id }) => { await makePlaneRequest( "DELETE", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/${cycle_id}/` ); return { content: [ { type: "text", text: "Cycle deleted successfully", }, ], }; } );
  • Higher-level registration call that invokes registerCycleTools, which includes the delete_cycle tool.
    registerCycleTools(server);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/makeplane/plane-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server