Skip to main content
Glama
makeplane

Plane MCP Server

Official
by makeplane

get_cycle

Retrieve detailed information about a specific cycle within a Plane MCP Server project using its unique project and cycle identifiers. Ideal for managing and tracking project cycles efficiently.

Instructions

Get details of a specific cycle

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cycle_idYesThe uuid identifier of the cycle to get
project_idYesThe uuid identifier of the project containing the cycle

Implementation Reference

  • Handler function that fetches the details of a specific cycle by making a GET request to the Plane API endpoint and returns the JSON response formatted as text content.
    async ({ project_id, cycle_id }) => { const response = await makePlaneRequest( "GET", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/${cycle_id}/` ); return { content: [ { type: "text", text: JSON.stringify(response, null, 2), }, ], }; }
  • Zod input schema defining the required parameters: project_id and cycle_id for the get_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 get"), },
  • Direct registration of the get_cycle tool on the MCP server, specifying name, description, input schema, and handler function.
    server.tool( "get_cycle", "Get details of a specific 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 get"), }, async ({ project_id, cycle_id }) => { const response = await makePlaneRequest( "GET", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/${cycle_id}/` ); return { content: [ { type: "text", text: JSON.stringify(response, null, 2), }, ], }; } );
  • Invocation of registerCycleTools within the top-level tools registration, which includes the get_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