list_projects
Retrieve all active pixel art projects to manage, edit, or export animations and sprite sheets.
Instructions
List all active projects
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server/PiskelServer.ts:935-945 (handler)The actual implementation of the list_projects tool logic, which iterates over active projects and returns their details.
private listProjects(): object { const projects = []; for (const [id, piskel] of this.projects) { projects.push({ projectId: id, name: piskel.getDescriptor().name, width: piskel.getWidth(), height: piskel.getHeight(), }); } return { projects }; - src/server/PiskelServer.ts:122-126 (registration)Registration of the list_projects tool definition within the MCP server.
name: 'list_projects', description: 'List all active projects', inputSchema: { type: 'object', properties: {},