@impv_npm/task-manager-mcp 1.0.1 → 1.1.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 +49 -0
- package/dist/index.js +0 -0
- package/dist/tools.js +16 -0
- package/package.json +7 -8
package/README.md
CHANGED
|
@@ -203,6 +203,55 @@ npx -y @impv_npm/task-manager-mcp
|
|
|
203
203
|
}
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
+
## Claude Code プラグイン(/task スキル)
|
|
207
|
+
|
|
208
|
+
MCPサーバーに加えて、Claude Code用のプラグイン(スキル)をインストールすると、`/task` コマンドでより便利にタスク管理ができます。
|
|
209
|
+
|
|
210
|
+
### プラグインのインストール
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
# リポジトリをクローン後
|
|
214
|
+
cd task-manager
|
|
215
|
+
./claude-plugin/install.sh
|
|
216
|
+
|
|
217
|
+
# 自然言語対応(task-routing.md)も含める場合
|
|
218
|
+
./claude-plugin/install.sh --with-rules
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### アンインストール
|
|
222
|
+
|
|
223
|
+
```bash
|
|
224
|
+
./claude-plugin/uninstall.sh
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
### 利用可能なコマンド
|
|
228
|
+
|
|
229
|
+
| コマンド | 説明 |
|
|
230
|
+
|---------|------|
|
|
231
|
+
| `/task` | タスクを作成(対話形式) |
|
|
232
|
+
| `/task list` | タスク一覧を表示 |
|
|
233
|
+
| `/task do [N]` | タスク #N を開始 |
|
|
234
|
+
| `/task review [N]` | タスク #N をレビュー待ちに |
|
|
235
|
+
| `/task done [N]` | タスク #N を完了 |
|
|
236
|
+
| `/task close [N]` | タスク #N をクローズ |
|
|
237
|
+
| `/task delete [N]` | タスク #N を削除 |
|
|
238
|
+
| `/task advise` | 次にやるべきタスクを提案 |
|
|
239
|
+
| `/task hello` | 業務開始 |
|
|
240
|
+
| `/task bye` | 業務終了 |
|
|
241
|
+
| `/task board` | タスクボードを開く |
|
|
242
|
+
| `/task today` | 今日の進捗を表示 |
|
|
243
|
+
|
|
244
|
+
### 自然言語対応(--with-rules オプション)
|
|
245
|
+
|
|
246
|
+
`task-routing.md` をインストールすると、自然言語でもタスク操作が可能になります:
|
|
247
|
+
|
|
248
|
+
- 「次何やる?」 → `/task advise`
|
|
249
|
+
- 「タスク一覧」 → `/task list`
|
|
250
|
+
- 「業務開始」 → `/task hello`
|
|
251
|
+
- 「タスク完了」 → `/task done`
|
|
252
|
+
|
|
253
|
+
詳細は `claude-plugin/README.md` を参照してください。
|
|
254
|
+
|
|
206
255
|
## 活用例
|
|
207
256
|
|
|
208
257
|
### 1. 朝の業務開始
|
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/tools.js
CHANGED
|
@@ -127,4 +127,20 @@ export function registerTools(server, client) {
|
|
|
127
127
|
],
|
|
128
128
|
};
|
|
129
129
|
});
|
|
130
|
+
// list_clients - クライアント一覧取得
|
|
131
|
+
server.tool("list_clients", "既存のクライアント名一覧を取得します。タスク作成時に表記ブレを防ぐために使用してください。", {}, async () => {
|
|
132
|
+
const result = await client.call("list_clients", {});
|
|
133
|
+
return {
|
|
134
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
|
|
135
|
+
};
|
|
136
|
+
});
|
|
137
|
+
// list_projects - プロジェクト一覧取得
|
|
138
|
+
server.tool("list_projects", "既存のプロジェクト名一覧を取得します。タスク作成時に表記ブレを防ぐために使用してください。", {
|
|
139
|
+
client: z.string().optional().describe("クライアント名でフィルタ(指定しない場合は全て)"),
|
|
140
|
+
}, async (params) => {
|
|
141
|
+
const result = await client.call("list_projects", params);
|
|
142
|
+
return {
|
|
143
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
|
|
144
|
+
};
|
|
145
|
+
});
|
|
130
146
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@impv_npm/task-manager-mcp",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,12 +9,6 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "tsc",
|
|
14
|
-
"start": "node dist/index.js",
|
|
15
|
-
"dev": "tsx src/index.ts",
|
|
16
|
-
"prepublishOnly": "pnpm build"
|
|
17
|
-
},
|
|
18
12
|
"dependencies": {
|
|
19
13
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
20
14
|
"zod": "^4.3.6"
|
|
@@ -26,5 +20,10 @@
|
|
|
26
20
|
},
|
|
27
21
|
"publishConfig": {
|
|
28
22
|
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsc",
|
|
26
|
+
"start": "node dist/index.js",
|
|
27
|
+
"dev": "tsx src/index.ts"
|
|
29
28
|
}
|
|
30
|
-
}
|
|
29
|
+
}
|