Skip to main content
Glama

Plane MCP Server

Official
by makeplane

delete_label

Remove a specific label from a project in Plane MCP Server by providing the project and label UUID identifiers.

Instructions

Delete a label

Input Schema

NameRequiredDescriptionDefault
label_idYesThe uuid identifier of the label to delete
project_idYesThe uuid identifier of the project containing the label

Input Schema (JSON Schema)

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

Implementation Reference

  • Full registration of the 'delete_label' MCP tool, including inline Zod input schema (project_id and label_id) and the handler function that executes a DELETE request to the Plane API to delete the specified label, returning the JSON response as text content.
    server.tool( "delete_label", "Delete a label", { project_id: z.string().describe("The uuid identifier of the project containing the label"), label_id: z.string().describe("The uuid identifier of the label to delete"), }, async ({ project_id, label_id }) => { const response = await makePlaneRequest( "DELETE", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/labels/${label_id}/` ); return { content: [ { type: "text", text: JSON.stringify(response, null, 2), }, ], }; } );
  • The handler function for the delete_label tool. It takes project_id and label_id, makes a DELETE request to the corresponding Plane API endpoint using makePlaneRequest helper, and returns the response as a text content block with JSON stringified.
    async ({ project_id, label_id }) => { const response = await makePlaneRequest( "DELETE", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/labels/${label_id}/` ); return { content: [ { type: "text", text: JSON.stringify(response, null, 2), }, ], }; }
  • Zod input schema for the delete_label tool, requiring project_id (string) and label_id (string) with descriptions.
    { project_id: z.string().describe("The uuid identifier of the project containing the label"), label_id: z.string().describe("The uuid identifier of the label to delete"), },

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