
Huly Mcp
io.github.varaprasadreddy9676由 GitHub 帳號 varaprasadreddy9676 發布v0.5.4更新於 Oct 28, 2026
MCP server for Huly — manage projects, issues, documents and more via natural language.
概覽
把助理連接到 Huly 工作區,用自然語言管理專案、議題、留言、文件、標籤與里程碑。
- 可以做什麼
- 列出、建立與檢視專案及其可用狀態
- 列出、搜尋、建立、更新與刪除議題,並新增、列出與刪除留言
- 管理標籤、議題關聯、父層史詩、里程碑、元件與工作區成員
- 記錄議題上的工時
- 列出、建立、讀取、更新、連結與刪除文件及團隊空間,可寫入 Markdown 與 Mermaid 圖
- 適用情境
- 適合以 Huly 追蹤工作的團隊,希望助理代為建立或更新議題、整理標籤與關聯、記錄工時,或起草與編輯文件而不必切換到網頁版。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js 20 或更新版本。需要 Huly 帳號(雲端或自架)、在 HULY_WORKSPACE 填入工作區代稱,以及 HULY_TOKEN 或電子郵件加密碼憑證;HULY_FRONT_URL 為選用,用於讀取文件正文。需要能連線到 Huly 執行個體的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Huly Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
huly-mcp-sdk
The most complete MCP server for Huly — the open-source project management platform.
Connects Claude Desktop (and any MCP-compatible client) directly to your Huly workspace. Manage projects, issues, milestones, components, documents, labels, and more — all via natural language.
Tools (36 total)
Requirements
- Node.js >= 20
- A Huly account — huly.app (cloud) or self-hosted
Quick Start
This runs the interactive setup wizard — sends a one-time code to your email (works for Google/GitHub SSO accounts too) and writes your .env file automatically.
Your workspace slug is the part of your Huly URL after the domain: huly.app/myteam → slug is myteam.
Compatible Clients
The same MCP server works across all major AI coding tools. Pick your client.
Auth note: All config examples below use
HULY_TOKEN. If you have issues with token expiry, use email + password instead — just replace theenvblock with:See Manual Auth for details on both options.
Claude Desktop
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop after saving.
Claude Code (CLI)
Or scope it to a single project only:
Verify it's connected: claude mcp list
Cursor
Create or edit ~/.cursor/mcp.json:
Restart Cursor. The tools appear in the Agent panel under MCP.
Windsurf (Codeium)
Create or edit ~/.codeium/windsurf/mcp_config.json:
Restart Windsurf. MCP tools are available to the Cascade AI panel.
VS Code — Cline extension
- Install the Cline extension
- Open Cline settings → MCP Servers → Edit MCP Settings
- Add:
VS Code — Continue extension
- Install the Continue extension
- Edit
~/.continue/config.jsonand add to themcpServersarray:
Zed
Edit ~/.config/zed/settings.json and add a context_servers entry:
OpenAI Codex CLI
Edit ~/.codex/config.json and add to mcpServers:
Any other MCP-compatible client
The server uses standard stdio transport. If your tool supports MCP, the config pattern is always the same:
- command:
npx - args:
["huly-mcp-sdk"] - env:
HULY_TOKEN+HULY_WORKSPACE
Consult your tool's MCP documentation for the exact config file location.
Alternative (avoid npx cold-start): Clone and build once, then point directly at the compiled binary:
Replace
"command": "npx", "args": ["huly-mcp-sdk"]with"command": "node", "args": ["/absolute/path/to/huly-mcp/dist/index.js"]in any config above.
[image]
Example Prompts
Projects & issues:
- "Create a new project called 'Mobile App' with identifier MOBILE"
- "List all in-progress issues in the PROJ project"
- "Create a high-priority issue in PROJ titled 'Fix login timeout'"
- "Update PROJ-42 status to Done, assign it to Sarah, and move it to the Auth component"
- "Search for issues related to authentication"
- "Add a comment to PROJ-15 saying the fix is deployed"
- "List all comments on PROJ-42 to see the discussion"
Milestones & components:
- "Create a milestone 'v2.0 Launch' in PROJ with target date 2026-06-01"
- "List milestones for the PROJ project"
- "Create a component called 'Auth' in PROJ"
- "List all components in PROJ"
Labels & relations:
- "Add the label 'bug' to PROJ-42"
- "Create a label called 'backend' with color #3b82f6"
- "Mark PROJ-55 as blocked by PROJ-12"
- "Set PROJ-42 as a subtask of PROJ-5"
Time tracking:
- "Log 2.5 hours on PROJ-42 for the database refactor"
Documents:
- "List all documents in the Engineering teamspace"
- "Create a document called 'API Design' in the Engineering teamspace"
- "Update the API Design document with this Markdown: ..."
- "Add a Mermaid architecture diagram to the EP1 document"
- "Link document abc123 to issue PROJ-42"
- "Delete the second comment on PROJ-15"
Document Content
Reading: get_document
get_document always returns full metadata (title, teamspace, comments, snapshots). To also fetch and display the text content, set the optional HULY_FRONT_URL env var:
For self-hosted Huly, set HULY_FRONT_URL to your own front service URL (e.g. http://localhost:8083).
Writing: update_document
update_document accepts a documentId and a markdown string and writes rich structured content directly to the document — no manual editing required.
Supported Markdown:
Example:
The Mermaid block renders as a live interactive diagram in Huly's document editor — not as a code block.
Bulk CSV Import
Import many issues at once from a CSV file — useful for migrating from other tools:
CSV format:
Required column: title. Optional: priority (Urgent/High/Medium/Low), status (must match a status name in the project), dueDate (YYYY-MM-DD).
Manual Auth
Create a .env file in the project root (or pass via env in your client config):
Option A — Email + password (recommended):
Works if you have a password set on your Huly account (Profile → Security → Change password).
Option B — Token:
To get a token: go to huly.app → open browser DevTools → Application → Local Storage → https://huly.app → copy the token value.
Tokens expire after some time. If you get an auth error, switch to email + password auth or refresh the token from DevTools.
Self-hosted Huly:
Architecture
- Single long-lived WebSocket connection — connects once per process via
@hcengineering/server-client, not per tool call (model load takes 1–3 s, so this keeps tools fast) - Lazy init — connects on the first tool call so auth errors surface clearly in Claude
- Dual auth — OTP token (works for Google/GitHub SSO) or email + password
- Stdio transport — standard MCP transport compatible with Claude Desktop and any MCP client
Changelog
v0.5.6 — delete_document
- New:
delete_document— permanently delete a document by ID
v0.5.5 — create_teamspace
- New:
create_teamspace— create a new document teamspace (top-level folder for organising documents by project or team)
v0.5.2 — delete_comment + link_document
- New:
delete_comment— delete a specific comment from an issue by ID;list_commentsnow includes comment IDs in its output - New:
link_document— link a Huly document to an issue; the document appears in the Relations panel on the issue
v0.5.0 — Document Writing + Bug Fixes
- New:
update_document— write Markdown to any Huly document programmatically;\``mermaid` blocks use Huly's native node type and render as interactive diagrams - Fix:
IssueStatusqueries — statuses are stored globally in Huly (core:space:Model), not per-project; removed incorrect space filter that caused "no statuses found" errors oncreate_issue,update_issue, andlist_issues - Fix:
create_project— setsmembers: [currentUser]so newly created projects are immediately visible in the Huly UI
v0.4.0
log_time,list_comments, component/milestone assignment onupdate_issue
v0.3.1
get_document,create_document
v0.3.0
create_project,create_milestone, assignee support on issues
Links
- npm: https://www.npmjs.com/package/huly-mcp-sdk
- GitHub: https://github.com/varaprasadreddy9676/huly-mcp
- MCP Registry: https://registry.modelcontextprotocol.io (search "huly-mcp")
License
來源:README.md,提交 4876229
工具
0版本歷史
1- v0.5.4最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。