@kanbodev/mcp 1.1.8 → 1.2.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 +323 -323
- package/dist/index.js +1795 -1012
- package/docs/GIT_CONVENTIONS.md +139 -139
- package/docs/SETUP.md +254 -254
- package/docs/VSCODE.md +211 -211
- package/package.json +47 -47
package/docs/SETUP.md
CHANGED
|
@@ -1,254 +1,254 @@
|
|
|
1
|
-
# Kanbo MCP Setup Guide
|
|
2
|
-
|
|
3
|
-
This guide covers two ways to set up the Kanbo MCP server for use with AI assistants like Claude.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Option 1: Install via npm (Recommended)
|
|
8
|
-
|
|
9
|
-
One command to authenticate and register the MCP server with your editors.
|
|
10
|
-
|
|
11
|
-
### Step 1: Login
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npx @kanbodev/mcp login
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
This will:
|
|
18
|
-
1. Open your browser to sign in with your Kanbo account
|
|
19
|
-
2. Let you select which organization to use
|
|
20
|
-
3. Automatically create and store an API key
|
|
21
|
-
4. **Auto-register the MCP server** with detected editors (VS Code, VS Code Insiders, Cursor, Windsurf, Claude Code, Claude Desktop, Claude Code CLI)
|
|
22
|
-
|
|
23
|
-
You'll see output like:
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
✓ Successfully authenticated!
|
|
27
|
-
|
|
28
|
-
Email: you@example.com
|
|
29
|
-
Organization: My Team
|
|
30
|
-
API Key: kanbo_pat_a1b2...
|
|
31
|
-
|
|
32
|
-
Config saved to: ~/.kanbo/config.json
|
|
33
|
-
|
|
34
|
-
MCP server registered with:
|
|
35
|
-
✓ Registered in VS Code
|
|
36
|
-
✓ Registered via Claude Code CLI
|
|
37
|
-
|
|
38
|
-
Reload your editor to activate the Kanbo MCP server.
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Step 2: Reload your editor
|
|
42
|
-
|
|
43
|
-
Reload your editor window and you're ready to go. No manual config needed.
|
|
44
|
-
|
|
45
|
-
### Re-register with new editors
|
|
46
|
-
|
|
47
|
-
If you install a new editor after logging in, run:
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
npx @kanbodev/mcp install
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
This re-detects editors and registers the MCP server where needed. It's idempotent — already-registered editors are skipped.
|
|
54
|
-
|
|
55
|
-
### Other CLI Commands
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
npx @kanbodev/mcp install # Register MCP server with detected editors
|
|
59
|
-
npx @kanbodev/mcp whoami # Check current authentication status
|
|
60
|
-
npx @kanbodev/mcp logout # Remove stored credentials
|
|
61
|
-
npx @kanbodev/mcp help # Show all available commands
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
---
|
|
65
|
-
|
|
66
|
-
## Option 2: Manual Setup with API Key
|
|
67
|
-
|
|
68
|
-
If you prefer to manage your API key manually, or need to configure multiple environments.
|
|
69
|
-
|
|
70
|
-
### Step 1: Create an API Key
|
|
71
|
-
|
|
72
|
-
1. Go to your Kanbo dashboard
|
|
73
|
-
2. Navigate to **Settings → API Keys**
|
|
74
|
-
3. Click **Create API Key**
|
|
75
|
-
4. Give it a name (e.g., "Claude Desktop")
|
|
76
|
-
5. Copy the token (it will only be shown once!)
|
|
77
|
-
|
|
78
|
-
The token looks like: `kanbo_pat_a1b2c3d4e5f6...`
|
|
79
|
-
|
|
80
|
-
### Step 2: Configure Claude Desktop
|
|
81
|
-
|
|
82
|
-
Add Kanbo to your Claude Desktop configuration with the API key:
|
|
83
|
-
|
|
84
|
-
**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
85
|
-
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
86
|
-
|
|
87
|
-
```json
|
|
88
|
-
{
|
|
89
|
-
"mcpServers": {
|
|
90
|
-
"kanbo": {
|
|
91
|
-
"command": "npx",
|
|
92
|
-
"args": ["@kanbodev/mcp"],
|
|
93
|
-
"env": {
|
|
94
|
-
"KANBO_API_KEY": "kanbo_pat_your_token_here"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### Step 3: Restart Claude Desktop
|
|
102
|
-
|
|
103
|
-
Close and reopen Claude Desktop to load the new configuration.
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
## Configuration Options
|
|
108
|
-
|
|
109
|
-
### Environment Variables
|
|
110
|
-
|
|
111
|
-
| Variable | Description | Default |
|
|
112
|
-
|----------|-------------|---------|
|
|
113
|
-
| `KANBO_API_KEY` | Your Personal Access Token | (from ~/.kanbo/config.json) |
|
|
114
|
-
| `KANBO_API_URL` | API server URL | `https://api.kanbo.dev` |
|
|
115
|
-
| `KANBO_ORG_ID` | Override organization ID | (from token) |
|
|
116
|
-
|
|
117
|
-
### Priority Order
|
|
118
|
-
|
|
119
|
-
The MCP server loads configuration in this order (first found wins):
|
|
120
|
-
|
|
121
|
-
1. **Environment variables** - Set in Claude Desktop config or shell
|
|
122
|
-
2. **Config file** - `~/.kanbo/config.json` (created by `login` command)
|
|
123
|
-
|
|
124
|
-
This means you can:
|
|
125
|
-
- Use `npx @kanbodev/mcp login` for easy setup
|
|
126
|
-
- Override with env vars for specific use cases
|
|
127
|
-
|
|
128
|
-
---
|
|
129
|
-
|
|
130
|
-
## Using with Other AI Tools
|
|
131
|
-
|
|
132
|
-
> **Note:** `npx @kanbodev/mcp login` auto-registers with VS Code, VS Code Insiders, Cursor, Windsurf, Claude Code, Claude Desktop, and Claude Code CLI. The manual configs below are only needed if auto-registration didn't detect your editor.
|
|
133
|
-
|
|
134
|
-
### Cursor
|
|
135
|
-
|
|
136
|
-
Add to `~/.cursor/mcp.json`:
|
|
137
|
-
|
|
138
|
-
```json
|
|
139
|
-
{
|
|
140
|
-
"servers": {
|
|
141
|
-
"kanbodev": {
|
|
142
|
-
"type": "stdio",
|
|
143
|
-
"command": "npx",
|
|
144
|
-
"args": ["@kanbodev/mcp"]
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
### VS Code
|
|
151
|
-
|
|
152
|
-
See the full [VS Code setup guide](VSCODE.md) for native MCP support (v1.99+), Claude Code extension, and Cursor/Windsurf.
|
|
153
|
-
|
|
154
|
-
### Windsurf
|
|
155
|
-
|
|
156
|
-
Add to `~/.codeium/windsurf/mcp_config.json`:
|
|
157
|
-
|
|
158
|
-
```json
|
|
159
|
-
{
|
|
160
|
-
"mcpServers": {
|
|
161
|
-
"kanbodev": {
|
|
162
|
-
"type": "stdio",
|
|
163
|
-
"command": "npx",
|
|
164
|
-
"args": ["@kanbodev/mcp"]
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
### Claude Code (VS Code Extension)
|
|
171
|
-
|
|
172
|
-
Add to `~/.claude/settings.json`:
|
|
173
|
-
|
|
174
|
-
```json
|
|
175
|
-
{
|
|
176
|
-
"mcpServers": {
|
|
177
|
-
"kanbodev": {
|
|
178
|
-
"type": "stdio",
|
|
179
|
-
"command": "npx",
|
|
180
|
-
"args": ["@kanbodev/mcp"]
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### Claude Code CLI
|
|
187
|
-
|
|
188
|
-
```bash
|
|
189
|
-
claude mcp add kanbodev -- npx @kanbodev/mcp
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
---
|
|
193
|
-
|
|
194
|
-
## Troubleshooting
|
|
195
|
-
|
|
196
|
-
### "Not authenticated" error
|
|
197
|
-
|
|
198
|
-
Run `npx @kanbodev/mcp whoami` to check your auth status. If not logged in:
|
|
199
|
-
|
|
200
|
-
```bash
|
|
201
|
-
npx @kanbodev/mcp login
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
### "Invalid API key" error
|
|
205
|
-
|
|
206
|
-
Your API key may have been revoked. Create a new one:
|
|
207
|
-
|
|
208
|
-
1. Go to Kanbo dashboard → Settings → API Keys
|
|
209
|
-
2. Revoke the old key
|
|
210
|
-
3. Create a new one
|
|
211
|
-
4. Update your configuration
|
|
212
|
-
|
|
213
|
-
### Connection issues
|
|
214
|
-
|
|
215
|
-
Check the API URL is correct:
|
|
216
|
-
|
|
217
|
-
```bash
|
|
218
|
-
# Test with explicit URL
|
|
219
|
-
KANBO_API_URL=https://api.kanbo.dev npx @kanbodev/mcp whoami
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
### Clear stored credentials
|
|
223
|
-
|
|
224
|
-
```bash
|
|
225
|
-
npx @kanbodev/mcp logout
|
|
226
|
-
```
|
|
227
|
-
|
|
228
|
-
Or manually delete the config file:
|
|
229
|
-
|
|
230
|
-
```bash
|
|
231
|
-
rm ~/.kanbo/config.json
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
---
|
|
235
|
-
|
|
236
|
-
## Security Notes
|
|
237
|
-
|
|
238
|
-
- **API keys are stored securely** in `~/.kanbo/config.json` with owner-only permissions (0600)
|
|
239
|
-
- **Never commit API keys** to version control
|
|
240
|
-
- **Revoke unused keys** from the Kanbo dashboard
|
|
241
|
-
- **Each key is organization-scoped** - it can only access data in that organization
|
|
242
|
-
|
|
243
|
-
---
|
|
244
|
-
|
|
245
|
-
## Quick Reference
|
|
246
|
-
|
|
247
|
-
| Task | Command |
|
|
248
|
-
|------|---------|
|
|
249
|
-
| Authenticate + register | `npx @kanbodev/mcp login` |
|
|
250
|
-
| Register with editors | `npx @kanbodev/mcp install` |
|
|
251
|
-
| Check status | `npx @kanbodev/mcp whoami` |
|
|
252
|
-
| Logout | `npx @kanbodev/mcp logout` |
|
|
253
|
-
| Start server | `npx @kanbodev/mcp` |
|
|
254
|
-
| Show help | `npx @kanbodev/mcp help` |
|
|
1
|
+
# Kanbo MCP Setup Guide
|
|
2
|
+
|
|
3
|
+
This guide covers two ways to set up the Kanbo MCP server for use with AI assistants like Claude.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Option 1: Install via npm (Recommended)
|
|
8
|
+
|
|
9
|
+
One command to authenticate and register the MCP server with your editors.
|
|
10
|
+
|
|
11
|
+
### Step 1: Login
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx @kanbodev/mcp login
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
This will:
|
|
18
|
+
1. Open your browser to sign in with your Kanbo account
|
|
19
|
+
2. Let you select which organization to use
|
|
20
|
+
3. Automatically create and store an API key
|
|
21
|
+
4. **Auto-register the MCP server** with detected editors (VS Code, VS Code Insiders, Cursor, Windsurf, Claude Code, Claude Desktop, Claude Code CLI)
|
|
22
|
+
|
|
23
|
+
You'll see output like:
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
✓ Successfully authenticated!
|
|
27
|
+
|
|
28
|
+
Email: you@example.com
|
|
29
|
+
Organization: My Team
|
|
30
|
+
API Key: kanbo_pat_a1b2...
|
|
31
|
+
|
|
32
|
+
Config saved to: ~/.kanbo/config.json
|
|
33
|
+
|
|
34
|
+
MCP server registered with:
|
|
35
|
+
✓ Registered in VS Code
|
|
36
|
+
✓ Registered via Claude Code CLI
|
|
37
|
+
|
|
38
|
+
Reload your editor to activate the Kanbo MCP server.
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Step 2: Reload your editor
|
|
42
|
+
|
|
43
|
+
Reload your editor window and you're ready to go. No manual config needed.
|
|
44
|
+
|
|
45
|
+
### Re-register with new editors
|
|
46
|
+
|
|
47
|
+
If you install a new editor after logging in, run:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
npx @kanbodev/mcp install
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
This re-detects editors and registers the MCP server where needed. It's idempotent — already-registered editors are skipped.
|
|
54
|
+
|
|
55
|
+
### Other CLI Commands
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npx @kanbodev/mcp install # Register MCP server with detected editors
|
|
59
|
+
npx @kanbodev/mcp whoami # Check current authentication status
|
|
60
|
+
npx @kanbodev/mcp logout # Remove stored credentials
|
|
61
|
+
npx @kanbodev/mcp help # Show all available commands
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Option 2: Manual Setup with API Key
|
|
67
|
+
|
|
68
|
+
If you prefer to manage your API key manually, or need to configure multiple environments.
|
|
69
|
+
|
|
70
|
+
### Step 1: Create an API Key
|
|
71
|
+
|
|
72
|
+
1. Go to your Kanbo dashboard
|
|
73
|
+
2. Navigate to **Settings → API Keys**
|
|
74
|
+
3. Click **Create API Key**
|
|
75
|
+
4. Give it a name (e.g., "Claude Desktop")
|
|
76
|
+
5. Copy the token (it will only be shown once!)
|
|
77
|
+
|
|
78
|
+
The token looks like: `kanbo_pat_a1b2c3d4e5f6...`
|
|
79
|
+
|
|
80
|
+
### Step 2: Configure Claude Desktop
|
|
81
|
+
|
|
82
|
+
Add Kanbo to your Claude Desktop configuration with the API key:
|
|
83
|
+
|
|
84
|
+
**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
85
|
+
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
86
|
+
|
|
87
|
+
```json
|
|
88
|
+
{
|
|
89
|
+
"mcpServers": {
|
|
90
|
+
"kanbo": {
|
|
91
|
+
"command": "npx",
|
|
92
|
+
"args": ["@kanbodev/mcp"],
|
|
93
|
+
"env": {
|
|
94
|
+
"KANBO_API_KEY": "kanbo_pat_your_token_here"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Step 3: Restart Claude Desktop
|
|
102
|
+
|
|
103
|
+
Close and reopen Claude Desktop to load the new configuration.
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Configuration Options
|
|
108
|
+
|
|
109
|
+
### Environment Variables
|
|
110
|
+
|
|
111
|
+
| Variable | Description | Default |
|
|
112
|
+
|----------|-------------|---------|
|
|
113
|
+
| `KANBO_API_KEY` | Your Personal Access Token | (from ~/.kanbo/config.json) |
|
|
114
|
+
| `KANBO_API_URL` | API server URL | `https://api.kanbo.dev` |
|
|
115
|
+
| `KANBO_ORG_ID` | Override organization ID | (from token) |
|
|
116
|
+
|
|
117
|
+
### Priority Order
|
|
118
|
+
|
|
119
|
+
The MCP server loads configuration in this order (first found wins):
|
|
120
|
+
|
|
121
|
+
1. **Environment variables** - Set in Claude Desktop config or shell
|
|
122
|
+
2. **Config file** - `~/.kanbo/config.json` (created by `login` command)
|
|
123
|
+
|
|
124
|
+
This means you can:
|
|
125
|
+
- Use `npx @kanbodev/mcp login` for easy setup
|
|
126
|
+
- Override with env vars for specific use cases
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Using with Other AI Tools
|
|
131
|
+
|
|
132
|
+
> **Note:** `npx @kanbodev/mcp login` auto-registers with VS Code, VS Code Insiders, Cursor, Windsurf, Claude Code, Claude Desktop, and Claude Code CLI. The manual configs below are only needed if auto-registration didn't detect your editor.
|
|
133
|
+
|
|
134
|
+
### Cursor
|
|
135
|
+
|
|
136
|
+
Add to `~/.cursor/mcp.json`:
|
|
137
|
+
|
|
138
|
+
```json
|
|
139
|
+
{
|
|
140
|
+
"servers": {
|
|
141
|
+
"kanbodev": {
|
|
142
|
+
"type": "stdio",
|
|
143
|
+
"command": "npx",
|
|
144
|
+
"args": ["@kanbodev/mcp"]
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### VS Code
|
|
151
|
+
|
|
152
|
+
See the full [VS Code setup guide](VSCODE.md) for native MCP support (v1.99+), Claude Code extension, and Cursor/Windsurf.
|
|
153
|
+
|
|
154
|
+
### Windsurf
|
|
155
|
+
|
|
156
|
+
Add to `~/.codeium/windsurf/mcp_config.json`:
|
|
157
|
+
|
|
158
|
+
```json
|
|
159
|
+
{
|
|
160
|
+
"mcpServers": {
|
|
161
|
+
"kanbodev": {
|
|
162
|
+
"type": "stdio",
|
|
163
|
+
"command": "npx",
|
|
164
|
+
"args": ["@kanbodev/mcp"]
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Claude Code (VS Code Extension)
|
|
171
|
+
|
|
172
|
+
Add to `~/.claude/settings.json`:
|
|
173
|
+
|
|
174
|
+
```json
|
|
175
|
+
{
|
|
176
|
+
"mcpServers": {
|
|
177
|
+
"kanbodev": {
|
|
178
|
+
"type": "stdio",
|
|
179
|
+
"command": "npx",
|
|
180
|
+
"args": ["@kanbodev/mcp"]
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### Claude Code CLI
|
|
187
|
+
|
|
188
|
+
```bash
|
|
189
|
+
claude mcp add kanbodev -- npx @kanbodev/mcp
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## Troubleshooting
|
|
195
|
+
|
|
196
|
+
### "Not authenticated" error
|
|
197
|
+
|
|
198
|
+
Run `npx @kanbodev/mcp whoami` to check your auth status. If not logged in:
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
npx @kanbodev/mcp login
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### "Invalid API key" error
|
|
205
|
+
|
|
206
|
+
Your API key may have been revoked. Create a new one:
|
|
207
|
+
|
|
208
|
+
1. Go to Kanbo dashboard → Settings → API Keys
|
|
209
|
+
2. Revoke the old key
|
|
210
|
+
3. Create a new one
|
|
211
|
+
4. Update your configuration
|
|
212
|
+
|
|
213
|
+
### Connection issues
|
|
214
|
+
|
|
215
|
+
Check the API URL is correct:
|
|
216
|
+
|
|
217
|
+
```bash
|
|
218
|
+
# Test with explicit URL
|
|
219
|
+
KANBO_API_URL=https://api.kanbo.dev npx @kanbodev/mcp whoami
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### Clear stored credentials
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
npx @kanbodev/mcp logout
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Or manually delete the config file:
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
rm ~/.kanbo/config.json
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
## Security Notes
|
|
237
|
+
|
|
238
|
+
- **API keys are stored securely** in `~/.kanbo/config.json` with owner-only permissions (0600)
|
|
239
|
+
- **Never commit API keys** to version control
|
|
240
|
+
- **Revoke unused keys** from the Kanbo dashboard
|
|
241
|
+
- **Each key is organization-scoped** - it can only access data in that organization
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## Quick Reference
|
|
246
|
+
|
|
247
|
+
| Task | Command |
|
|
248
|
+
|------|---------|
|
|
249
|
+
| Authenticate + register | `npx @kanbodev/mcp login` |
|
|
250
|
+
| Register with editors | `npx @kanbodev/mcp install` |
|
|
251
|
+
| Check status | `npx @kanbodev/mcp whoami` |
|
|
252
|
+
| Logout | `npx @kanbodev/mcp logout` |
|
|
253
|
+
| Start server | `npx @kanbodev/mcp` |
|
|
254
|
+
| Show help | `npx @kanbodev/mcp help` |
|