Skip to main content
Glama

Plane MCP Server

Official
by makeplane

list_cycles

Retrieve all cycles for a specific project by providing the project's UUID identifier. Facilitates project management through Plane MCP Server's standardized API.

Instructions

Get all cycles for a specific project

Input Schema

NameRequiredDescriptionDefault
project_idYesThe uuid identifier of the project to get cycles for

Input Schema (JSON Schema)

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

Implementation Reference

  • The handler function for the 'list_cycles' tool. It accepts a project_id parameter, performs a GET request to the Plane API endpoint for cycles in the specified project, and returns the response as formatted JSON text content in the MCP protocol format.
    async ({ project_id }) => { const response = await makePlaneRequest( "GET", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/` ); return { content: [ { type: "text", text: JSON.stringify(response, null, 2), }, ], }; } );
  • Zod input schema defining the required 'project_id' parameter as a string for the list_cycles tool.
    { project_id: z.string().describe("The uuid identifier of the project to get cycles for"), },
  • Registration of the 'list_cycles' tool via server.tool() call within the registerCycleTools function, specifying name, description, input schema, and handler implementation.
    server.tool( "list_cycles", "Get all cycles for a specific project", { project_id: z.string().describe("The uuid identifier of the project to get cycles for"), }, async ({ project_id }) => { const response = await makePlaneRequest( "GET", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/cycles/` ); return { content: [ { type: "text", text: JSON.stringify(response, null, 2), }, ], }; } );

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