Skip to main content
Glama

create-epic

Create a new Shortcut epic to organize and manage large project initiatives within the Shortcut MCP Server.

Instructions

Create a new Shortcut epic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the epic
ownerNoThe user ID of the owner of the epic
descriptionNoA description of the epic
teamIdNoThe ID of a team to assign the epic to

Implementation Reference

  • The main handler function that executes the logic to create a new Shortcut epic using the client.createEpic method and returns a result.
    async createEpic({ name, owner, teamId: group_id, description, }: { name: string; owner?: string; teamId?: string; description?: string; }): Promise<CallToolResult> { const epic = await this.client.createEpic({ name, group_id, owner_ids: owner ? [owner] : undefined, description, }); return this.toResult(`Epic created with ID: ${epic.id}.`); }
  • Tool registration for 'create-epic', including the tool name, description, input schema, and reference to the handler function.
    server.tool( "create-epic", "Create a new Shortcut epic.", { name: z.string().describe("The name of the epic"), owner: z.string().optional().describe("The user ID of the owner of the epic"), description: z.string().optional().describe("A description of the epic"), teamId: z.string().optional().describe("The ID of a team to assign the epic to"), }, async (params) => await tools.createEpic(params), );
  • Zod schema defining the input parameters for the create-epic tool: name (required), owner, description, teamId (all optional except name).
    { name: z.string().describe("The name of the epic"), owner: z.string().optional().describe("The user ID of the owner of the epic"), description: z.string().optional().describe("A description of the epic"), teamId: z.string().optional().describe("The ID of a team to assign the epic to"), },

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