Skip to main content
Glama

create_task

Add new tasks to project boards in FluentBoards project management system by specifying board ID, title, and optional details.

Instructions

Create a new task

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
board_idYesBoard ID
titleYesTask title
descriptionNoTask description
stage_idNoStage ID (optional)

Implementation Reference

  • Registers the MCP 'create_task' tool with input schema validation using Zod and the handler function that builds task data and posts to the project tasks API endpoint.
    server.tool( "create_task", "Create a new task", { board_id: z.number().int().positive().describe("Board ID"), title: z.string().min(1).describe("Task title"), description: z.string().optional().describe("Task description"), stage_id: z .number() .int() .positive() .optional() .describe("Stage ID (optional)"), }, async (args) => { const { board_id, title, description, stage_id } = args; const taskData: any = { title, board_id, }; if (description) { taskData.description = formatText(description); } if (stage_id) { taskData.stage_id = stage_id; } const response = await api.post(`/projects/${board_id}/tasks`, { task: taskData }); return formatResponse(response.data); } );
  • src/index.ts:23-23 (registration)
    Top-level registration call that invokes registerTaskTools on the MCP server, thereby registering the create_task tool among other task tools.
    registerTaskTools(server);
  • Zod schema for CreateTask type definition, matching the input parameters of the create_task tool.
    export const CreateTaskSchema = z.object({ board_id: z.number().int().positive(), title: z.string().min(1), description: z.string().optional(), stage_id: z.number().int().positive().optional(), });

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/danieliser/fluent-boards-mcp-server'

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