@pxlabz/tasq-mcp 0.1.26 → 0.3.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 +5 -117
- package/package.json +8 -28
- package/tasq-mcp.js +5 -0
- package/dist/tasq-mcp.js +0 -32314
- package/examples/smoke-client.ts +0 -101
package/README.md
CHANGED
|
@@ -1,123 +1,11 @@
|
|
|
1
|
-
# @pxlabz/tasq-mcp
|
|
1
|
+
# @pxlabz/tasq-mcp is now @tasqmate/mcp
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
threads, comments and agent mentions, for harnesses that speak the Model
|
|
5
|
-
Context Protocol rather than a shell.
|
|
3
|
+
This package is the old name of the Tasqmate MCP server. It runs [`@tasqmate/mcp`](https://www.npmjs.com/package/@tasqmate/mcp), so an MCP config that launches `bunx @pxlabz/tasq-mcp` keeps working and keeps getting new versions. It is published until 15 January 2027.
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
what an agent can do in Tasq; this package adds convenience, not capability.
|
|
9
|
-
Every tool here mirrors one CLI command, takes the same option names, and
|
|
10
|
-
returns the same JSON that command prints under `--json`. If the two ever
|
|
11
|
-
disagree, the CLI is right. An agent that can run a shell should use the CLI.
|
|
12
|
-
|
|
13
|
-
## Install
|
|
14
|
-
|
|
15
|
-
Nothing to install: point your harness at `bunx @pxlabz/tasq-mcp`.
|
|
16
|
-
|
|
17
|
-
## Environment
|
|
18
|
-
|
|
19
|
-
The same three variables the CLI reads.
|
|
20
|
-
|
|
21
|
-
| Variable | Required | Meaning |
|
|
22
|
-
| ---------------- | -------- | ---------------------------------------------------------------- |
|
|
23
|
-
| `TASQ_API_KEY` | yes | A Tasq agent key (`tq_ag_…`). The server refuses to start without one. |
|
|
24
|
-
| `TASQ_WORKSPACE` | no | Default workspace slug. Every tool takes a `workspace` input that overrides it. |
|
|
25
|
-
| `TASQ_API_URL` | no | API base URL. Defaults to `https://tasq.pxlabz.com`. |
|
|
26
|
-
|
|
27
|
-
## Claude Code
|
|
5
|
+
To move, point your config at the new package and the new variable names:
|
|
28
6
|
|
|
29
7
|
```sh
|
|
30
|
-
claude mcp add
|
|
8
|
+
claude mcp add tasqmate -e TASQMATE_API_KEY=tq_ag_… -e TASQMATE_WORKSPACE=acme -- bunx @tasqmate/mcp
|
|
31
9
|
```
|
|
32
10
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
```json
|
|
36
|
-
{
|
|
37
|
-
"mcpServers": {
|
|
38
|
-
"tasq": {
|
|
39
|
-
"command": "bunx",
|
|
40
|
-
"args": ["@pxlabz/tasq-mcp"],
|
|
41
|
-
"env": {
|
|
42
|
-
"TASQ_API_KEY": "tq_ag_…",
|
|
43
|
-
"TASQ_WORKSPACE": "acme"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Dependencies
|
|
51
|
-
|
|
52
|
-
`@modelcontextprotocol/sdk` and `zod`. The zod dependency is pinned to exactly
|
|
53
|
-
`4.3.6`: Bun hoists one copy for the whole workspace, and 4.6.x re-hoists the
|
|
54
|
-
root copy and breaks `apps/api`'s typecheck, so the pin holds until the repo
|
|
55
|
-
moves together.
|
|
56
|
-
|
|
57
|
-
## Tools
|
|
58
|
-
|
|
59
|
-
Twenty-two tools, stdio transport only. No resources, no prompts. There is no
|
|
60
|
-
tool that sends a project update: an agent drafts, and a person sends. There
|
|
61
|
-
is no tool that shares a project with a guest either: no agent may share,
|
|
62
|
-
so `tasq project share` and the web Share dialog are the only ways in.
|
|
63
|
-
|
|
64
|
-
| Tool | Mirrors | Inputs |
|
|
65
|
-
| ---------------- | ---------------------- | ---------------------------------------------------------------------------- |
|
|
66
|
-
| `task_list` | `tasq task list` | `workspace`, `team`, `status`, `assignee`, `priority`, `project`, `cycle`, `q`, `includeArchived` |
|
|
67
|
-
| `task_view` | `tasq task view` | `workspace`, `id` |
|
|
68
|
-
| `task_create` | `tasq task create` | `workspace`, `title`, `team`, `description`, `priority`, `project`, `labels`, `due`, `start`, `parent`, `fields` |
|
|
69
|
-
| `task_update` | `tasq task update` | `workspace`, `id`, `title`, `description`, `priority`, `status`, `due`, `start`, `parent`, `fields` |
|
|
70
|
-
| `task_request_approval` | `tasq task request-approval` | `workspace`, `id`, `approver` |
|
|
71
|
-
| `field_list` | `tasq field list` | `workspace`, `all` |
|
|
72
|
-
| `time_log` | `tasq time log` | `workspace`, `task`, `duration`, `day`, `note`, `billable` (`yes`/`no`/`unset`) |
|
|
73
|
-
| `time_list` | `tasq time list` | `workspace`, `task` |
|
|
74
|
-
| `time_edit` | `tasq time edit` | `workspace`, `entryId`, `duration`, `day`, `note` (`null` clears), `billable` |
|
|
75
|
-
| `time_delete` | `tasq time delete` | `workspace`, `entryId` |
|
|
76
|
-
| `client_hours` | `tasq clients hours` | `workspace`, `client`, `month` (`YYYY-MM`), `billableOnly` |
|
|
77
|
-
| `my_week` | `tasq week` | `workspace`, `day` (`YYYY-MM-DD`) |
|
|
78
|
-
| `time_draft_get` | `tasq timesheet show` | `workspace`, `draftId`: the draft from a `timesheet_due` or `timesheet_reply` event, with the member's day |
|
|
79
|
-
| `time_draft_save` | `tasq timesheet save` | `workspace`, `draftId`, `lines` (`task`, `duration`, `billable?`, `evidence?`), `message?` |
|
|
80
|
-
| `client_billing` | `tasq clients billing` | `workspace`, `client` |
|
|
81
|
-
| `billing_period_close` | `tasq clients close` | `workspace`, `client`, `month` (admins) |
|
|
82
|
-
| `billing_period_mark_invoiced` | `tasq clients invoice` | `workspace`, `client`, `month`, `invoiceRef` (admins) |
|
|
83
|
-
| `billing_period_reopen` | `tasq clients reopen` | `workspace`, `client`, `month` (admins) |
|
|
84
|
-
| `comment_add` | `tasq comment add` | `workspace`, `body`, `task`, `project`, `doc`, `propose`, `replyTo`, `thread`, `mentions` |
|
|
85
|
-
| `thread_view` | `tasq thread view` | `workspace`, `threadId` |
|
|
86
|
-
| `thread_context` | `tasq thread context` | `workspace`, `threadId`, `format` (`markdown` by default) |
|
|
87
|
-
| `project_list` | `tasq project list` | `workspace` |
|
|
88
|
-
| `initiative_list` | `tasq initiative list` | `workspace` |
|
|
89
|
-
| `activity_list` | `tasq activity` | `workspace`, `limit` |
|
|
90
|
-
| `project_update_list` | `tasq update list` | `workspace`, `project`, `limit` |
|
|
91
|
-
| `project_update_draft` | `tasq update draft` | `workspace`, `project`, `health`, `body` |
|
|
92
|
-
| `cycle_current` | `tasq cycle current` | `workspace`, `team` |
|
|
93
|
-
| `events_listen` | `tasq events listen` | `workspace`, `wait` (seconds, 0–25) |
|
|
94
|
-
| `events_ack` | `tasq events ack` | `workspace`, `ids` |
|
|
95
|
-
| `whoami` | `tasq auth whoami` | — |
|
|
96
|
-
|
|
97
|
-
### Custom fields
|
|
98
|
-
|
|
99
|
-
`field_list` returns each field compactly — `id`, `key`, `name`, `type`, `appliesTo`, live `options` by name, `archived` — rather than the full library `tasq field list --json` prints; archived fields only with `all`. `fields` on `task_create` and `task_update` is one object of field key to value, the CLI's repeated `--field key=value`: `{"budget": 1200, "tier": "Gold", "areas": ["Web", "API"], "owner": "ana@example.com"}`. Options and people go by name (a person also by email), a list field also takes `"a,b"`, and `null` clears. Each field is set after the task is written, one `task.setField` per key, and the result leads with a `Name: value.` line per field as the server read it. An unknown key is a usage error naming the task fields, before anything is written.
|
|
100
|
-
|
|
101
|
-
### The event loop
|
|
102
|
-
|
|
103
|
-
`events_listen` is one poll, not a stream: an MCP tool call has to return, so
|
|
104
|
-
the harness calls it again rather than the server holding the connection open.
|
|
105
|
-
The loop is the CLI's — listen, act, then `events_ack` last. An unacknowledged
|
|
106
|
-
event is offered again ten minutes after delivery, so a crash between acting
|
|
107
|
-
and acking costs nothing; an event acked up front is gone.
|
|
108
|
-
|
|
109
|
-
### Errors
|
|
110
|
-
|
|
111
|
-
A failed call comes back as a tool error whose first line carries the category
|
|
112
|
-
from the CLI's exit-code table, so the two read as one.
|
|
113
|
-
|
|
114
|
-
| Prefix | CLI exit code | Meaning |
|
|
115
|
-
| --------------------- | ------------- | ---------------------------------------------------------- |
|
|
116
|
-
| `Error (1):` | 1 | Something failed; the message says what. |
|
|
117
|
-
| `Usage error (2):` | 2 | A bad input, or a mention name matching no agent or several. |
|
|
118
|
-
| `Rate limited (3):` | 3 | The message says how many seconds to wait. The tool returns rather than sleeping — retry when it says. |
|
|
119
|
-
| `Policy denied (4):` | 4 | Your policy refused the action. Do not retry it; say what was refused. |
|
|
120
|
-
|
|
121
|
-
## License
|
|
122
|
-
|
|
123
|
-
MIT
|
|
11
|
+
The `TASQ_*` variable names still work, and the tool names (`task_list`, `task_update`, …) are unchanged.
|
package/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pxlabz/tasq-mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Renamed to @tasqmate/mcp. This package runs it so existing MCP configs keep working until January 2027.",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"
|
|
7
|
-
"mcp"
|
|
8
|
-
"agents",
|
|
9
|
-
"project-management",
|
|
10
|
-
"model-context-protocol"
|
|
6
|
+
"tasqmate",
|
|
7
|
+
"mcp"
|
|
11
8
|
],
|
|
12
9
|
"license": "MIT",
|
|
13
10
|
"author": "Paul Cedrick Artigo",
|
|
@@ -15,19 +12,15 @@
|
|
|
15
12
|
"repository": {
|
|
16
13
|
"type": "git",
|
|
17
14
|
"url": "git+https://github.com/pxlabz/tasq.git",
|
|
18
|
-
"directory": "packages/mcp"
|
|
19
|
-
},
|
|
20
|
-
"bugs": {
|
|
21
|
-
"url": "https://github.com/pxlabz/tasq/issues"
|
|
15
|
+
"directory": "packages/legacy-mcp"
|
|
22
16
|
},
|
|
23
17
|
"private": false,
|
|
24
18
|
"type": "module",
|
|
25
19
|
"bin": {
|
|
26
|
-
"tasq-mcp": "./
|
|
20
|
+
"tasq-mcp": "./tasq-mcp.js"
|
|
27
21
|
},
|
|
28
22
|
"files": [
|
|
29
|
-
"
|
|
30
|
-
"examples",
|
|
23
|
+
"tasq-mcp.js",
|
|
31
24
|
"README.md",
|
|
32
25
|
"LICENSE"
|
|
33
26
|
],
|
|
@@ -37,20 +30,7 @@
|
|
|
37
30
|
"engines": {
|
|
38
31
|
"node": ">=20.3"
|
|
39
32
|
},
|
|
40
|
-
"scripts": {
|
|
41
|
-
"build": "tsup && chmod +x dist/tasq-mcp.js",
|
|
42
|
-
"typecheck": "tsc --project tsconfig.json --noEmit",
|
|
43
|
-
"lint": "cd ../.. && bun --bun ./node_modules/oxlint/bin/oxlint packages/mcp",
|
|
44
|
-
"test": "bun test"
|
|
45
|
-
},
|
|
46
33
|
"dependencies": {
|
|
47
|
-
"@
|
|
48
|
-
"zod": "4.3.6"
|
|
49
|
-
},
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"@pxlabz/tasq-sdk": "0.1.18",
|
|
52
|
-
"@types/bun": "^1.3.12",
|
|
53
|
-
"tsup": "^8.5.0",
|
|
54
|
-
"typescript": "^5.7.2"
|
|
34
|
+
"@tasqmate/mcp": "0.3.0"
|
|
55
35
|
}
|
|
56
36
|
}
|
package/tasq-mcp.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @pxlabz/tasq-mcp is now @tasqmate/mcp. This runs it, so an MCP config that
|
|
3
|
+
// launches `bunx @pxlabz/tasq-mcp` keeps working and keeps getting new
|
|
4
|
+
// versions. Nothing is printed: stdout belongs to the MCP protocol.
|
|
5
|
+
await import("@tasqmate/mcp/dist/tasqmate-mcp.js");
|