list-workflows
View all available workflows in Shortcut to manage project processes and track progress across teams.
Instructions
List all Shortcut workflows
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/workflows.ts:37-46 (handler)Handler function that fetches all workflows using the Shortcut client and returns a formatted result or 'No workflows found' if none exist.async listWorkflows() { const workflows = await this.client.getWorkflows(); if (!workflows.length) return this.toResult(`No workflows found.`); return this.toResult( `Result (first ${workflows.length} shown of ${workflows.length} total workflows found):`, await this.entitiesWithRelatedEntities(workflows, "workflows"), ); }
- src/tools/workflows.ts:17-21 (registration)MCP server tool registration for 'list-workflows', which calls the listWorkflows handler with no parameters.server.tool( "list-workflows", "List all Shortcut workflows", async () => await tools.listWorkflows(), );