togello-mcp-server 1.0.20 → 1.0.21
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 +11 -3
- package/build/handlers/tool/getTodoListHandler.js +6 -2
- package/build/index.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
This server implements the Model Context Protocol (MCP) for managing context in applications.
|
|
4
4
|
|
|
5
|
+
https://togello.com/sign
|
|
6
|
+
|
|
5
7
|
## Using npm
|
|
6
8
|
|
|
7
9
|
```
|
|
@@ -18,14 +20,14 @@ This server implements the Model Context Protocol (MCP) for managing context in
|
|
|
18
20
|
}
|
|
19
21
|
```
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
## Features
|
|
22
24
|
|
|
23
|
-
|
|
25
|
+
### Resources
|
|
24
26
|
|
|
25
27
|
- category-list: タスクのカテゴリー一覧を提供します。URI: `togello://category-list`
|
|
26
28
|
- activity-item-list: アクティビティ項目の一覧を提供します。URI: `togello://activity-item-list`
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
### Tools
|
|
29
31
|
|
|
30
32
|
- get-tasks-list: TODO 機能で未完了のタスクを取得します。タスク UUID / タスク名 / 予定開始日時 / 予定終了日時 / 優先度 / カテゴリ を認識できます。
|
|
31
33
|
- create-task: TODO 機能で新しいタスクを作成します。タスク名(taskName)を指定する必要があります。カテゴリー UUID(categoryUUID)、予定開始日時(scheduledStartDate)、URL(url)もオプションで指定できます。
|
|
@@ -38,6 +40,12 @@ This server implements the Model Context Protocol (MCP) for managing context in
|
|
|
38
40
|
- complete-activity-log: アクティビティログを完了します。`get-activity-log-list` で取得した、現在実行中のアクティビティログの UUID(`activityLogUUID`)を指定する必要があります。
|
|
39
41
|
- get-japan-current-time: Returns the current time in Japan (JST). No parameters are required.
|
|
40
42
|
|
|
43
|
+
## MCP Review
|
|
44
|
+
|
|
45
|
+
Certified
|
|
46
|
+
https://mcpreview.com/mcp-servers/toru-takagi/togello-mcp-server
|
|
47
|
+
|
|
48
|
+
|
|
41
49
|
## publish
|
|
42
50
|
|
|
43
51
|
```
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { httpClient } from '../../client.js';
|
|
2
|
-
export const getTodoListHandler = async () => {
|
|
2
|
+
export const getTodoListHandler = async ({ categoryUUIDs }) => {
|
|
3
3
|
try {
|
|
4
|
+
const categoryUUIDArray = categoryUUIDs ?? [];
|
|
5
|
+
const qs = categoryUUIDArray.length > 0
|
|
6
|
+
? `?${categoryUUIDArray.map((u) => `categoryUUID=${encodeURIComponent(u)}`).join('&')}`
|
|
7
|
+
: '';
|
|
4
8
|
const tasks = await httpClient.fetchURL({
|
|
5
|
-
path:
|
|
9
|
+
path: `/v2/integration/todo${qs}`,
|
|
6
10
|
});
|
|
7
11
|
return {
|
|
8
12
|
content: [
|
package/build/index.js
CHANGED
|
@@ -33,7 +33,9 @@ async function main() {
|
|
|
33
33
|
// "togello://activity-item-list",
|
|
34
34
|
// categoryListHandler
|
|
35
35
|
// );
|
|
36
|
-
server.tool('get-tasks-list', 'Retrieves incomplete tasks from the TODO feature. Recognizes task uuid / task name / scheduled start date and time / scheduled end date and time / priority / category', {
|
|
36
|
+
server.tool('get-tasks-list', 'Retrieves incomplete tasks from the TODO feature. Recognizes task uuid / task name / scheduled start date and time / scheduled end date and time / priority / category', {
|
|
37
|
+
categoryUUIDs: z.array(z.string()).optional().describe('Filters tasks by specified category UUIDs.'),
|
|
38
|
+
}, getTodoListHandler);
|
|
37
39
|
server.tool('create-task', 'Creates a new task in the TODO feature.', {
|
|
38
40
|
taskName: z.string().describe('create task name'),
|
|
39
41
|
categoryUUID: z
|