togello-mcp-server 1.0.23 → 1.0.24
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
CHANGED
|
@@ -29,9 +29,9 @@ https://togello.com/sign
|
|
|
29
29
|
|
|
30
30
|
### Tools
|
|
31
31
|
|
|
32
|
-
- get-tasks-list: TODO 機能で未完了のタスクを取得します。タスク UUID / タスク名 / 予定開始日時 / 予定終了日時 / 優先度 / カテゴリ を認識できます。
|
|
33
|
-
- create-task: TODO 機能で新しいタスクを作成します。タスク名(taskName)を指定する必要があります。カテゴリー UUID(categoryUUID)、予定開始日時(scheduledStartDate)、URL(url)もオプションで指定できます。
|
|
34
|
-
- update-task: TODO
|
|
32
|
+
- get-tasks-list: TODO 機能で未完了のタスクを取得します。タスク UUID / タスク名 / 詳細(detail) / 予定開始日時 / 予定終了日時 / 優先度 / カテゴリ を認識できます。
|
|
33
|
+
- create-task: TODO 機能で新しいタスクを作成します。タスク名(taskName)を指定する必要があります。カテゴリー UUID(categoryUUID)、予定開始日時(scheduledStartDate)、URL(url)、詳細(detail)もオプションで指定できます。
|
|
34
|
+
- update-task: TODO 機能でタスクを更新します。タスクの完了状態に加えて詳細(detail)も更新できます。get-tasks-list で取得したタスク UUID を指定する必要があります。
|
|
35
35
|
- get-todo-category-list: TODO 機能からカテゴリーリストを取得します。カテゴリー名 / カテゴリー UUID を認識できます。
|
|
36
36
|
- get-today-calendar: 連携している Google カレンダーの昨日/今日/明日の予定を取得します。予定名 / 開始日時 / 終了日時 を認識できます。
|
|
37
37
|
- get-activity-item-list: 統合機能からアクティビティ項目のリストを取得します。アクティビティ項目 UUID / 項目名 を認識できます。
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { httpClient } from '../../client.js';
|
|
2
|
-
export const createTaskHandler = async ({ taskName, categoryUUID, scheduledStartDate, scheduledEndDate, url, }) => {
|
|
2
|
+
export const createTaskHandler = async ({ taskName, categoryUUID, scheduledStartDate, scheduledEndDate, url, detail, }) => {
|
|
3
3
|
try {
|
|
4
4
|
await httpClient.postJson({
|
|
5
5
|
path: '/v2/integration/todo',
|
|
@@ -9,6 +9,7 @@ export const createTaskHandler = async ({ taskName, categoryUUID, scheduledStart
|
|
|
9
9
|
scheduledStartDate: scheduledStartDate,
|
|
10
10
|
scheduledEndDate: scheduledEndDate,
|
|
11
11
|
url: url,
|
|
12
|
+
detail: detail,
|
|
12
13
|
},
|
|
13
14
|
});
|
|
14
15
|
return {
|
|
@@ -13,7 +13,7 @@ export const getTodoListHandler = async ({ categoryUUIDs }) => {
|
|
|
13
13
|
{
|
|
14
14
|
type: 'text',
|
|
15
15
|
text: `The following is a single task represented in the order:
|
|
16
|
-
[todo uuid, label of the task, scheduled start date, scheduled end date, priority, category of the task, URL associated with the task]`,
|
|
16
|
+
[todo uuid, label of the task, detail of the task, scheduled start date, scheduled end date, priority, category of the task, URL associated with the task]`,
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
type: 'text',
|
|
@@ -25,6 +25,7 @@ export const getTodoListHandler = async ({ categoryUUIDs }) => {
|
|
|
25
25
|
.map((todo) => [
|
|
26
26
|
todo.todoUUID,
|
|
27
27
|
todo.label,
|
|
28
|
+
todo.detail,
|
|
28
29
|
todo.scheduledStartDate,
|
|
29
30
|
todo.scheduledEndDate,
|
|
30
31
|
todo.priorityNumber,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { httpClient } from '../../client.js';
|
|
2
|
-
export const updateTaskHandler = async ({ todoUUID, isCompleted, scheduledStartDate, scheduledEndDate, url, }) => {
|
|
2
|
+
export const updateTaskHandler = async ({ todoUUID, isCompleted, scheduledStartDate, scheduledEndDate, url, detail, }) => {
|
|
3
3
|
try {
|
|
4
4
|
await httpClient.putJson({
|
|
5
5
|
path: `/v2/integration/todo/${todoUUID}`,
|
|
@@ -8,6 +8,7 @@ export const updateTaskHandler = async ({ todoUUID, isCompleted, scheduledStartD
|
|
|
8
8
|
scheduledStartDate,
|
|
9
9
|
scheduledEndDate,
|
|
10
10
|
url,
|
|
11
|
+
detail,
|
|
11
12
|
},
|
|
12
13
|
});
|
|
13
14
|
return {
|
package/build/mcpServer.js
CHANGED
|
@@ -29,7 +29,7 @@ export function createMcpServer(options = {}) {
|
|
|
29
29
|
tools: {},
|
|
30
30
|
},
|
|
31
31
|
});
|
|
32
|
-
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', {
|
|
32
|
+
server.tool('get-tasks-list', 'Retrieves incomplete tasks from the TODO feature. Recognizes task uuid / task name / detail / scheduled start date and time / scheduled end date and time / priority / category', {
|
|
33
33
|
categoryUUIDs: z.array(z.string()).optional().describe('Filters tasks by specified category UUIDs.'),
|
|
34
34
|
}, withUpstreamToken(getTodoListHandler, options.resolveUpstreamToken));
|
|
35
35
|
server.tool('create-task', 'Creates a new task in the TODO feature.', {
|
|
@@ -41,6 +41,7 @@ export function createMcpServer(options = {}) {
|
|
|
41
41
|
scheduledStartDate: z.string().optional().describe('Scheduled start date in ISO format.'),
|
|
42
42
|
scheduledEndDate: z.string().optional().describe('Scheduled end date in ISO format.'),
|
|
43
43
|
url: z.string().optional().describe('Optional URL associated with the task.'),
|
|
44
|
+
detail: z.string().optional().describe('Optional detail associated with the task.'),
|
|
44
45
|
}, withUpstreamToken(createTaskHandler, options.resolveUpstreamToken));
|
|
45
46
|
server.tool('update-task', 'Updates a task in the TODO feature.', {
|
|
46
47
|
todoUUID: z
|
|
@@ -61,6 +62,10 @@ export function createMcpServer(options = {}) {
|
|
|
61
62
|
.string()
|
|
62
63
|
.optional()
|
|
63
64
|
.describe('Optional URL associated with the task. If the user does not specify, the information obtained from get-tasks-list is passed.'),
|
|
65
|
+
detail: z
|
|
66
|
+
.string()
|
|
67
|
+
.optional()
|
|
68
|
+
.describe('Optional detail associated with the task. If the user does not specify, the information obtained from get-tasks-list is passed.'),
|
|
64
69
|
}, withUpstreamToken(updateTaskHandler, options.resolveUpstreamToken));
|
|
65
70
|
server.tool('get-todo-category-list', 'Retrieves the list of categories from the TODO feature. Recognizes category name / category UUID', {}, withUpstreamToken(getTodoCategoryListHandler, options.resolveUpstreamToken));
|
|
66
71
|
server.tool('get-today-calendar', 'Retrieves scheduled events for yesterday/today/tomorrow from the linked Google Calendar. Recognizes event name / start date and time / end date and time. ', {}, withUpstreamToken(getTodayCalendarHandler, options.resolveUpstreamToken));
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "togello-mcp-server",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.24",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "tsc && chmod 755 build/index.js",
|
|
8
|
+
"codex:preclone": "bash scripts/codex-cloud/preclone.sh",
|
|
8
9
|
"start": "node build/index.js",
|
|
9
10
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
10
11
|
},
|