huly-mcp-sdk 0.5.2 → 0.5.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 +194 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,8 +53,6 @@ Connects **Claude Desktop** (and any [MCP](https://modelcontextprotocol.io)-comp
|
|
|
53
53
|
|
|
54
54
|
## Quick Start
|
|
55
55
|
|
|
56
|
-
### 1. Install via npx (easiest)
|
|
57
|
-
|
|
58
56
|
```bash
|
|
59
57
|
npx huly-mcp-sdk setup
|
|
60
58
|
```
|
|
@@ -63,9 +61,23 @@ This runs the interactive setup wizard — sends a one-time code to your email (
|
|
|
63
61
|
|
|
64
62
|
**Your workspace slug** is the part of your Huly URL after the domain: `huly.app/`**`myteam`** → slug is `myteam`.
|
|
65
63
|
|
|
66
|
-
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Compatible Clients
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
The same MCP server works across all major AI coding tools. Pick your client.
|
|
69
|
+
|
|
70
|
+
> **Auth note:** All config examples below use `HULY_TOKEN`. If you have issues with token expiry, use email + password instead — just replace the `env` block with:
|
|
71
|
+
> ```json
|
|
72
|
+
> "HULY_EMAIL": "your@email.com",
|
|
73
|
+
> "HULY_PASSWORD": "yourpassword",
|
|
74
|
+
> "HULY_WORKSPACE": "your-workspace-slug"
|
|
75
|
+
> ```
|
|
76
|
+
> See [Manual Auth](#manual-auth) for details on both options.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
### Claude Desktop
|
|
69
81
|
|
|
70
82
|
- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
71
83
|
- **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
@@ -77,7 +89,7 @@ Add this to your Claude Desktop config:
|
|
|
77
89
|
"command": "npx",
|
|
78
90
|
"args": ["huly-mcp-sdk"],
|
|
79
91
|
"env": {
|
|
80
|
-
"HULY_TOKEN": "
|
|
92
|
+
"HULY_TOKEN": "your-token",
|
|
81
93
|
"HULY_WORKSPACE": "your-workspace-slug"
|
|
82
94
|
}
|
|
83
95
|
}
|
|
@@ -87,12 +99,175 @@ Add this to your Claude Desktop config:
|
|
|
87
99
|
|
|
88
100
|
Restart Claude Desktop after saving.
|
|
89
101
|
|
|
90
|
-
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
### Claude Code (CLI)
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
claude mcp add huly -e HULY_TOKEN=your-token -e HULY_WORKSPACE=your-slug -- npx huly-mcp-sdk
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Or scope it to a single project only:
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
claude mcp add huly --scope project -e HULY_TOKEN=your-token -e HULY_WORKSPACE=your-slug -- npx huly-mcp-sdk
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Verify it's connected: `claude mcp list`
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
### Cursor
|
|
121
|
+
|
|
122
|
+
Create or edit `~/.cursor/mcp.json`:
|
|
123
|
+
|
|
124
|
+
```json
|
|
125
|
+
{
|
|
126
|
+
"mcpServers": {
|
|
127
|
+
"huly": {
|
|
128
|
+
"command": "npx",
|
|
129
|
+
"args": ["huly-mcp-sdk"],
|
|
130
|
+
"env": {
|
|
131
|
+
"HULY_TOKEN": "your-token",
|
|
132
|
+
"HULY_WORKSPACE": "your-workspace-slug"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
Restart Cursor. The tools appear in the Agent panel under MCP.
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
### Windsurf (Codeium)
|
|
144
|
+
|
|
145
|
+
Create or edit `~/.codeium/windsurf/mcp_config.json`:
|
|
146
|
+
|
|
147
|
+
```json
|
|
148
|
+
{
|
|
149
|
+
"mcpServers": {
|
|
150
|
+
"huly": {
|
|
151
|
+
"command": "npx",
|
|
152
|
+
"args": ["huly-mcp-sdk"],
|
|
153
|
+
"env": {
|
|
154
|
+
"HULY_TOKEN": "your-token",
|
|
155
|
+
"HULY_WORKSPACE": "your-workspace-slug"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
Restart Windsurf. MCP tools are available to the Cascade AI panel.
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
### VS Code — Cline extension
|
|
167
|
+
|
|
168
|
+
1. Install the [Cline extension](https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev)
|
|
169
|
+
2. Open Cline settings → **MCP Servers** → **Edit MCP Settings**
|
|
170
|
+
3. Add:
|
|
171
|
+
|
|
172
|
+
```json
|
|
173
|
+
{
|
|
174
|
+
"huly": {
|
|
175
|
+
"command": "npx",
|
|
176
|
+
"args": ["huly-mcp-sdk"],
|
|
177
|
+
"env": {
|
|
178
|
+
"HULY_TOKEN": "your-token",
|
|
179
|
+
"HULY_WORKSPACE": "your-workspace-slug"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
### VS Code — Continue extension
|
|
188
|
+
|
|
189
|
+
1. Install the [Continue extension](https://marketplace.visualstudio.com/items?itemName=Continue.continue)
|
|
190
|
+
2. Edit `~/.continue/config.json` and add to the `mcpServers` array:
|
|
191
|
+
|
|
192
|
+
```json
|
|
193
|
+
{
|
|
194
|
+
"mcpServers": [
|
|
195
|
+
{
|
|
196
|
+
"name": "huly",
|
|
197
|
+
"command": "npx",
|
|
198
|
+
"args": ["huly-mcp-sdk"],
|
|
199
|
+
"env": {
|
|
200
|
+
"HULY_TOKEN": "your-token",
|
|
201
|
+
"HULY_WORKSPACE": "your-workspace-slug"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
### Zed
|
|
211
|
+
|
|
212
|
+
Edit `~/.config/zed/settings.json` and add a `context_servers` entry:
|
|
213
|
+
|
|
214
|
+
```json
|
|
215
|
+
{
|
|
216
|
+
"context_servers": {
|
|
217
|
+
"huly": {
|
|
218
|
+
"command": {
|
|
219
|
+
"path": "npx",
|
|
220
|
+
"args": ["huly-mcp-sdk"],
|
|
221
|
+
"env": {
|
|
222
|
+
"HULY_TOKEN": "your-token",
|
|
223
|
+
"HULY_WORKSPACE": "your-workspace-slug"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
### OpenAI Codex CLI
|
|
234
|
+
|
|
235
|
+
Edit `~/.codex/config.json` and add to `mcpServers`:
|
|
236
|
+
|
|
237
|
+
```json
|
|
238
|
+
{
|
|
239
|
+
"mcpServers": {
|
|
240
|
+
"huly": {
|
|
241
|
+
"type": "stdio",
|
|
242
|
+
"command": "npx",
|
|
243
|
+
"args": ["huly-mcp-sdk"],
|
|
244
|
+
"env": {
|
|
245
|
+
"HULY_TOKEN": "your-token",
|
|
246
|
+
"HULY_WORKSPACE": "your-workspace-slug"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
### Any other MCP-compatible client
|
|
256
|
+
|
|
257
|
+
The server uses standard **stdio transport**. If your tool supports MCP, the config pattern is always the same:
|
|
258
|
+
|
|
259
|
+
- **command:** `npx`
|
|
260
|
+
- **args:** `["huly-mcp-sdk"]`
|
|
261
|
+
- **env:** `HULY_TOKEN` + `HULY_WORKSPACE`
|
|
262
|
+
|
|
263
|
+
Consult your tool's MCP documentation for the exact config file location.
|
|
264
|
+
|
|
265
|
+
> **Alternative (avoid npx cold-start):** Clone and build once, then point directly at the compiled binary:
|
|
91
266
|
> ```bash
|
|
92
267
|
> git clone https://github.com/varaprasadreddy9676/huly-mcp.git
|
|
93
268
|
> cd huly-mcp && npm install && npm run build
|
|
94
269
|
> ```
|
|
95
|
-
>
|
|
270
|
+
> Replace `"command": "npx", "args": ["huly-mcp-sdk"]` with `"command": "node", "args": ["/absolute/path/to/huly-mcp/dist/index.js"]` in any config above.
|
|
96
271
|
|
|
97
272
|
---
|
|
98
273
|
|
|
@@ -212,29 +387,29 @@ Required column: `title`. Optional: `priority` (Urgent/High/Medium/Low), `status
|
|
|
212
387
|
|
|
213
388
|
## Manual Auth
|
|
214
389
|
|
|
215
|
-
Create a `.env` file in the project root:
|
|
390
|
+
Create a `.env` file in the project root (or pass via `env` in your client config):
|
|
216
391
|
|
|
217
|
-
**Option A —
|
|
392
|
+
**Option A — Email + password (recommended):**
|
|
393
|
+
|
|
394
|
+
Works if you have a password set on your Huly account (Profile → Security → Change password).
|
|
218
395
|
|
|
219
396
|
```bash
|
|
397
|
+
HULY_EMAIL=your@email.com
|
|
398
|
+
HULY_PASSWORD=yourpassword
|
|
220
399
|
HULY_WORKSPACE=your-workspace-slug
|
|
221
|
-
HULY_TOKEN=your-token-here
|
|
222
400
|
```
|
|
223
401
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
> Tokens expire after some time. If you get an auth error, run `npx huly-mcp-sdk setup` again or refresh the token from DevTools.
|
|
227
|
-
|
|
228
|
-
**Option B — Email + password:**
|
|
229
|
-
|
|
230
|
-
Only works if you have a password set on your account (Profile → Security → Change password).
|
|
402
|
+
**Option B — Token:**
|
|
231
403
|
|
|
232
404
|
```bash
|
|
233
|
-
HULY_EMAIL=your@email.com
|
|
234
|
-
HULY_PASSWORD=yourpassword
|
|
235
405
|
HULY_WORKSPACE=your-workspace-slug
|
|
406
|
+
HULY_TOKEN=your-token-here
|
|
236
407
|
```
|
|
237
408
|
|
|
409
|
+
To get a token: go to [huly.app](https://huly.app) → open browser DevTools → Application → Local Storage → `https://huly.app` → copy the `token` value.
|
|
410
|
+
|
|
411
|
+
> Tokens expire after some time. If you get an auth error, switch to email + password auth or refresh the token from DevTools.
|
|
412
|
+
|
|
238
413
|
**Self-hosted Huly:**
|
|
239
414
|
|
|
240
415
|
```bash
|