Skip to main content
Glama

Plane MCP Server

Official
by makeplane

add_module_issues

Assign issues to a module in a project. Use this tool to link specific issue UUIDs to a module, ensuring organized task management within Plane MCP Server.

Instructions

Add issues to a module. Assign module to issues.

Input Schema

NameRequiredDescriptionDefault
issuesYesArray of issue UUIDs to add to the module
module_idYesThe uuid identifier of the module to add issues to
project_idYesThe uuid identifier of the project containing the module

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "issues": { "description": "Array of issue UUIDs to add to the module", "items": { "type": "string" }, "type": "array" }, "module_id": { "description": "The uuid identifier of the module to add issues to", "type": "string" }, "project_id": { "description": "The uuid identifier of the project containing the module", "type": "string" } }, "required": [ "project_id", "module_id", "issues" ], "type": "object" }

Implementation Reference

  • The main handler function that performs the POST request to the Plane API endpoint to associate issues with a module.
    async ({ project_id, module_id, issues }) => { const response = await makePlaneRequest( "POST", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/modules/${module_id}/module-issues/`, { issues } ); return { content: [ { type: "text", text: JSON.stringify(response, null, 2), }, ], }; }
  • Input schema using Zod validators for the tool parameters.
    { project_id: z.string().describe("The uuid identifier of the project containing the module"), module_id: z.string().describe("The uuid identifier of the module to add issues to"), issues: z.array(z.string()).describe("Array of issue UUIDs to add to the module"), },
  • MCP server tool registration call, specifying name, description, input schema, and handler function.
    server.tool( "add_module_issues", "Add issues to a module. Assign module to issues.", { project_id: z.string().describe("The uuid identifier of the project containing the module"), module_id: z.string().describe("The uuid identifier of the module to add issues to"), issues: z.array(z.string()).describe("Array of issue UUIDs to add to the module"), }, async ({ project_id, module_id, issues }) => { const response = await makePlaneRequest( "POST", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/modules/${module_id}/module-issues/`, { issues } ); return { content: [ { type: "text", text: JSON.stringify(response, null, 2), }, ], }; } );
  • Call to register module issue tools (including add_module_issues) within the aggregate tools registration.
    registerModuleIssueTools(server);
  • src/server.ts:15-15 (registration)
    Top-level call to register all tools, which chains to module-issues tools.
    registerTools(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