Skip to main content
Glama
ampcome-mcps

Shortcut MCP Server

by ampcome-mcps

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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"),
    	);
    }
  • 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(),
    );

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