Skip to main content
Glama

delete_project

Remove a pixel art project from the Piskel MCP Server by specifying its project identifier to manage workspace content.

Instructions

Delete a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesProject identifier

Implementation Reference

  • The implementation of the deleteProject handler.
    private deleteProject(projectId: string): object {
      if (!this.projects.has(projectId)) {
        throw new Error(`Project "${projectId}" not found`);
      }
      this.projects.delete(projectId);
      return { success: true, projectId };
    }
  • Registration of the 'delete_project' tool in the PiskelServer tool definitions.
    {
      name: 'delete_project',
      description: 'Delete a project',
      inputSchema: {
        type: 'object',
        properties: {
          projectId: {
            type: 'string',
            description: 'Project identifier',
          },
        },
        required: ['projectId'],
      },

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/yafeiaa/piskel-mcp-server'

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