Skip to main content
Glama
useshortcut

Shortcut MCP Server

Official
by useshortcut

workflows-list

Retrieve all available workflows from the Shortcut project management platform to view and manage project processes.

Instructions

List all Shortcut workflows

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function listWorkflows() that implements the core logic for the "workflows-list" tool. It retrieves all workflows from the Shortcut client, handles empty results, and formats the output using base tool methods.
    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"), ); }
  • Registration of the "workflows-list" tool using server.addToolWithReadAccess, specifying the tool name, description, and linking to the listWorkflows handler.
    server.addToolWithReadAccess( "workflows-list", "List all Shortcut workflows", async () => await tools.listWorkflows(), );

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/useshortcut/mcp-server-shortcut'

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