@todoist/mcp 15.0.0 → 15.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/README.md +2 -2
- package/dist/filter-helpers.d.ts +1 -1
- package/dist/filter-helpers.d.ts.map +1 -1
- package/dist/index.d.ts +55 -55
- package/dist/index.js +3 -3
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/mcp-helpers.d.ts +1 -1
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/{mcp-server-y4HhlBJW.js → mcp-server-_CJVvMcS.js} +1542 -1533
- package/dist/{require-valid-todoist-token-I1jh7sbd.js → require-valid-todoist-token-BpGxBF3-.js} +1 -1
- package/dist/todoist-tool.d.ts +1 -1
- package/dist/todoist-tool.d.ts.map +1 -1
- package/dist/tool-helpers.d.ts +1 -1
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tool-registry.d.ts +55 -55
- package/dist/tools/add-comments.d.ts +1 -1
- package/dist/tools/add-comments.d.ts.map +1 -1
- package/dist/tools/add-filters.d.ts +1 -1
- package/dist/tools/add-labels.d.ts +1 -1
- package/dist/tools/add-projects.d.ts +2 -2
- package/dist/tools/add-projects.d.ts.map +1 -1
- package/dist/tools/add-reminders.d.ts +1 -1
- package/dist/tools/add-sections.d.ts +1 -1
- package/dist/tools/add-tasks.d.ts +1 -1
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/analyze-project-health.d.ts +1 -1
- package/dist/tools/complete-tasks.d.ts +1 -1
- package/dist/tools/delete-object.d.ts +1 -1
- package/dist/tools/export-project-template.d.ts +1 -1
- package/dist/tools/fetch-object.d.ts +2 -2
- package/dist/tools/fetch.d.ts +1 -1
- package/dist/tools/find-activity.d.ts +1 -1
- package/dist/tools/find-comments.d.ts +1 -1
- package/dist/tools/find-completed-tasks.d.ts +1 -1
- package/dist/tools/find-filters.d.ts +1 -1
- package/dist/tools/find-labels.d.ts +1 -1
- package/dist/tools/find-project-collaborators.d.ts +1 -1
- package/dist/tools/find-project-collaborators.d.ts.map +1 -1
- package/dist/tools/find-projects.d.ts +2 -2
- package/dist/tools/find-reminders.d.ts +1 -1
- package/dist/tools/find-sections.d.ts +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +1 -1
- package/dist/tools/find-tasks.d.ts +1 -1
- package/dist/tools/get-overview.d.ts +1 -1
- package/dist/tools/get-overview.d.ts.map +1 -1
- package/dist/tools/get-productivity-stats.d.ts +1 -1
- package/dist/tools/get-project-activity-stats.d.ts +1 -1
- package/dist/tools/get-project-health.d.ts +1 -1
- package/dist/tools/get-project-health.d.ts.map +1 -1
- package/dist/tools/get-user-status.d.ts +1 -1
- package/dist/tools/get-workspace-insights.d.ts +1 -1
- package/dist/tools/import-project-template.d.ts +1 -1
- package/dist/tools/list-workspaces.d.ts +1 -1
- package/dist/tools/list-workspaces.d.ts.map +1 -1
- package/dist/tools/manage-assignments.d.ts +1 -1
- package/dist/tools/project-management.d.ts +2 -2
- package/dist/tools/project-move.d.ts +2 -2
- package/dist/tools/project-move.d.ts.map +1 -1
- package/dist/tools/reorder-objects.d.ts +1 -1
- package/dist/tools/reorder-objects.d.ts.map +1 -1
- package/dist/tools/reschedule-tasks.d.ts +2 -2
- package/dist/tools/reschedule-tasks.d.ts.map +1 -1
- package/dist/tools/search.d.ts +1 -1
- package/dist/tools/set-user-status.d.ts +1 -1
- package/dist/tools/uncomplete-tasks.d.ts +1 -1
- package/dist/tools/update-comments.d.ts +1 -1
- package/dist/tools/update-filters.d.ts +1 -1
- package/dist/tools/update-labels.d.ts +1 -1
- package/dist/tools/update-projects.d.ts +2 -2
- package/dist/tools/update-projects.d.ts.map +1 -1
- package/dist/tools/update-reminders.d.ts +1 -1
- package/dist/tools/update-sections.d.ts +1 -1
- package/dist/tools/update-tasks.d.ts +1 -1
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/tools/user-info.d.ts +1 -1
- package/dist/tools/user-info.d.ts.map +1 -1
- package/dist/tools/view-attachment.d.ts +1 -1
- package/dist/usage-tracking.d.ts +1 -1
- package/dist/usage-tracking.d.ts.map +1 -1
- package/dist/utils/assignment-validator.d.ts +1 -1
- package/dist/utils/assignment-validator.d.ts.map +1 -1
- package/dist/utils/children.d.ts +1 -1
- package/dist/utils/children.d.ts.map +1 -1
- package/dist/utils/comment-recipients.d.ts +1 -1
- package/dist/utils/comment-recipients.d.ts.map +1 -1
- package/dist/utils/duration-parser.d.ts +1 -1
- package/dist/utils/duration-parser.d.ts.map +1 -1
- package/dist/utils/filter-resolver.d.ts +1 -1
- package/dist/utils/filter-resolver.d.ts.map +1 -1
- package/dist/utils/move-planner.d.ts +1 -1
- package/dist/utils/move-planner.d.ts.map +1 -1
- package/dist/utils/output-schemas.d.ts +1 -1
- package/dist/utils/output-schemas.d.ts.map +1 -1
- package/dist/utils/personal-project-limit.d.ts +1 -1
- package/dist/utils/personal-project-limit.d.ts.map +1 -1
- package/dist/utils/reminder-recipients.d.ts +1 -1
- package/dist/utils/reminder-recipients.d.ts.map +1 -1
- package/dist/utils/response-builders.d.ts +1 -1
- package/dist/utils/response-builders.d.ts.map +1 -1
- package/dist/utils/sync-commands.d.ts +1 -1
- package/dist/utils/sync-commands.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts +1 -1
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/dist/utils/user-resolver.d.ts +2 -1
- package/dist/utils/user-resolver.d.ts.map +1 -1
- package/dist/utils/user-status.d.ts +1 -1
- package/dist/utils/user-status.d.ts.map +1 -1
- package/dist/utils/workspace-resolver.d.ts +1 -1
- package/dist/utils/workspace-resolver.d.ts.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Here's an example using [Vercel's AI SDK](https://ai-sdk.dev/docs/ai-sdk-core/ge
|
|
|
22
22
|
|
|
23
23
|
```js
|
|
24
24
|
import { findTasksByDate, addTasks } from '@todoist/mcp'
|
|
25
|
-
import { TodoistApi } from '@
|
|
25
|
+
import { TodoistApi } from '@todoist/sdk'
|
|
26
26
|
import { streamText } from 'ai'
|
|
27
27
|
|
|
28
28
|
// Create Todoist API client
|
|
@@ -165,7 +165,7 @@ This server includes `search` and `fetch` tools that follow the [OpenAI MCP spec
|
|
|
165
165
|
## Dependencies
|
|
166
166
|
|
|
167
167
|
- MCP server using the official [@modelcontextprotocol/server](https://github.com/modelcontextprotocol/typescript-sdk)
|
|
168
|
-
- Todoist Typescript API client [@
|
|
168
|
+
- Todoist Typescript API client [@todoist/sdk](https://github.com/todoist/todoist-sdk-typescript)
|
|
169
169
|
|
|
170
170
|
## MCP Server Setup
|
|
171
171
|
|
package/dist/filter-helpers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TodoistApi } from '@
|
|
1
|
+
import { TodoistApi } from '@todoist/sdk';
|
|
2
2
|
export declare const RESPONSIBLE_USER_FILTERING: readonly ["assigned", "unassignedOrMe", "all"];
|
|
3
3
|
export type ResponsibleUserFiltering = (typeof RESPONSIBLE_USER_FILTERING)[number];
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-helpers.d.ts","sourceRoot":"","sources":["../src/filter-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"filter-helpers.d.ts","sourceRoot":"","sources":["../src/filter-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAG9C,eAAO,MAAM,0BAA0B,gDAAiD,CAAA;AACxF,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAA;AAElF;;;;;;GAMG;AACH,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,UAAU,EAClB,eAAe,EAAE,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC,CAaxD;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAQ5E;AAED;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,wBAA2C,GAC9C,EAAE;IACC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAA;IACtC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;CACtD,GAAG,MAAM,CAmBT;AAED;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAAC,CAAC,SAAS;IAAE,cAAc,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,EAChF,KAAK,EACL,kBAAkB,EAClB,aAAa,EACb,wBAA2C,GAC9C,EAAE;IACC,KAAK,EAAE,CAAC,EAAE,CAAA;IACV,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAA;IACtC,aAAa,EAAE,MAAM,CAAA;IACrB,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;CACtD,GAAG,CAAC,EAAE,CAgBN"}
|
package/dist/index.d.ts
CHANGED
|
@@ -142,7 +142,7 @@ declare const tools: {
|
|
|
142
142
|
responsibleUser?: string | undefined;
|
|
143
143
|
isUncompletable?: boolean | undefined;
|
|
144
144
|
}[];
|
|
145
|
-
}, client: import('@
|
|
145
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
146
146
|
textContent: string;
|
|
147
147
|
structuredContent: {
|
|
148
148
|
tasks: {
|
|
@@ -200,7 +200,7 @@ declare const tools: {
|
|
|
200
200
|
};
|
|
201
201
|
execute(args: {
|
|
202
202
|
ids: string[];
|
|
203
|
-
}, client: import('@
|
|
203
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
204
204
|
textContent: string;
|
|
205
205
|
structuredContent: {
|
|
206
206
|
completed: string[];
|
|
@@ -239,7 +239,7 @@ declare const tools: {
|
|
|
239
239
|
};
|
|
240
240
|
execute(args: {
|
|
241
241
|
ids: string[];
|
|
242
|
-
}, client: import('@
|
|
242
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
243
243
|
textContent: string;
|
|
244
244
|
structuredContent: {
|
|
245
245
|
uncompleted: string[];
|
|
@@ -346,7 +346,7 @@ declare const tools: {
|
|
|
346
346
|
labels?: string[] | undefined;
|
|
347
347
|
isUncompletable?: boolean | undefined;
|
|
348
348
|
}[];
|
|
349
|
-
}, client: import('@
|
|
349
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
350
350
|
textContent: string;
|
|
351
351
|
structuredContent: {
|
|
352
352
|
tasks: {
|
|
@@ -441,7 +441,7 @@ declare const tools: {
|
|
|
441
441
|
date: string;
|
|
442
442
|
duration?: string | undefined;
|
|
443
443
|
}[];
|
|
444
|
-
}, client: import('@
|
|
444
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
445
445
|
textContent: string;
|
|
446
446
|
structuredContent: {
|
|
447
447
|
tasks: {
|
|
@@ -549,7 +549,7 @@ declare const tools: {
|
|
|
549
549
|
cursor?: string | undefined;
|
|
550
550
|
filter?: string | undefined;
|
|
551
551
|
filterIdOrName?: string | undefined;
|
|
552
|
-
}, client: import('@
|
|
552
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
553
553
|
textContent: string;
|
|
554
554
|
structuredContent: {
|
|
555
555
|
tasks: {
|
|
@@ -669,7 +669,7 @@ declare const tools: {
|
|
|
669
669
|
cursor?: string | undefined;
|
|
670
670
|
responsibleUser?: string | undefined;
|
|
671
671
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
672
|
-
}, client: import('@
|
|
672
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
673
673
|
textContent: string;
|
|
674
674
|
structuredContent: {
|
|
675
675
|
tasks: {
|
|
@@ -782,7 +782,7 @@ declare const tools: {
|
|
|
782
782
|
parentId?: string | undefined;
|
|
783
783
|
responsibleUser?: string | undefined;
|
|
784
784
|
cursor?: string | undefined;
|
|
785
|
-
}, client: import('@
|
|
785
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
786
786
|
textContent: string;
|
|
787
787
|
structuredContent: {
|
|
788
788
|
tasks: {
|
|
@@ -927,14 +927,14 @@ declare const tools: {
|
|
|
927
927
|
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
928
928
|
workspace?: string | undefined;
|
|
929
929
|
}[];
|
|
930
|
-
}, client: import('@
|
|
930
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
931
931
|
textContent: string;
|
|
932
932
|
structuredContent: {
|
|
933
933
|
projects: {
|
|
934
934
|
id: string;
|
|
935
935
|
name: string;
|
|
936
936
|
description: string;
|
|
937
|
-
color: import('@
|
|
937
|
+
color: import('@todoist/sdk').ColorKey;
|
|
938
938
|
isFavorite: boolean;
|
|
939
939
|
isShared: boolean;
|
|
940
940
|
parentId: string | undefined;
|
|
@@ -1059,14 +1059,14 @@ declare const tools: {
|
|
|
1059
1059
|
description?: string | undefined;
|
|
1060
1060
|
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
1061
1061
|
}[];
|
|
1062
|
-
}, client: import('@
|
|
1062
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1063
1063
|
textContent: string;
|
|
1064
1064
|
structuredContent: {
|
|
1065
1065
|
projects: {
|
|
1066
1066
|
id: string;
|
|
1067
1067
|
name: string;
|
|
1068
1068
|
description: string;
|
|
1069
|
-
color: import('@
|
|
1069
|
+
color: import('@todoist/sdk').ColorKey;
|
|
1070
1070
|
isFavorite: boolean;
|
|
1071
1071
|
isShared: boolean;
|
|
1072
1072
|
parentId: string | undefined;
|
|
@@ -1156,14 +1156,14 @@ declare const tools: {
|
|
|
1156
1156
|
searchText?: string | undefined;
|
|
1157
1157
|
cursor?: string | undefined;
|
|
1158
1158
|
archivedStatus?: "all" | "active" | "archived" | undefined;
|
|
1159
|
-
}, client: import('@
|
|
1159
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1160
1160
|
textContent: string;
|
|
1161
1161
|
structuredContent: {
|
|
1162
1162
|
projects: {
|
|
1163
1163
|
id: string;
|
|
1164
1164
|
name: string;
|
|
1165
1165
|
description: string;
|
|
1166
|
-
color: import('@
|
|
1166
|
+
color: import('@todoist/sdk').ColorKey;
|
|
1167
1167
|
isFavorite: boolean;
|
|
1168
1168
|
isShared: boolean;
|
|
1169
1169
|
parentId: string | undefined;
|
|
@@ -1243,14 +1243,14 @@ declare const tools: {
|
|
|
1243
1243
|
execute(args: {
|
|
1244
1244
|
action: "archive" | "unarchive";
|
|
1245
1245
|
projectId: string;
|
|
1246
|
-
}, client: import('@
|
|
1246
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1247
1247
|
textContent: string;
|
|
1248
1248
|
structuredContent: {
|
|
1249
1249
|
project: {
|
|
1250
1250
|
id: string;
|
|
1251
1251
|
name: string;
|
|
1252
1252
|
description: string;
|
|
1253
|
-
color: import('@
|
|
1253
|
+
color: import('@todoist/sdk').ColorKey;
|
|
1254
1254
|
isFavorite: boolean;
|
|
1255
1255
|
isShared: boolean;
|
|
1256
1256
|
parentId: string | undefined;
|
|
@@ -1332,14 +1332,14 @@ declare const tools: {
|
|
|
1332
1332
|
workspaceId?: string | undefined;
|
|
1333
1333
|
folderId?: string | undefined;
|
|
1334
1334
|
visibility?: "public" | "restricted" | "team" | undefined;
|
|
1335
|
-
}, client: import('@
|
|
1335
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1336
1336
|
textContent: string;
|
|
1337
1337
|
structuredContent: {
|
|
1338
1338
|
project: {
|
|
1339
1339
|
id: string;
|
|
1340
1340
|
name: string;
|
|
1341
1341
|
description: string;
|
|
1342
|
-
color: import('@
|
|
1342
|
+
color: import('@todoist/sdk').ColorKey;
|
|
1343
1343
|
isFavorite: boolean;
|
|
1344
1344
|
isShared: boolean;
|
|
1345
1345
|
parentId: string | undefined;
|
|
@@ -1392,7 +1392,7 @@ declare const tools: {
|
|
|
1392
1392
|
projectId: string;
|
|
1393
1393
|
description?: string | undefined;
|
|
1394
1394
|
}[];
|
|
1395
|
-
}, client: import('@
|
|
1395
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1396
1396
|
textContent: string;
|
|
1397
1397
|
structuredContent: {
|
|
1398
1398
|
sections: {
|
|
@@ -1452,7 +1452,7 @@ declare const tools: {
|
|
|
1452
1452
|
name?: string | undefined;
|
|
1453
1453
|
description?: string | undefined;
|
|
1454
1454
|
}[];
|
|
1455
|
-
}, client: import('@
|
|
1455
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1456
1456
|
textContent: string;
|
|
1457
1457
|
structuredContent: {
|
|
1458
1458
|
sections: {
|
|
@@ -1499,7 +1499,7 @@ declare const tools: {
|
|
|
1499
1499
|
execute(args: {
|
|
1500
1500
|
projectId: string;
|
|
1501
1501
|
searchText?: string | undefined;
|
|
1502
|
-
}, client: import('@
|
|
1502
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1503
1503
|
textContent: string;
|
|
1504
1504
|
structuredContent: {
|
|
1505
1505
|
sections: {
|
|
@@ -1578,7 +1578,7 @@ declare const tools: {
|
|
|
1578
1578
|
projectId?: string | undefined;
|
|
1579
1579
|
notifyUsers?: string[] | undefined;
|
|
1580
1580
|
}[];
|
|
1581
|
-
}, client: import('@
|
|
1581
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1582
1582
|
textContent: string;
|
|
1583
1583
|
structuredContent: {
|
|
1584
1584
|
comments: {
|
|
@@ -1670,7 +1670,7 @@ declare const tools: {
|
|
|
1670
1670
|
commentId?: string | undefined;
|
|
1671
1671
|
cursor?: string | undefined;
|
|
1672
1672
|
limit?: number | undefined;
|
|
1673
|
-
}, client: import('@
|
|
1673
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1674
1674
|
textContent: string;
|
|
1675
1675
|
structuredContent: {
|
|
1676
1676
|
comments: {
|
|
@@ -1762,7 +1762,7 @@ declare const tools: {
|
|
|
1762
1762
|
id: string;
|
|
1763
1763
|
content: string;
|
|
1764
1764
|
}[];
|
|
1765
|
-
}, client: import('@
|
|
1765
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1766
1766
|
textContent: string;
|
|
1767
1767
|
structuredContent: {
|
|
1768
1768
|
comments: {
|
|
@@ -1919,7 +1919,7 @@ declare const tools: {
|
|
|
1919
1919
|
radius?: number | undefined;
|
|
1920
1920
|
notifyUser?: string | undefined;
|
|
1921
1921
|
})[];
|
|
1922
|
-
}, client: import('@
|
|
1922
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1923
1923
|
textContent: string;
|
|
1924
1924
|
structuredContent: {
|
|
1925
1925
|
reminders: ({
|
|
@@ -2021,7 +2021,7 @@ declare const tools: {
|
|
|
2021
2021
|
taskId?: string | undefined;
|
|
2022
2022
|
reminderId?: string | undefined;
|
|
2023
2023
|
locationReminderId?: string | undefined;
|
|
2024
|
-
}, client: import('@
|
|
2024
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
2025
2025
|
textContent: string;
|
|
2026
2026
|
structuredContent: {
|
|
2027
2027
|
reminders: ({
|
|
@@ -2187,7 +2187,7 @@ declare const tools: {
|
|
|
2187
2187
|
radius?: number | undefined;
|
|
2188
2188
|
notifyUser?: string | undefined;
|
|
2189
2189
|
})[];
|
|
2190
|
-
}, client: import('@
|
|
2190
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
2191
2191
|
textContent: string;
|
|
2192
2192
|
structuredContent: {
|
|
2193
2193
|
reminders: ({
|
|
@@ -2254,7 +2254,7 @@ declare const tools: {
|
|
|
2254
2254
|
};
|
|
2255
2255
|
execute({ fileUrl }: {
|
|
2256
2256
|
fileUrl: string;
|
|
2257
|
-
}, client: import('@
|
|
2257
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
2258
2258
|
textContent: string;
|
|
2259
2259
|
contentItems?: undefined;
|
|
2260
2260
|
} | {
|
|
@@ -2345,7 +2345,7 @@ declare const tools: {
|
|
|
2345
2345
|
order?: number | undefined;
|
|
2346
2346
|
isFavorite?: boolean | undefined;
|
|
2347
2347
|
}[];
|
|
2348
|
-
}, client: import('@
|
|
2348
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
2349
2349
|
textContent: string;
|
|
2350
2350
|
structuredContent: {
|
|
2351
2351
|
labels: {
|
|
@@ -2468,7 +2468,7 @@ declare const tools: {
|
|
|
2468
2468
|
name: string;
|
|
2469
2469
|
newName: string;
|
|
2470
2470
|
})[];
|
|
2471
|
-
}, client: import('@
|
|
2471
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
2472
2472
|
textContent: string;
|
|
2473
2473
|
structuredContent: {
|
|
2474
2474
|
updatedLabels: {
|
|
@@ -2548,7 +2548,7 @@ declare const tools: {
|
|
|
2548
2548
|
limit: number;
|
|
2549
2549
|
searchText?: string | undefined;
|
|
2550
2550
|
cursor?: string | undefined;
|
|
2551
|
-
}, client: import('@
|
|
2551
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
2552
2552
|
textContent: string;
|
|
2553
2553
|
structuredContent: {
|
|
2554
2554
|
labels: {
|
|
@@ -2620,7 +2620,7 @@ declare const tools: {
|
|
|
2620
2620
|
};
|
|
2621
2621
|
execute(args: {
|
|
2622
2622
|
search?: string | undefined;
|
|
2623
|
-
}, client: import('@
|
|
2623
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
2624
2624
|
textContent: string;
|
|
2625
2625
|
structuredContent: {
|
|
2626
2626
|
filters: {
|
|
@@ -2723,7 +2723,7 @@ declare const tools: {
|
|
|
2723
2723
|
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
2724
2724
|
isFavorite?: boolean | undefined;
|
|
2725
2725
|
}[];
|
|
2726
|
-
}, client: import('@
|
|
2726
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
2727
2727
|
textContent: string;
|
|
2728
2728
|
structuredContent: {
|
|
2729
2729
|
filters: {
|
|
@@ -2838,7 +2838,7 @@ declare const tools: {
|
|
|
2838
2838
|
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
2839
2839
|
isFavorite?: boolean | undefined;
|
|
2840
2840
|
}[];
|
|
2841
|
-
}, client: import('@
|
|
2841
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
2842
2842
|
textContent: string;
|
|
2843
2843
|
structuredContent: {
|
|
2844
2844
|
filters: {
|
|
@@ -2927,7 +2927,7 @@ declare const tools: {
|
|
|
2927
2927
|
dateFrom?: string | undefined;
|
|
2928
2928
|
dateTo?: string | undefined;
|
|
2929
2929
|
cursor?: string | undefined;
|
|
2930
|
-
}, client: import('@
|
|
2930
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
2931
2931
|
textContent: string;
|
|
2932
2932
|
structuredContent: {
|
|
2933
2933
|
events: {
|
|
@@ -3040,7 +3040,7 @@ declare const tools: {
|
|
|
3040
3040
|
destructiveHint: false;
|
|
3041
3041
|
idempotentHint: true;
|
|
3042
3042
|
};
|
|
3043
|
-
execute(_args: Record<string, never>, client: import('@
|
|
3043
|
+
execute(_args: Record<string, never>, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3044
3044
|
textContent: string;
|
|
3045
3045
|
structuredContent: {
|
|
3046
3046
|
completedCount: number;
|
|
@@ -3175,7 +3175,7 @@ declare const tools: {
|
|
|
3175
3175
|
execute(args: {
|
|
3176
3176
|
projectId: string;
|
|
3177
3177
|
includeContext: boolean;
|
|
3178
|
-
}, client: import('@
|
|
3178
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3179
3179
|
textContent: string;
|
|
3180
3180
|
structuredContent: {
|
|
3181
3181
|
projectId: string;
|
|
@@ -3245,7 +3245,7 @@ declare const tools: {
|
|
|
3245
3245
|
projectId: string;
|
|
3246
3246
|
weeks?: number | undefined;
|
|
3247
3247
|
includeWeeklyCounts?: boolean | undefined;
|
|
3248
|
-
}, client: import('@
|
|
3248
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3249
3249
|
textContent: string;
|
|
3250
3250
|
structuredContent: {
|
|
3251
3251
|
projectId: string;
|
|
@@ -3290,7 +3290,7 @@ declare const tools: {
|
|
|
3290
3290
|
};
|
|
3291
3291
|
execute(args: {
|
|
3292
3292
|
projectId: string;
|
|
3293
|
-
}, client: import('@
|
|
3293
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3294
3294
|
textContent: string;
|
|
3295
3295
|
structuredContent: {
|
|
3296
3296
|
projectId: string;
|
|
@@ -3342,7 +3342,7 @@ declare const tools: {
|
|
|
3342
3342
|
execute(args: {
|
|
3343
3343
|
workspaceIdOrName: string;
|
|
3344
3344
|
projectIds?: string[] | undefined;
|
|
3345
|
-
}, client: import('@
|
|
3345
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3346
3346
|
textContent: string;
|
|
3347
3347
|
structuredContent: {
|
|
3348
3348
|
workspaceId: string;
|
|
@@ -3436,7 +3436,7 @@ declare const tools: {
|
|
|
3436
3436
|
};
|
|
3437
3437
|
execute(args: {
|
|
3438
3438
|
projectId?: string | undefined;
|
|
3439
|
-
}, client: import('@
|
|
3439
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3440
3440
|
textContent: string;
|
|
3441
3441
|
structuredContent: import('./tools/get-overview.js').AccountOverviewStructured | import('./tools/get-overview.js').ProjectOverviewStructured;
|
|
3442
3442
|
}>;
|
|
@@ -3481,7 +3481,7 @@ declare const tools: {
|
|
|
3481
3481
|
execute(args: {
|
|
3482
3482
|
type: "filter" | "label" | "task" | "comment" | "reminder" | "project" | "section" | "location_reminder";
|
|
3483
3483
|
id: string;
|
|
3484
|
-
}, client: import('@
|
|
3484
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3485
3485
|
textContent: string;
|
|
3486
3486
|
structuredContent: {
|
|
3487
3487
|
deletedEntity: {
|
|
@@ -3628,7 +3628,7 @@ declare const tools: {
|
|
|
3628
3628
|
type: "task" | "comment" | "project" | "section";
|
|
3629
3629
|
id: string;
|
|
3630
3630
|
includeChildren?: boolean | undefined;
|
|
3631
|
-
}, client: import('@
|
|
3631
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3632
3632
|
textContent: string;
|
|
3633
3633
|
structuredContent: {
|
|
3634
3634
|
type: "task";
|
|
@@ -3677,7 +3677,7 @@ declare const tools: {
|
|
|
3677
3677
|
id: string;
|
|
3678
3678
|
name: string;
|
|
3679
3679
|
description: string;
|
|
3680
|
-
color: import('@
|
|
3680
|
+
color: import('@todoist/sdk').ColorKey;
|
|
3681
3681
|
isFavorite: boolean;
|
|
3682
3682
|
isShared: boolean;
|
|
3683
3683
|
parentId: string | undefined;
|
|
@@ -3773,7 +3773,7 @@ declare const tools: {
|
|
|
3773
3773
|
order?: number | undefined;
|
|
3774
3774
|
parentId?: string | undefined;
|
|
3775
3775
|
}[];
|
|
3776
|
-
}, client: import('@
|
|
3776
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3777
3777
|
textContent: string;
|
|
3778
3778
|
structuredContent: {
|
|
3779
3779
|
type: "project" | "section";
|
|
@@ -3818,7 +3818,7 @@ declare const tools: {
|
|
|
3818
3818
|
destructiveHint: false;
|
|
3819
3819
|
idempotentHint: true;
|
|
3820
3820
|
};
|
|
3821
|
-
execute(_args: Record<string, never>, client: import('@
|
|
3821
|
+
execute(_args: Record<string, never>, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3822
3822
|
textContent: string;
|
|
3823
3823
|
structuredContent: import('./tools/user-info.js').UserInfoStructured;
|
|
3824
3824
|
}>;
|
|
@@ -3842,7 +3842,7 @@ declare const tools: {
|
|
|
3842
3842
|
destructiveHint: false;
|
|
3843
3843
|
idempotentHint: true;
|
|
3844
3844
|
};
|
|
3845
|
-
execute(_args: Record<string, never>, client: import('@
|
|
3845
|
+
execute(_args: Record<string, never>, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3846
3846
|
textContent: string;
|
|
3847
3847
|
structuredContent: {
|
|
3848
3848
|
hasStatus: boolean;
|
|
@@ -3890,7 +3890,7 @@ declare const tools: {
|
|
|
3890
3890
|
pauseNotifications?: boolean | undefined;
|
|
3891
3891
|
pauseActivity?: boolean | undefined;
|
|
3892
3892
|
clear?: boolean | undefined;
|
|
3893
|
-
}, client: import('@
|
|
3893
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3894
3894
|
textContent: string;
|
|
3895
3895
|
structuredContent: {
|
|
3896
3896
|
hasStatus: boolean;
|
|
@@ -3934,7 +3934,7 @@ declare const tools: {
|
|
|
3934
3934
|
execute(args: {
|
|
3935
3935
|
projectId?: string | undefined;
|
|
3936
3936
|
searchTerm?: string | undefined;
|
|
3937
|
-
}, client: import('@
|
|
3937
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3938
3938
|
textContent: string;
|
|
3939
3939
|
structuredContent: {
|
|
3940
3940
|
collaborators: import('./utils/user-resolver.js').ProjectCollaborator[];
|
|
@@ -4034,7 +4034,7 @@ declare const tools: {
|
|
|
4034
4034
|
dryRun: boolean;
|
|
4035
4035
|
responsibleUser?: string | undefined;
|
|
4036
4036
|
fromAssigneeUser?: string | undefined;
|
|
4037
|
-
}, client: import('@
|
|
4037
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
4038
4038
|
textContent: string;
|
|
4039
4039
|
structuredContent: {
|
|
4040
4040
|
operation: "unassign";
|
|
@@ -4087,7 +4087,7 @@ declare const tools: {
|
|
|
4087
4087
|
projectId: string;
|
|
4088
4088
|
format: "file" | "url";
|
|
4089
4089
|
useRelativeDates?: boolean | undefined;
|
|
4090
|
-
}, client: import('@
|
|
4090
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
4091
4091
|
textContent: string;
|
|
4092
4092
|
structuredContent: {
|
|
4093
4093
|
format: "url";
|
|
@@ -4187,7 +4187,7 @@ declare const tools: {
|
|
|
4187
4187
|
templateId?: string | undefined;
|
|
4188
4188
|
csvFileContent?: string | undefined;
|
|
4189
4189
|
locale?: string | undefined;
|
|
4190
|
-
}, client: import('@
|
|
4190
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
4191
4191
|
textContent: string;
|
|
4192
4192
|
structuredContent: {
|
|
4193
4193
|
sections: {
|
|
@@ -4273,7 +4273,7 @@ declare const tools: {
|
|
|
4273
4273
|
destructiveHint: false;
|
|
4274
4274
|
idempotentHint: true;
|
|
4275
4275
|
};
|
|
4276
|
-
execute(_args: Record<string, never>, client: import('@
|
|
4276
|
+
execute(_args: Record<string, never>, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
4277
4277
|
textContent: string;
|
|
4278
4278
|
structuredContent: import('./tools/list-workspaces.js').WorkspacesStructured;
|
|
4279
4279
|
}>;
|
|
@@ -4299,7 +4299,7 @@ declare const tools: {
|
|
|
4299
4299
|
};
|
|
4300
4300
|
execute(args: {
|
|
4301
4301
|
query: string;
|
|
4302
|
-
}, client: import('@
|
|
4302
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
4303
4303
|
textContent: string;
|
|
4304
4304
|
structuredContent: {
|
|
4305
4305
|
results: {
|
|
@@ -4331,7 +4331,7 @@ declare const tools: {
|
|
|
4331
4331
|
};
|
|
4332
4332
|
execute(args: {
|
|
4333
4333
|
id: string;
|
|
4334
|
-
}, client: import('@
|
|
4334
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
4335
4335
|
textContent: string;
|
|
4336
4336
|
structuredContent: {
|
|
4337
4337
|
id: string;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as s } from "./mcp-server-
|
|
2
|
-
import { F as r, a as d, b as i, c as n, d as c, e as l, f as m, h as p, i as f, j as T, k as j, l as u, m as g, n as k, o as v, p as P, q as S, r as h, s as b, u as y, v as A, w as C, x as R, y as x, z as F, g as M, A as O, B as E, C as L, D as U, E as w, G as H, H as I, I as W, J as q, K as z, L as B, M as D, N, O as V, P as _, Q as G, R as J, S as K, T as Q, U as X, V as Y, W as Z, X as $, Y as ss, Z as as, _ as es } from "./mcp-server-
|
|
3
|
-
import { r as os, v as rs } from "./require-valid-todoist-token-
|
|
1
|
+
import { t as s } from "./mcp-server-_CJVvMcS.js";
|
|
2
|
+
import { F as r, a as d, b as i, c as n, d as c, e as l, f as m, h as p, i as f, j as T, k as j, l as u, m as g, n as k, o as v, p as P, q as S, r as h, s as b, u as y, v as A, w as C, x as R, y as x, z as F, g as M, A as O, B as E, C as L, D as U, E as w, G as H, H as I, I as W, J as q, K as z, L as B, M as D, N, O as V, P as _, Q as G, R as J, S as K, T as Q, U as X, V as Y, W as Z, X as $, Y as ss, Z as as, _ as es } from "./mcp-server-_CJVvMcS.js";
|
|
3
|
+
import { r as os, v as rs } from "./require-valid-todoist-token-BpGxBF3-.js";
|
|
4
4
|
const e = s;
|
|
5
5
|
export {
|
|
6
6
|
r as FEATURE_NAMES,
|
package/dist/main-http.js
CHANGED
|
@@ -4,8 +4,8 @@ import S from "dotenv";
|
|
|
4
4
|
import { toNodeHandler as w } from "@modelcontextprotocol/node";
|
|
5
5
|
import { createMcpHandler as v } from "@modelcontextprotocol/server";
|
|
6
6
|
import h from "express";
|
|
7
|
-
import { g as I } from "./mcp-server-
|
|
8
|
-
import { r as g } from "./require-valid-todoist-token-
|
|
7
|
+
import { g as I } from "./mcp-server-_CJVvMcS.js";
|
|
8
|
+
import { r as g } from "./require-valid-todoist-token-BpGxBF3-.js";
|
|
9
9
|
function p(e) {
|
|
10
10
|
return e.startsWith("[") && e.endsWith("]") ? e.slice(1, -1) : e;
|
|
11
11
|
}
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { serveStdio as t } from "@modelcontextprotocol/server/stdio";
|
|
3
3
|
import n from "dotenv";
|
|
4
|
-
import { g as s } from "./mcp-server-
|
|
4
|
+
import { g as s } from "./mcp-server-_CJVvMcS.js";
|
|
5
5
|
function i() {
|
|
6
6
|
const o = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
|
|
7
7
|
if (!r)
|
package/dist/mcp-helpers.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAE7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAMvD;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa;IACf;;;OAGG;;CAEG,CAAA;AAEV;;;GAGG;AACH,KAAK,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAA;AAErE;;GAEG;AACH,KAAK,OAAO,GAAG;IACX;;OAEG;IACH,IAAI,EAAE,WAAW,CAAA;CACpB,CAAA;AAED;;GAEG;AACH,KAAK,QAAQ,GAAG,OAAO,EAAE,CAAA;AA4CzB;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAsB3C;AAED;;;GAGG;AACH,iBAAS,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQjD;AAMD;;;;;;;GAOG;AACH,iBAAS,aAAa,CAAC,EACnB,KAAK,EACL,MAAM,EACN,MAAM,EACN,QAAa,GAChB,EAAE;IACC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;IAChC,MAAM,EAAE,SAAS,CAAA;IACjB,MAAM,EAAE,UAAU,CAAA;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,QA8BA;AAED,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,aAAa,EACb,qBAAqB,EACrB,mBAAmB,GACtB,CAAA"}
|