@doist/todoist-mcp 12.6.0 → 13.0.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 +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.js +3 -3
- package/dist/main-http.js +3 -3
- package/dist/main.js +2 -2
- package/dist/mcp-helpers.d.ts +1 -1
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/{mcp-server-D_To1yun.js → mcp-server-DmDfXvc6.js} +1004 -1012
- package/dist/mcp-server.d.ts +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/prompts/productivity-analysis.d.ts +6 -6
- package/dist/prompts/productivity-analysis.d.ts.map +1 -1
- package/dist/{require-valid-todoist-token-Bq33Qbug.js → require-valid-todoist-token-CmLQViiY.js} +1 -1
- package/dist/todoist-tool.d.ts +1 -1
- package/dist/todoist-tool.d.ts.map +1 -1
- package/dist/tool-registry.d.ts +10 -10
- package/dist/tools/find-completed-tasks.d.ts +3 -3
- package/dist/tools/find-tasks-by-date.d.ts +4 -4
- package/dist/tools/find-tasks.d.ts +3 -3
- package/dist/tools/view-attachment.d.ts +1 -1
- package/dist/tools/view-attachment.d.ts.map +1 -1
- package/dist/utils/labels.d.ts +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -150,7 +150,7 @@ This server includes `search` and `fetch` tools that follow the [OpenAI MCP spec
|
|
|
150
150
|
|
|
151
151
|
## Dependencies
|
|
152
152
|
|
|
153
|
-
- MCP server using the official [@modelcontextprotocol/
|
|
153
|
+
- MCP server using the official [@modelcontextprotocol/server](https://github.com/modelcontextprotocol/typescript-sdk)
|
|
154
154
|
- Todoist Typescript API client [@doist/todoist-sdk](https://github.com/Doist/todoist-sdk)
|
|
155
155
|
|
|
156
156
|
## MCP Server Setup
|
package/dist/index.d.ts
CHANGED
|
@@ -456,8 +456,8 @@ declare const tools: {
|
|
|
456
456
|
parameters: {
|
|
457
457
|
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
458
458
|
labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
459
|
-
or: "or";
|
|
460
459
|
and: "and";
|
|
460
|
+
or: "or";
|
|
461
461
|
}>>;
|
|
462
462
|
searchText: import('zod').ZodOptional<import('zod').ZodString>;
|
|
463
463
|
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -513,7 +513,7 @@ declare const tools: {
|
|
|
513
513
|
execute(args: {
|
|
514
514
|
limit: number;
|
|
515
515
|
labels?: string[] | undefined;
|
|
516
|
-
labelsOperator?: "
|
|
516
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
517
517
|
searchText?: string | undefined;
|
|
518
518
|
projectId?: string | undefined;
|
|
519
519
|
sectionId?: string | undefined;
|
|
@@ -551,7 +551,7 @@ declare const tools: {
|
|
|
551
551
|
appliedFilters: {
|
|
552
552
|
limit: number;
|
|
553
553
|
labels?: string[] | undefined;
|
|
554
|
-
labelsOperator?: "
|
|
554
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
555
555
|
searchText?: string | undefined;
|
|
556
556
|
projectId?: string | undefined;
|
|
557
557
|
sectionId?: string | undefined;
|
|
@@ -576,8 +576,8 @@ declare const tools: {
|
|
|
576
576
|
parameters: {
|
|
577
577
|
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
578
578
|
labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
579
|
-
or: "or";
|
|
580
579
|
and: "and";
|
|
580
|
+
or: "or";
|
|
581
581
|
}>>;
|
|
582
582
|
startDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
583
583
|
overdueOption: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
@@ -635,7 +635,7 @@ declare const tools: {
|
|
|
635
635
|
daysCount: number;
|
|
636
636
|
limit: number;
|
|
637
637
|
labels?: string[] | undefined;
|
|
638
|
-
labelsOperator?: "
|
|
638
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
639
639
|
startDate?: string | undefined;
|
|
640
640
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
641
641
|
cursor?: string | undefined;
|
|
@@ -670,7 +670,7 @@ declare const tools: {
|
|
|
670
670
|
daysCount: number;
|
|
671
671
|
limit: number;
|
|
672
672
|
labels?: string[] | undefined;
|
|
673
|
-
labelsOperator?: "
|
|
673
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
674
674
|
startDate?: string | undefined;
|
|
675
675
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
676
676
|
cursor?: string | undefined;
|
|
@@ -686,8 +686,8 @@ declare const tools: {
|
|
|
686
686
|
parameters: {
|
|
687
687
|
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
688
688
|
labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
689
|
-
or: "or";
|
|
690
689
|
and: "and";
|
|
690
|
+
or: "or";
|
|
691
691
|
}>>;
|
|
692
692
|
getBy: import('zod').ZodDefault<import('zod').ZodEnum<{
|
|
693
693
|
due: "due";
|
|
@@ -743,7 +743,7 @@ declare const tools: {
|
|
|
743
743
|
getBy: "due" | "completion";
|
|
744
744
|
limit: number;
|
|
745
745
|
labels?: string[] | undefined;
|
|
746
|
-
labelsOperator?: "
|
|
746
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
747
747
|
since?: string | undefined;
|
|
748
748
|
until?: string | undefined;
|
|
749
749
|
workspaceId?: string | undefined;
|
|
@@ -783,7 +783,7 @@ declare const tools: {
|
|
|
783
783
|
getBy: "due" | "completion";
|
|
784
784
|
limit: number;
|
|
785
785
|
labels?: string[] | undefined;
|
|
786
|
-
labelsOperator?: "
|
|
786
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
787
787
|
workspaceId?: string | undefined;
|
|
788
788
|
projectId?: string | undefined;
|
|
789
789
|
sectionId?: string | undefined;
|
|
@@ -2124,7 +2124,7 @@ declare const tools: {
|
|
|
2124
2124
|
contentItems?: undefined;
|
|
2125
2125
|
} | {
|
|
2126
2126
|
textContent: string;
|
|
2127
|
-
contentItems: import('@modelcontextprotocol/
|
|
2127
|
+
contentItems: import('@modelcontextprotocol/server').ContentBlock[];
|
|
2128
2128
|
}>;
|
|
2129
2129
|
};
|
|
2130
2130
|
addLabels: {
|
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 g, m as k, n as u, o as v, p as P, q as h, r as b, s as S, 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 w, E as H, G as I, H as W, I as q, J as z, K as B, L as D, M as N, N as U, O as V, P as G, Q as J, R as K, S as Q, T as X, U as Y, V as _, W as Z, X as $, Y as ss } from "./mcp-server-
|
|
3
|
-
import { r as es, v as ts } from "./require-valid-todoist-token-
|
|
1
|
+
import { t as s } from "./mcp-server-DmDfXvc6.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 g, m as k, n as u, o as v, p as P, q as h, r as b, s as S, 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 w, E as H, G as I, H as W, I as q, J as z, K as B, L as D, M as N, N as U, O as V, P as G, Q as J, R as K, S as Q, T as X, U as Y, V as _, W as Z, X as $, Y as ss } from "./mcp-server-DmDfXvc6.js";
|
|
3
|
+
import { r as es, v as ts } from "./require-valid-todoist-token-CmLQViiY.js";
|
|
4
4
|
const e = s;
|
|
5
5
|
export {
|
|
6
6
|
r as FEATURE_NAMES,
|
package/dist/main-http.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { isIP as p } from "node:net";
|
|
3
3
|
import O from "dotenv";
|
|
4
|
-
import {
|
|
4
|
+
import { NodeStreamableHTTPServerTransport as S } from "@modelcontextprotocol/node";
|
|
5
5
|
import m from "express";
|
|
6
|
-
import { g as v } from "./mcp-server-
|
|
7
|
-
import { r as w } from "./require-valid-todoist-token-
|
|
6
|
+
import { g as v } from "./mcp-server-DmDfXvc6.js";
|
|
7
|
+
import { r as w } from "./require-valid-todoist-token-CmLQViiY.js";
|
|
8
8
|
function f(t) {
|
|
9
9
|
return t.startsWith("[") && t.endsWith("]") ? t.slice(1, -1) : t;
|
|
10
10
|
}
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { StdioServerTransport as s } from "@modelcontextprotocol/
|
|
2
|
+
import { StdioServerTransport as s } from "@modelcontextprotocol/server/stdio";
|
|
3
3
|
import c from "dotenv";
|
|
4
|
-
import { g as i } from "./mcp-server-
|
|
4
|
+
import { g as i } from "./mcp-server-DmDfXvc6.js";
|
|
5
5
|
function p() {
|
|
6
6
|
const e = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
|
|
7
7
|
if (!r)
|
package/dist/mcp-helpers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TodoistApi } from '@doist/todoist-sdk';
|
|
2
|
-
import { McpServer } from '@modelcontextprotocol/
|
|
2
|
+
import { McpServer } from '@modelcontextprotocol/server';
|
|
3
3
|
import { AnyTodoistTool } from './todoist-tool.js';
|
|
4
4
|
/**
|
|
5
5
|
* Supported feature names that modify tool behavior.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EACR,SAAS,EAIZ,MAAM,8BAA8B,CAAA;AAErC,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,mBAAmB,CAAA;AAOtE;;;;;;;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;AAmKzB;;;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;AAED;;GAEG;AACH,iBAAS,YAAY,CAAC,EAClB,IAAI,EACJ,MAAM,EACN,MAAM,EACN,QAAa,GAChB,EAAE;IACC,IAAI,EAAE,cAAc,CAAA;IACpB,MAAM,EAAE,SAAS,CAAA;IACjB,MAAM,EAAE,UAAU,CAAA;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,QAyDA;AAED,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,GACtB,CAAA"}
|