kanban-zone-mcp-server 0.3.3 → 0.3.4
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 +26 -10
- package/package.json +1 -1
- package/src/constants.js +1 -1
- package/src/tools/checklists.js +13 -4
package/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Kanban Zone MCP Server
|
|
2
2
|
|
|
3
|
-
[Model Context Protocol](https://modelcontextprotocol.io/) server that lets AI assistants (Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, and any
|
|
3
|
+
[Model Context Protocol](https://modelcontextprotocol.io/) server that lets AI assistants (Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, and any MCP client) drive your [Kanban Zone](https://kanbanzone.com) workspace via the public API.
|
|
4
4
|
|
|
5
5
|
27 tools across boards, cards, comments, checklists, tasks, and labels. No delete operations.
|
|
6
6
|
|
|
7
|
+
**Two ways to connect.** The **hosted server** at `https://mcp.kanbanzone.io/mcp` is the recommended option for every client, Claude Desktop included — paste the URL, sign in with your Kanban Zone account, done. Nothing to install, no API key to manage, and you always get the current tool set. The **local install** (this npm package) runs the same server on your own machine over stdio — for stdio-only clients, unattended setups like CI where a browser sign-in isn't possible, restricted networks, or developing against a fork.
|
|
8
|
+
|
|
7
9
|
## What you can do
|
|
8
10
|
|
|
9
11
|
- Read your boards, columns, labels, members, and custom fields.
|
|
@@ -14,9 +16,23 @@
|
|
|
14
16
|
- Create, update, and list checklists — including bulk task creation in a single call.
|
|
15
17
|
- Create, update, and move tasks.
|
|
16
18
|
|
|
17
|
-
## Quick start (
|
|
19
|
+
## Quick start (hosted — recommended)
|
|
20
|
+
|
|
21
|
+
**Claude Desktop:** open **Settings → Connectors → Add custom connector**, paste `https://mcp.kanbanzone.io/mcp`, and click **Connect**. A browser window opens to sign in to Kanban Zone and approve access — the tools then appear in the tool picker. No config file, no API key.
|
|
22
|
+
|
|
23
|
+
**Claude Code:**
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
claude mcp add --transport http kanbanzone https://mcp.kanbanzone.io/mcp
|
|
27
|
+
```
|
|
18
28
|
|
|
19
|
-
|
|
29
|
+
Sign in when prompted. Where a browser sign-in isn't possible, the hosted server also accepts an API key as a header: `Authorization: Bearer accessId:apiKey`.
|
|
30
|
+
|
|
31
|
+
## Local install (Claude Desktop)
|
|
32
|
+
|
|
33
|
+
Prefer the hosted quick start above. Use a local install when your client is stdio-only, your setup is unattended (an API key in an env var beats a browser sign-in there), your network blocks `mcp.kanbanzone.io`, or you're developing against a fork.
|
|
34
|
+
|
|
35
|
+
1. **Get an API key.** In Kanban Zone: **Settings → Integrations → API Keys**. Copy the whole thing — it looks like `accessId:apiKey`.
|
|
20
36
|
|
|
21
37
|
2. **Edit your config.**
|
|
22
38
|
|
|
@@ -41,7 +57,7 @@
|
|
|
41
57
|
|
|
42
58
|
4. **Try it.** Ask Claude: *"Is my Kanban Zone connection working?"* — Claude calls `kanbanzone_get_me` and replies with your org name.
|
|
43
59
|
|
|
44
|
-
##
|
|
60
|
+
## Local install (Claude Code)
|
|
45
61
|
|
|
46
62
|
```bash
|
|
47
63
|
claude mcp add kanbanzone \
|
|
@@ -51,9 +67,11 @@ claude mcp add kanbanzone \
|
|
|
51
67
|
|
|
52
68
|
## Configuration
|
|
53
69
|
|
|
70
|
+
Environment variables for the local server:
|
|
71
|
+
|
|
54
72
|
| Variable | Required | Default | Description |
|
|
55
73
|
| --- | --- | --- | --- |
|
|
56
|
-
| `KANBANZONE_API_KEY` | yes | — | Composite credential `accessId:apiKey`. Generate in **
|
|
74
|
+
| `KANBANZONE_API_KEY` | yes | — | Composite credential `accessId:apiKey`. Generate in **Settings → Integrations → API Keys**. |
|
|
57
75
|
| `KANBANZONE_BASE_URL` | no | `https://integrations.kanbanzone.io/v1` | Override only when pointing at a non-production environment. |
|
|
58
76
|
|
|
59
77
|
The server validates the key on startup. A missing or malformed value (no `:` separator) exits immediately with a message pointing at the org settings page.
|
|
@@ -97,7 +115,7 @@ Plain JavaScript — no compile step.
|
|
|
97
115
|
|
|
98
116
|
## Troubleshooting
|
|
99
117
|
|
|
100
|
-
**`401` on every tool call.** API key
|
|
118
|
+
**`401` on every tool call.** If you connected with an API key, it's wrong or expired — regenerate it. If you signed in to the hosted server, disconnect it in your client and connect again for a fresh token.
|
|
101
119
|
|
|
102
120
|
**Tools don't appear in the client.** Confirm the path is correct and the client was restarted after editing config. For `npx` installs, run `npx -y kanban-zone-mcp-server` once manually to make sure it downloads cleanly.
|
|
103
121
|
|
|
@@ -107,11 +125,9 @@ Plain JavaScript — no compile step.
|
|
|
107
125
|
|
|
108
126
|
## Security
|
|
109
127
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
## What's next
|
|
128
|
+
The local server runs on your machine. It does not transmit data to any third-party AI service — every API call goes directly to `https://integrations.kanbanzone.io`. Your API key never leaves your machine except as an `Authorization: Basic` header on those direct calls.
|
|
113
129
|
|
|
114
|
-
The server is
|
|
130
|
+
The hosted server is operated by Kanban Zone and talks to that same public API. Signing in uses OAuth and makes a **user-level** connection: your client holds an access token tied to your account, the tools reach what your account can reach, and changes are attributed to your name. An API key is an **org-level** credential — it acts as the organization's integration identity and by default reaches every board in the org (keys can be scoped to chosen boards when generated).
|
|
115
131
|
|
|
116
132
|
## License
|
|
117
133
|
|
package/package.json
CHANGED
package/src/constants.js
CHANGED
package/src/tools/checklists.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const { z } = require('zod');
|
|
2
2
|
const { makeApiRequest, safeRun } = require('../client');
|
|
3
|
-
const { responseFormatField, ResponseFormat, toJsonString, truncateIfNeeded } = require('../format');
|
|
3
|
+
const { responseFormatField, ResponseFormat, toJsonString, truncateIfNeeded, RICH_TEXT_HELP } = require('../format');
|
|
4
|
+
const { markdownToHtml } = require('../markdown');
|
|
4
5
|
const { objectIdField } = require('../schemas');
|
|
5
6
|
|
|
6
7
|
const READ = { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true };
|
|
@@ -19,7 +20,7 @@ const registerChecklistsTools = server => {
|
|
|
19
20
|
' - card (string, required): card ObjectId.',
|
|
20
21
|
' - title (string, optional): checklist title.',
|
|
21
22
|
' - checklistTemplate (string, optional): checklist template ObjectId.',
|
|
22
|
-
|
|
23
|
+
` - tasks (array, optional): list of { description: string }. ${RICH_TEXT_HELP} Task position is taken from array index — any \`position\` field on a task is ignored.`,
|
|
23
24
|
'',
|
|
24
25
|
'Examples:',
|
|
25
26
|
' - "Add a checklist to card 670... with tasks: write tests, update docs"',
|
|
@@ -32,7 +33,11 @@ const registerChecklistsTools = server => {
|
|
|
32
33
|
tasks: z
|
|
33
34
|
.array(
|
|
34
35
|
z.object({
|
|
35
|
-
description: z
|
|
36
|
+
description: z
|
|
37
|
+
.string()
|
|
38
|
+
.min(1)
|
|
39
|
+
.max(2000)
|
|
40
|
+
.describe(RICH_TEXT_HELP),
|
|
36
41
|
})
|
|
37
42
|
)
|
|
38
43
|
.optional(),
|
|
@@ -44,7 +49,11 @@ const registerChecklistsTools = server => {
|
|
|
44
49
|
const body = { card };
|
|
45
50
|
if (title !== undefined) body.title = title;
|
|
46
51
|
if (checklistTemplate !== undefined) body.checklistTemplate = checklistTemplate;
|
|
47
|
-
|
|
52
|
+
// tasks[].description is a plain string field on the API, so convert markdown
|
|
53
|
+
// here the same way every other rich-text field is converted.
|
|
54
|
+
if (tasks !== undefined) {
|
|
55
|
+
body.tasks = tasks.map(task => ({ ...task, description: markdownToHtml(task.description) }));
|
|
56
|
+
}
|
|
48
57
|
|
|
49
58
|
const data = await makeApiRequest('/checklists', { method: 'POST', body });
|
|
50
59
|
const taskCount = Array.isArray(data.tasks) ? data.tasks.length : 0;
|