Skip to main content
Glama
makeplane

Plane MCP Server

Official
by makeplane

get_issue_type

Retrieve details of a specific issue type by providing its project and type identifiers through the Plane MCP Server, enabling efficient project management and issue tracking.

Instructions

Get details of a specific issue type

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe uuid identifier of the project containing the issue type
type_idYesThe uuid identifier of the issue type to get

Implementation Reference

  • Handler function that fetches the details of a specific issue type by making a GET request to the Plane API endpoint and returns the JSON response as text content.
    async ({ project_id, type_id }) => {
      const response = await makePlaneRequest(
        "GET",
        `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/issue-types/${type_id}/`
      );
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(response, null, 2),
          },
        ],
      };
    }
  • Zod input schema defining the required parameters: project_id and type_id as strings with descriptions.
    {
      project_id: z.string().describe("The uuid identifier of the project containing the issue type"),
      type_id: z.string().describe("The uuid identifier of the issue type to get"),
    },
  • Direct registration of the get_issue_type tool on the MCP server, including name, description, input schema, and handler function.
    server.tool(
      "get_issue_type",
      "Get details of a specific issue type",
      {
        project_id: z.string().describe("The uuid identifier of the project containing the issue type"),
        type_id: z.string().describe("The uuid identifier of the issue type to get"),
      },
      async ({ project_id, type_id }) => {
        const response = await makePlaneRequest(
          "GET",
          `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/issue-types/${type_id}/`
        );
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(response, null, 2),
            },
          ],
        };
      }
    );
  • Top-level call to registerMetadataTools, which registers the get_issue_type tool among others.
    registerMetadataTools(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