snboard-mcp 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -58,11 +58,12 @@ var kanbanApi = {
|
|
|
58
58
|
getBoard: (id, params) => {
|
|
59
59
|
const searchParams = new URLSearchParams();
|
|
60
60
|
if (params?.columnId) searchParams.set("columnId", params.columnId);
|
|
61
|
-
if (params?.includeCards
|
|
61
|
+
if (params?.includeCards) searchParams.set("includeCards", "true");
|
|
62
62
|
if (params?.includeTags) searchParams.set("includeTags", "true");
|
|
63
63
|
if (params?.includeComments) searchParams.set("includeComments", "true");
|
|
64
64
|
if (params?.cardLimit) searchParams.set("cardLimit", params.cardLimit.toString());
|
|
65
65
|
if (params?.compact) searchParams.set("compact", "true");
|
|
66
|
+
if (params?.priority) searchParams.set("priority", params.priority);
|
|
66
67
|
const query = searchParams.toString();
|
|
67
68
|
return api(`/api/boards/${id}${query ? `?${query}` : ""}`);
|
|
68
69
|
},
|
|
@@ -156,7 +157,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
156
157
|
// BOARDS
|
|
157
158
|
{ name: "list_boards", description: "List boards for a project with optional filters to reduce token usage", inputSchema: { type: "object", properties: { projectId: { type: "string", description: "Project ID" }, compact: { type: "boolean" }, includeColumnStats: { type: "boolean" }, limit: { type: "number" } }, required: ["projectId"] } },
|
|
158
159
|
{ name: "create_board", description: "Create a new board in a project with default columns (To Do, In Progress, Done)", inputSchema: { type: "object", properties: { projectId: { type: "string", description: "Project ID" }, name: { type: "string", description: "Board name" } }, required: ["projectId", "name"] } },
|
|
159
|
-
{ name: "get_board", description: "Get
|
|
160
|
+
{ name: "get_board", description: "Get board with columns. Cards NOT included by default. Use includeCards:true + cardLimit + columnId to get specific cards.", inputSchema: { type: "object", properties: { boardId: { type: "string", description: "Board ID" }, columnId: { type: "string", description: "Get only this column" }, includeCards: { type: "boolean", description: "Include cards (default: false)" }, cardLimit: { type: "number", description: "Max cards per column (e.g. 5)" }, priority: { type: "string", enum: ["P1", "P2", "P3"], description: "Filter by priority" }, compact: { type: "boolean", description: "Minimal fields (id, title, priority)" }, includeTags: { type: "boolean", description: "Include tags" }, includeComments: { type: "boolean", description: "Include comments (max 5)" } }, required: ["boardId"] } },
|
|
160
161
|
{ name: "update_board", description: "Update a board (rename)", inputSchema: { type: "object", properties: { boardId: { type: "string", description: "Board ID" }, name: { type: "string", description: "New board name" } }, required: ["boardId", "name"] } },
|
|
161
162
|
{ name: "delete_board", description: "Delete a board and all its columns and cards", inputSchema: { type: "object", properties: { boardId: { type: "string", description: "Board ID" } }, required: ["boardId"] } },
|
|
162
163
|
// COLUMNS
|