Skip to main content
Glama

list-workflows

Retrieve all available workflows from Shortcut to understand project management processes and workflow configurations.

Instructions

List all Shortcut workflows

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • The handler function listWorkflows() that fetches all workflows using this.client.getWorkflows(), checks if any exist, and returns a formatted result using toResult and entitiesWithRelatedEntities.
    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 "list-workflows" MCP tool using server.tool(), with no input parameters and delegating to the listWorkflows() handler.
    server.tool( "list-workflows", "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/ampcome-mcps/shortcut-mcp'

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