@doist/todoist-mcp 13.10.2 → 13.11.1
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 +12 -0
- 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 +9 -4
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/{mcp-server-cg7S50xk.js → mcp-server-BhPX7dvL.js} +1187 -1260
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/{require-valid-todoist-token-DABuHNWL.js → require-valid-todoist-token-BOCa8T4B.js} +1 -1
- package/dist/todoist-tool.d.ts +7 -69
- package/dist/todoist-tool.d.ts.map +1 -1
- package/package.json +2 -1
- package/scripts/bump-plugin-version.mjs +5 -1
- package/dist/utils/sanitize-data.d.ts +0 -10
- package/dist/utils/sanitize-data.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -106,6 +106,18 @@ claude mcp add --transport http todoist https://ai.todoist.net/mcp
|
|
|
106
106
|
|
|
107
107
|
Then launch `claude`, execute `/mcp`, and select the `todoist` MCP server to authenticate.
|
|
108
108
|
|
|
109
|
+
#### Gemini CLI
|
|
110
|
+
|
|
111
|
+
Install the official Todoist extension with [Gemini CLI](https://geminicli.com/docs/get-started/installation/) 0.67.0 or later:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
gemini extensions install https://github.com/Doist/todoist-mcp
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Start or restart Gemini CLI, then run `/mcp auth todoist` and sign in with your Todoist account. Todoist hosts the server; no API key or local server is needed.
|
|
118
|
+
|
|
119
|
+
The assistant can read and change your Todoist tasks and projects. Revoke access at any time in Todoist under Settings → Integrations.
|
|
120
|
+
|
|
109
121
|
#### Visual Studio Code
|
|
110
122
|
|
|
111
123
|
1. Open Command Palette → MCP: Add Server
|
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-BhPX7dvL.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-BhPX7dvL.js";
|
|
3
|
+
import { r as os, v as rs } from "./require-valid-todoist-token-BOCa8T4B.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-BhPX7dvL.js";
|
|
8
|
+
import { r as g } from "./require-valid-todoist-token-BOCa8T4B.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 s from "dotenv";
|
|
4
|
-
import { g as n } from "./mcp-server-
|
|
4
|
+
import { g as n } from "./mcp-server-BhPX7dvL.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
|
@@ -45,13 +45,18 @@ declare function stripEmailsFromObject<T>(obj: T): T;
|
|
|
45
45
|
*/
|
|
46
46
|
declare function stripEmailsFromText(text: string): string;
|
|
47
47
|
/**
|
|
48
|
-
* Register
|
|
48
|
+
* Register Todoist tools in an MCP server.
|
|
49
|
+
*
|
|
50
|
+
* Schema caching, annotations, MCP Apps `_meta`, result shaping and turning a thrown error into
|
|
51
|
+
* an error result come from `@doist/mcp-core`. What is Todoist's own is wired in here: the API
|
|
52
|
+
* client, retries, usage tracking, `strip_emails`, and the API error formatting. One registrar
|
|
53
|
+
* serves every tool, since none of that depends on the tool.
|
|
49
54
|
*/
|
|
50
|
-
declare function
|
|
51
|
-
|
|
55
|
+
declare function registerTools({ tools, server, client, features, }: {
|
|
56
|
+
tools: readonly AnyTodoistTool[];
|
|
52
57
|
server: McpServer;
|
|
53
58
|
client: TodoistApi;
|
|
54
59
|
features?: Features;
|
|
55
60
|
}): void;
|
|
56
|
-
export { FEATURE_NAMES, type Feature, type FeatureName, type Features,
|
|
61
|
+
export { FEATURE_NAMES, type Feature, type FeatureName, type Features, registerTools, stripEmailsFromObject, stripEmailsFromText, };
|
|
57
62
|
//# sourceMappingURL=mcp-helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAC7D,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"}
|