@doist/todoist-ai 2.1.0 → 2.2.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 +7 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.js +1 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -34,7 +34,13 @@ const result = streamText({
|
|
|
34
34
|
|
|
35
35
|
## Using as an MCP server
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
You can run the MCP server directly with npx:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npx @doist/todoist-ai
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
For convenience, we also include a function that initializes an MCP Server with all the tools available:
|
|
38
44
|
|
|
39
45
|
```js
|
|
40
46
|
import { getMcpServer } from "@doist/todoist-ai";
|
package/dist/main.d.ts
CHANGED
package/dist/main.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doist/todoist-ai",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
|
+
"bin": "./dist/main.js",
|
|
7
8
|
"files": [
|
|
8
9
|
"dist",
|
|
9
10
|
"scripts",
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
"scripts": {
|
|
26
27
|
"test": "jest",
|
|
27
28
|
"build": "rimraf dist && npx tsc --project tsconfig.json",
|
|
29
|
+
"postbuild": "chmod +x dist/main.js",
|
|
28
30
|
"start": "npm run build && npx @modelcontextprotocol/inspector node dist/main.js",
|
|
29
31
|
"dev": "concurrently \"npx tsc --watch\" \"nodemon --watch dist --ext js --exec 'npx @modelcontextprotocol/inspector node dist/main.js'\"",
|
|
30
32
|
"setup": "cp .env.example .env && npm install && npm run build",
|
|
@@ -40,7 +42,7 @@
|
|
|
40
42
|
"prepare": "husky"
|
|
41
43
|
},
|
|
42
44
|
"dependencies": {
|
|
43
|
-
"@doist/todoist-api-typescript": "5.1.
|
|
45
|
+
"@doist/todoist-api-typescript": "5.1.2",
|
|
44
46
|
"@modelcontextprotocol/sdk": "^1.11.1",
|
|
45
47
|
"date-fns": "^4.1.0",
|
|
46
48
|
"dotenv": "^16.5.0",
|