Skip to main content
Glama
makeplane

Plane MCP Server

Official
by makeplane

list_modules

Retrieve all modules associated with a specific project using the project_id. This tool supports effective project management by organizing and accessing module details within the Plane MCP Server.

Instructions

Get all modules for a specific project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe uuid identifier of the project to get modules for

Implementation Reference

  • Handler function that fetches modules for the given project_id via API and returns the JSON response as text content.
    async ({ project_id }) => {
      const response = await makePlaneRequest(
        "GET",
        `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/modules/`
      );
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(response, null, 2),
          },
        ],
      };
    }
  • Input schema defining the required project_id parameter as a string.
    {
      project_id: z.string().describe("The uuid identifier of the project to get modules for"),
    },
  • Registration of the list_modules tool on the MCP server, specifying name, description, input schema, and handler function.
    server.tool(
      "list_modules",
      "Get all modules for a specific project",
      {
        project_id: z.string().describe("The uuid identifier of the project to get modules for"),
      },
      async ({ project_id }) => {
        const response = await makePlaneRequest(
          "GET",
          `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/modules/`
        );
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(response, null, 2),
            },
          ],
        };
      }
    );
  • Invocation of registerModuleTools within the main registerTools function, which registers the list_modules tool among others.
    registerModuleTools(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