planko-mcp-server 0.6.0 → 0.8.0
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/README.md +10 -4
- package/index.js +2 -771
- package/package.json +8 -3
- package/src/listing.js +4 -2
- package/src/tools.js +913 -0
package/README.md
CHANGED
|
@@ -121,8 +121,9 @@ These work with the **same API key** and require **no folder setup**. Tasks, not
|
|
|
121
121
|
| Property | Type | Notes |
|
|
122
122
|
|---|---|---|
|
|
123
123
|
| `description` | Markdown string | Converted to BlockNote JSON before saving |
|
|
124
|
-
| `dueDate` | ISO 8601 string | |
|
|
125
|
-
| `datePlain` | `YYYY-MM-DD` | |
|
|
124
|
+
| `dueDate` | ISO 8601 string | Execution date — when the task appears on the agenda/day view |
|
|
125
|
+
| `datePlain` | `YYYY-MM-DD` | Execution date, plain form — same meaning as `dueDate` |
|
|
126
|
+
| `deadline` | `YYYY-MM-DD`\|`null` | **Tasks only** (`planko_create_task`, `planko_edit_task`, `planko_recommend_task` — never notes or sticky notes). The final deadline, independent of `dueDate`/`datePlain`. `null` clears it on edit |
|
|
126
127
|
| `time` / `endTime` | `HH:MM` | Start / end time |
|
|
127
128
|
| `alert` | boolean | Whether a reminder is enabled |
|
|
128
129
|
| `alertLeadTime` | `null`\|`ontime`\|`15min`\|`30min`\|`1hour`\|`1day` | Reminder lead time |
|
|
@@ -146,8 +147,10 @@ Notes:
|
|
|
146
147
|
|
|
147
148
|
```
|
|
148
149
|
planko_create_task(name: "Ship v2", projectName: "Work", dueDate: "2026-08-01", priority: 1)
|
|
150
|
+
planko_create_task(name: "Renovar contrato", deadline: "2026-12-15")
|
|
149
151
|
planko_create_note(name: "Meeting notes", description: "# Sync\n- point A\n- point B")
|
|
150
152
|
planko_edit_task(taskId: "665f...c0", name: "Ship v2.1", alertLeadTime: "1hour")
|
|
153
|
+
planko_edit_task(taskId: "665f...c0", deadline: null)
|
|
151
154
|
planko_complete_task(taskId: "665f...c0")
|
|
152
155
|
planko_delete_note(taskId: "665f...aa")
|
|
153
156
|
```
|
|
@@ -164,6 +167,7 @@ Notes:
|
|
|
164
167
|
|
|
165
168
|
- The recipient is **always the owner of the API key**, never other project members, even when the suggestion targets a shared workspace project.
|
|
166
169
|
- `description` is Markdown, converted to BlockNote like the create tools. `datePlain` is derived from the date part of `dueDate` when only `dueDate` is given, because the owner's notification card shows `datePlain` (plus `time` and `priority`).
|
|
170
|
+
- `deadline` (`YYYY-MM-DD`) is accepted like on `planko_create_task`, applied to the task on accept.
|
|
167
171
|
- A reference the owner cannot access (`projectId`, `parentId`, `tags`, `boardId`, `kanbanColumnId`) is rejected at send time with a `400`. A reference that becomes stale later is dropped when the owner accepts; the task is still created.
|
|
168
172
|
- There is **no read-back**: the API has no endpoint to list recommendations or learn their outcome, and every call creates a new pending suggestion plus a new notification. Send each suggestion once; do not retry on a slow response.
|
|
169
173
|
- Under `PLANKO_PROJECT_LOCK` the suggestion always targets the locked project (see below).
|
|
@@ -211,8 +215,9 @@ These also work with the **same API key** and require **no folder setup**. `list
|
|
|
211
215
|
| `boardId` / `kanbanColumnId` | ObjectId | Direct id alternatives to the names (not offered under project lock) |
|
|
212
216
|
| `tags` | array of ObjectId | AND semantics — item must have all tags |
|
|
213
217
|
| `search` | string | Case-insensitive match on the name |
|
|
214
|
-
| `dueDateFrom` / `dueDateTo` | `YYYY-MM-DD` | (tasks only) inclusive due-date bounds |
|
|
215
|
-
| `
|
|
218
|
+
| `dueDateFrom` / `dueDateTo` | `YYYY-MM-DD` | (tasks only) inclusive due-date (execution date) bounds |
|
|
219
|
+
| `deadlineFrom` / `deadlineTo` | `YYYY-MM-DD` | Only on `planko_list_tasks` and `planko_list_all` (never `planko_list_notes`/`planko_list_sticky_notes`). Inclusive bounds on `deadline`. Matches **tasks only** (type=1); a recurring series appears as one item |
|
|
220
|
+
| `sortBy` | `field:asc` \| `field:desc` | Fields: `dueDate`, `deadline`, `createdAt`, `updatedAt`, `priority`, `position`, `name`; default `updatedAt:desc` |
|
|
216
221
|
| `limit` | int | Default 50, max 200 |
|
|
217
222
|
| `page` | int | Default 1 |
|
|
218
223
|
|
|
@@ -224,6 +229,7 @@ Board/column filters are ANDed onto the list scope. Boards belong to a user or a
|
|
|
224
229
|
|
|
225
230
|
```
|
|
226
231
|
planko_list_tasks(status: 1, priority: 1, dueDateFrom: "2026-07-20", dueDateTo: "2026-07-26", sortBy: "dueDate:asc")
|
|
232
|
+
planko_list_tasks(deadlineFrom: "2026-12-01", deadlineTo: "2026-12-31", sortBy: "deadline:asc")
|
|
227
233
|
planko_list_tasks(projectName: "Work", search: "invoice", limit: 20)
|
|
228
234
|
planko_list_tasks(boardName: "Time Planko", kanbanColumnName: "In Progress")
|
|
229
235
|
planko_list_sticky_notes(showCompleted: false)
|