Skip to main content
Glama
qpiai

Zoho Projects MCP Server

by qpiai

delete_project

Remove a project from Zoho Projects by moving it to trash using the project ID. This action helps clean up completed or unnecessary projects from your workspace.

Instructions

Delete a project (moves to trash)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID

Implementation Reference

  • Core handler function that executes the delete_project tool by making a POST request to the Zoho API endpoint to move the specified project to trash and returns a success message with the API response.
    private async deleteProject(projectId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/trash`, "POST" ); return { content: [ { type: "text", text: `Project moved to trash successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
  • Input schema for the delete_project tool, defining the required project_id parameter.
    name: "delete_project", description: "Delete a project (moves to trash)", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, }, required: ["project_id"], }, },
  • src/index.ts:568-569 (registration)
    Registration of the delete_project tool in the switch statement within the CallToolRequestSchema handler, dispatching to the deleteProject method.
    case "delete_project": return await this.deleteProject(params.project_id);
  • Core handler function that executes the delete_project tool by making a POST request to the Zoho API endpoint to move the specified project to trash and returns a success message with the API response.
    private async deleteProject(projectId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/trash`, "POST" ); return { content: [ { type: "text", text: `Project moved to trash successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
  • Input schema for the delete_project tool, defining the required project_id parameter.
    name: "delete_project", description: "Delete a project (moves to trash)", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, }, required: ["project_id"], }, },

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/qpiai/zoho-projects-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server