Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

Huly Selfhost

@jokeks2023MCP server · External

MCP server for Huly (self-hosted + cloud): 244 tools for AI agents, few tokens, Claude Code plugin

Issue trackingv4.1.1EPL-2.0TypeScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

image
From the README

What it does

  1. Reads
  2. Writes
  3. High impact

At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npmhuly-mcp-selfhostv4.1.1

Run

npx -y huly-mcp-selfhost

MCP client config

{
  "mcpServers": {
    "huly-selfhost": {
      "command": "npx",
      "args": [
        "-y",
        "huly-mcp-selfhost"
      ]
    }
  }
}
README47 min read

huly-mcp-selfhost

npm CI Docker Pulls MCP Registry License: EPL-2.0

Huly for AI agents. An MCP server for Huly — self-hosted or Huly Cloud — that lets Claude and other agents work in your workspaces: issues, epics, milestones, documents, chat, inbox, planner, test management and more. 244 tools, built for agent workflows and to spend as few tokens as possible.

Quick start · Clients · Claude Code plugin · Command line · Team server · Tools · Configuration · Authentication
Website · Docs · Changelog · npm · Docker Hub

Highlights

  • Everything in Huly: tracker, documents, chat, inbox, activity, planner, calendar, GitHub PRs, contacts, drive, cards, templates, test management, recruiting, CRM, HR and more — plus read access to any Huly class.
  • Made for agents: one-call overviews (my_day, standup, project_report, get_issue_context), start_work → finish_work, plans → epics with sub-issues, specs and meeting notes → issues, claims for parallel agents, and huly-mcp watch to hand issues to Claude from Huly.
  • Few tokens: tools come in toolsets (default ≈11k tokens, everything ≈27k), optionally loaded on demand; pin a workspace for −10 %; compact outputs; wrong parameters are rejected with the valid list instead of silently ignored.
  • Safe by default: every change names its workspace, risky tools ask first, writes can be limited to projects, optional audit log — and undo_changes reverses your last changes.
  • Small and quick to install: one self-contained package of ~4 MB (900 kB download) — no 180 dependencies to fetch on the first npx.
  • No telemetry. The server talks to your Huly server and nothing else: no analytics, no usage tracking, nothing to opt out of. (The only other request, the npm version check, runs when you call check_setup.)
  • Claude Code plugin: /huly:setup asks once per repo how Huly is used there and writes the rules; skill, hooks and /huly:* commands. Guides and a setup prompt for every other MCP client too.
  • Self-hosted first: document and description content, file uploads and internal URLs work on huly-selfhost; one account, all its workspaces.

Tokens, measured

What the model reads — measured on a real self-hosted project (≈60 issues):

Characters≈ Tokens
Tool list, default toolsets (100 tools, each callable directly)39,93411.4k
Tool list, pinned workspace36,21210.3k
Open issues of a project (one call, ≈30 issues)2,7680.8k
One issue with description3180.1k
Project report (done, in progress, blocked, milestones, PRs, time)~2,7000.8k
My day (calendar, to-dos, my issues, PRs, inbox)~1,2000.3k

Lists default to open items, empty fields are left out, and one call answers what would otherwise take four or five. Per call and question: costs.md.

Characters per answer: huly-mcp-selfhost needs 2.9× less text per answer (median), 13× smaller tool definitions, one call instead of up to four

Same self-hosted Huly, same questions, the best parameters on both sides, measured 2026-11-11. For the other server only the text content is counted, not the duplicate JSON copy it also returns. Where we return more (components), it is because we include each component's description and code paths.

All numbers (characters)
Questionhuly-mcp-selfhostOther serverRatio
Open issues of a project2,768 (1 call)11,601 (3 calls)4.2× less
Issues in progress211 (1 call)790 (1 call)3.7× less
One issue318 (1 call)585 (1 call)1.8× less
Everything about an issue (fields, sub-issues, comments, relations)1,246 (1 call)3,585 (4 calls)2.9× less
Search406 (1 call)1,405 (1 call)3.5× less
Projects550 (1 call)1,041 (1 call)1.9× less
Milestones208 (1 call)503 (1 call)2.4× less
Components1,302 (1 call)692 (1 call)2.0× more
Documents of a teamspace106 (1 call)305 (1 call)2.9× less
Tool definitions (49 tools with the same name)16,853216,89012.9× less

Quick start

You need a Huly account — Huly Cloud or self-hosted — and, except for the Claude Desktop extension, Node.js 22+.

Claude Code — install the plugin, then fill in its settings when asked:

/plugin marketplace add JoKeks2023/huly-mcp
/plugin install huly@huly-mcp

Then run /huly:setup in a repository. Details: Claude Code plugin.

Claude Desktop — download huly-mcp-selfhost.mcpb, double-click it and enter your Huly login. Nothing else to install.

Cursor, VS Code, Windsurf, Zed, … (or Claude Desktop by hand) — add the server to your client's MCP config:

json
{
  "mcpServers": {
    "huly": {
      "command": "npx",
      "args": ["-y", "huly-mcp-selfhost"],
      "env": {
        "HULY_EMAIL": "you@example.com",
        "HULY_PASSWORD": "your-password"
      }
    }
  }
}
  • Self-hosted Huly: add "HULY_ACCOUNTS_URL": "https://huly.example.com/_accounts" and "HULY_FRONT_URL": "https://huly.example.com".
  • Google/GitHub login (no password): run npx huly-mcp-selfhost setup and use HULY_TOKEN instead — see Authentication.
  • One workspace? Add "HULY_WORKSPACE": "<slug>" — fewer tokens.

Config file locations and examples for each client: Compatible clients.

Server for a team or remote clients — huly-mcp-selfhost http or the Docker image; everyone logs in with their own Huly account in the browser (OAuth): see Team server over HTTP.

Then ask: "What's on my plate today?", "Plan the login redesign as an epic in WEB", "Write release notes for v1.2". More in Example prompts.


Claude Code plugin

The repo is also a Claude Code plugin marketplace. The plugin bundles the MCP server with a workflow skill, hooks and commands:

/plugin marketplace add JoKeks2023/huly-mcp
/plugin install huly@huly-mcp

Your team runs a huly-mcp server? Install huly-remote instead — the same skill, hooks and commands (/huly-remote:*), but nothing runs on your computer: it connects to your server's /mcp URL and you log in with Huly in the browser:

/plugin install huly-remote@huly-mcp

Note: the plugin brings its own copy of the server (plugin/server/: the server of its release as a plain module tree — nothing is downloaded at start), so a plugin update brings the matching server. To try a local checkout: npm run build && npm run plugin:bundle, then claude --plugin-dir ./plugin.

Claude Code then asks for your Huly settings (e-mail + password or token, and for self-hosted Huly the accounts and front URL; passwords and tokens go to the OS keychain).

PartWhat it does
MCP serverhuly-mcp-selfhost, bundled in the plugin (no npx), configured from the plugin settings (toolsets, on-demand loading, pinned workspace and writable projects included); tool annotations on (HULY_ANNOTATIONS=1)
Skill hulyHow to use Huly while coding at the lowest token cost: the repo's ## Huly rules first, find the project for the repo, pick up/hand back issues, status flow, duplicate check, component + milestone, epics for plans, cheapest call per question. Reference files are read only when needed: costs.md (measured output size per call), onboarding.md (bringing a project into Huly) and features.md (all of Huly for a software project — labels, templates, test management incl. CI import, documents, drive, custom fields, cards — with the toolsets each needs)
Hook on session startReports the GitHub repo and branch; a branch like proj-12-login points Claude to issue PROJ-12; points to the repo's ## Huly rules or offers /huly:setup (no network, no credentials)
Hook after gh pr create / gh pr mergeReminds Claude to link the new PR to its issue (finish_work) or to check the status after a merge
/huly:setup [workspace]Set up Huly for this repo: asks how Huly is used here (role, where new issues go, initiative, how token-saving), writes the answers as a ## Huly section to CLAUDE.md, CLAUDE.local.md (only you) or split between both, then optionally imports the project (status set, components, milestones, TODO/FIXME proposals, architecture document). The session-start hook offers it once while a repo has no such section
/huly:start [PROJ-12]Pick up an issue (from the argument or the branch), load the context, plan
/huly:finish [PROJ-12] [PR]Honest summary, PR link, status to review
/huly:plan <goal>Plan → epic + sub-issues (dry run first)
/huly:day, /huly:standup [since], /huly:triageMy day, stand-up, inbox triage — one call each (my_day, standup, triage_inbox)
/huly:report <PROJECT> [7d]Project status: progress, milestones, blockers (project_report)

Without the plugin, the same server works in Claude Code as a plain MCP server (see below); the MCP prompts (setup, start, finish, plan, triage, standup) and guide resources are available there too.


Command line

Every tool also works from the terminal — for scripts, CI and quick looks without a chat. Same login (HULY_* environment or --env-file), same safety rules (write scope, audit log, confirmation for hard-to-undo changes).

bash
npm install -g huly-mcp-selfhost          # or: npx huly-mcp-selfhost <command>

huly-mcp tools issue                      # find tools
huly-mcp help list_issues                 # parameters, types, allowed values, defaults
huly-mcp get_issue PROJ-12                # one required parameter can be given directly
huly-mcp list_issues --project PROJ --due overdue --assignee null
huly-mcp create_issue -w acme --project PROJ --title "Fix login" --description-file notes.md
huly-mcp bulk_update_issues --identifiers PROJ-1 --identifiers PROJ-2 --status-name Done --yes
huly-mcp my_day --format json | jq -r .text
  • Parameters come from the same schemas the MCP server sends to Claude, so help is always current. Names work as --project-identifier or --projectIdentifier; common short forms (--project, --status, --milestone, …) too. Values are read by type: numbers, true/false, null to clear, repeat a flag for lists, JSON for nested values. --json '{…}' or --input file.json (- = stdin) pass everything at once; --<text-param>-file reads a text value from a file.
  • Hard-to-undo tools (deletes, bulk changes, moves) ask in a terminal; in scripts they run only with --yes.
  • Exit codes: 0 ok · 1 the tool failed or was cancelled · 2 wrong usage (unknown tool or option — with a "did you mean …").
  • Output: the tool's Markdown; --format json gives {"ok", "tool", "text"} (errors too). The Huly SDK's own logging is silenced; HULY_DEBUG=1 shows it on stderr.
  • Shell completion for tools, options and allowed values: eval "$(huly-mcp completion zsh)" (or bash) in your shell profile.

Tools (244 total, grouped in toolsets)

All tools except list_workspaces take a workspace argument — required for every change, optional for reads when only one workspace is available.

Toolsets

Every tool schema is sent to the model in each session (Claude Desktop loads all of them up front), so tools are grouped and only the default toolsets are enabled unless you choose otherwise:

bash
HULY_TOOLSETS=all                       # everything
HULY_TOOLSETS=tracker,documents,planner # just these ('core' = list_workspaces, check_setup and undo_changes, always on)

Load on demand (HULY_DYNAMIC_TOOLSETS=1): HULY_TOOLSETS becomes the starting set, and Claude loads more toolsets itself via enable_toolsets. Called without arguments, it lists every toolset with its tools; called with names, it loads them and tells the client that the tool list changed. With HULY_TOOLSETS=agent,inbox a session starts at ≈1.8k tokens instead of ≈9–11k. This needs a client that reloads the tool list on notifications/tools/list_changed: it is tested with the MCP SDK client, but not yet verified in Claude Desktop. Without the variable, nothing changes.

ToolsetDefaultToolsContents
agent✓14agent workflow: my day at a glance, standup, project report, release notes, issue context in one call, start/finish work, plan → issue tree, spec document → issues, meeting notes → issues, changes since, claims, repo → project — plus resources and prompts
tracker✓38projects, issues, comments, time, labels, relations, milestones, components, statuses, attachments, search
documents✓8teamspaces and documents (tree, move, rename)
chat✓12channels, DMs, threads, edit/delete, reactions, pins
contacts✓11members, organizations, persons, contact channels
inbox✓4notifications, triage (what changed since last read), mark read/archive; pin, hide, mark unread, follow/unfollow per object
activity✓1change history of an issue/object
planner✓5to-dos, time blocking
generic✓4fulltext search across everything, read any Huly class
tracker-admin12rarely needed admin: create/update project, create status, update/delete label, label categories, delete milestone/component, repair parent links, project types and workflows
calendar4calendar events
github2pull requests synced by Huly's GitHub integration (read-only)
generic-write3create/update/delete any class — dry run by default, deletes need confirm
collaboration8followers (collaborators) of issues/documents, public guest links, document comments
cards8cards: types and tags, create/edit/move/delete, nesting, field values
fields3custom fields on issues, project types, card types or any class; set values
drive10drives, folders, versioned files: upload, download, move, restore versions
templates11issue templates with sub-issues, new issue from template; message templates
testing26test management: projects, suites, cases, plans, runs, results; JUnit import, report, bugs from failed tests
products2products and versions (read-only)
members4workspace settings, invite links and e-mails, member roles
admin8modules on/off, workspace name and guest access, your profile, new workspaces, set a workspace up from a template, huly_api (account service like gh api)
recruiting9vacancies, candidates, applications
crm5leads, customers
hr7departments, staff, vacation/sick/remote days
inventory5categories, products, variants (SKU)
meetings2office rooms, meeting minutes and transcripts (read-only)
qms9controlled documents (read-only); trainings: create with questions, release, assign, track
process4process definitions and executions; start and cancel
surveys2surveys and aggregated poll answers (read-only)

Context cost of tools/list (≈3.5 chars/token):

default (100 tools)all (244 tools)
several workspaces~39.9k chars ≈ 11.4k tokens~93.7k chars ≈ 26.8k tokens
pinned with HULY_WORKSPACE~36.2k chars ≈ 10.3k tokens~84.5k chars ≈ 24.1k tokens

For comparison, 2.2.0 needed ≈12.8k tokens for 64 tools. Using one workspace? Set HULY_WORKSPACE — the workspace argument then disappears from every tool (−10%). Claude Code loads MCP tools on demand, so there even HULY_TOOLSETS=all costs little up front.

Agent workflow

Tools, resources and prompts for AI agents working on Huly issues (toolset agent):

ToolWhat it does
my_dayToday (or date) in one call: own calendar events and work slots, open to-dos (overdue and due first), open issues assigned to me (in progress first), PRs waiting for my review and my own open PRs, unread inbox grouped by object. Times in UTC
standupWhat I did since the last working day (Monday → Friday, or since): status changes, new issues, comments, time, finished to-dos; then today (calendar, to-dos, my issues) and my issues blocked by open ones
release_notesRelease notes from a milestone: done issues as "New and changed" and "Fixes" (by title or label, English and German), merged PR numbers, epics left out; open issues listed separately
project_reportWeekly (or since: 14d, ISO date) report of a project: done in the period (status changed to done — not just touched by sync), new, in progress (flagged when untouched), blocked by open issues, overdue, PRs merged and open, open milestones with progress and target, time logged per person. To keep it in Huly, pass the text to create_document + update_document
get_issue_contextEverything about an issue in one call: fields, description, parent chain, sub-issues, blocked by / blocks, related, PRs, comments, suggested branch name
start_workStatus → In Progress, assign to me, optionally claim — returns the full context
finish_workWork summary as comment, PR (#12, URL or Huly id) linked as sub-issue, status → Review in progress, claim released. Validates the PR before changing anything
create_issue_treePlan → epic + sub-issues with priorities, components, milestones, assignees, labels and blockers ("#2" = second child). Same-title issues are reused, dry run by default
issues_from_documentSpec → issues: the open checklist items of a Huly document (without a checklist: its sections) become sub-issues of an epic, checked items are skipped, the document is linked to the epic. Dry run by default; one call instead of reading the document and repeating every task
issues_from_meetingMeeting notes → issues: open checkboxes, lines starting with TODO:/Action:/Aufgabe: and list items under a heading like "Action items" or "Next steps" become issues. @Name (or a Huly mention) becomes the assignee, a date (2026-11-10, 10.11.2026, "due …"/"bis …") the due date. Unknown people are flagged and left unassigned; same-title issues are skipped; each new issue is linked to the document. Dry run by default
changes_sinceIssues/PRs changed since 24h, 7d or an ISO time — which fields changed, new comments, by whom
find_project_for_repoWorkspace + project linked to a GitHub repo (owner/name, URL or git remote) via Huly's GitHub integration
claim_issue / release_issueLease an issue to an agent (label agent:working + comment marker) so parallel agents skip it; expires after minutes

Resources — huly://<workspace>/issue/<PROJ-12> and huly://<workspace>/document/<id>. Your open assigned issues are listed, so in Claude Code you can @-mention them. Guides for agents in any client: huly://guide/workflow (how to work with Huly), huly://guide/costs (cheapest call per question) and huly://guide/onboarding (bringing a project into Huly) and huly://guide/features (which Huly feature to use for what, and which toolset it needs) — the same text as the plugin skill.

Prompts — setup (ask how Huly is used for a project and write the rules for your project instructions), start, finish, plan, triage, standup (in Claude Code: /mcp__huly__start …).

Guard rails (environment):

VariableEffect
HULY_WRITE_PROJECTS=TSK,WEBChanges are only allowed when every project they touch (project keys and PROJ-12 ids in the arguments) is listed. Reads are never blocked. Tools without a project (chat, documents, planner) are not affected
HULY_AUDIT_LOG=/path/audit.jsonlEvery change is appended as one JSON line (time, tool, shortened arguments, success, first line of the result)
HULY_AGENT_NAME=claude-2Default agent name for claims
HULY_CONFIRM=autoDeletes and other hard-to-undo tools (delete_*, bulk_update_issues, move_issue, generic_update/generic_delete, revoke_public_link, restore_file_version) ask you first via MCP elicitation when the client can show a form (Claude Code in an interactive session). auto (default): ask when possible, otherwise run as before. strict: refuse when the client cannot ask (unattended agents). off: never ask. Dry runs never ask

Huly hands work to Claude: huly-mcp watch

huly-mcp watch turns Huly into the place where you give Claude work. It polls for open issues that carry a label (--label claude) or are assigned to the account it runs as (--assigned, the default), and for each one:

  1. claims the issue (claim_issue), so a second watcher or agent skips it,
  2. runs a command for it — by default claude -p in the current directory, with this MCP server attached and a prompt that says: read the issue, do the work, hand back with finish_work,
  3. releases the claim if the run did not (finish_work releases it), and comments on the issue if the run failed or timed out.
bash
cd ~/code/my-repo
npx huly-mcp-selfhost watch --workspace acme --project WEB --label claude --dry-run   # what would run
npx huly-mcp-selfhost watch --workspace acme --project WEB --label claude             # poll every 60 s
  • Each issue runs once. A state file (~/.huly-mcp/watch-<workspace>.json) remembers it. To run it again, remove the label and add it again.
  • The command is yours. --command takes any program; the placeholders {prompt} {issue} {title} {workspace} {agent} {trigger} {mcpConfig} are filled in per argument — no shell is involved, so issue titles cannot inject shell commands. The run also gets HULY_ISSUE, HULY_ISSUE_TITLE and HULY_WORKSPACE in its environment. Examples: a GitHub Action (--command "gh workflow run agent.yml -f issue={issue}"), or Claude with more tools (--command "claude -p {prompt} --mcp-config {mcpConfig} --allowedTools mcp__huly,Bash(npm test),Edit").
  • Default command: claude -p {prompt} --mcp-config {mcpConfig} --strict-mcp-config --allowedTools mcp__huly --permission-mode acceptEdits. {mcpConfig} is a temporary MCP config that starts this server limited to the watched workspace; the credentials are passed through the environment, not written to the file.
  • Unattended means careful. Runs get HULY_CONFIRM=strict unless you set it: deletes and other risky tools are refused, because nobody is there to confirm them. HULY_WRITE_PROJECTS limits which projects are watched and changed. Issue text reaches the agent as instructions — only watch projects whose writers you trust.
  • Its own identity. Give the agent its own Huly account (invite e.g. claude@your-domain to the workspace) and start the watcher with that account's credentials (--env-file agent.env with HULY_EMAIL/HULY_PASSWORD or HULY_TOKEN). Then you hand work to Claude by assigning an issue to that user, and every comment, status change and claim shows up under its name instead of yours. --agent <name> (or HULY_AGENT_NAME) names it in claims.
  • Other options: --interval <sec>, --timeout <min> (default 60), --once, --cwd <dir>, --prompt <template>, --state <file>. huly-mcp watch --help lists them all.

CI test results into Huly: huly-mcp junit

huly-mcp junit report.xml --project "App" imports a JUnit XML report as a test run in Huly's test management. Almost every test runner writes JUnit XML (Jest/Vitest with a JUnit reporter, pytest --junitxml, go-junit-report, Gradle, Maven Surefire, xcpretty). Suites and cases that do not exist yet are created; failed tests keep their message and stack trace. Then ask Claude "What is flaky in App?" (get_test_report) or "File bugs for today's failures in PROJ" (create_issue_from_test_result).

yaml
# .github/workflows/test.yml (after the test step)
- name: Report to Huly
  if: always()
  run: npx -y huly-mcp-selfhost junit reports/junit.xml --project "App" --run "CI ${{ github.ref_name }} #${{ github.run_number }}"
  env:
    HULY_URL: ${{ secrets.HULY_URL }}
    HULY_TOKEN: ${{ secrets.HULY_TOKEN }}
    HULY_WORKSPACE: my-workspace

Options: --run <name>, --parent-suite <suite>, --no-create (only existing cases), --fail-on-failures (exit code 1 when tests failed), --dry-run, --workspace. huly-mcp junit --help lists them.

Tool reference

CategoryToolDescription
Workspaceslist_workspacesList the workspaces this account can access (name, slug, id)
undo_changesUndo your last changes made through this server, newest first: what was created is removed, changed fields get their old values, deleted objects come back with the same id and data. Dry run by default; skips (and says so) when someone changed the object since — force overrides. Covers every write tool; history per process (stdio) or per session (HTTP), last 50 changes
check_setupDiagnose the setup in one call: version and whether a newer one exists, login (incl. API-token expiry), workspaces, front URL reachable, active settings — never prints secrets
Projectslist_projectsList all projects in a workspace
get_projectGet project details + available statuses
create_projectCreate a new tracker project with a unique identifier (tracker-admin)
update_projectChange name, description, default assignee or default status (tracker-admin)
Issueslist_issuesList issues — open ones by default (status: "all" or a status name for others), filterable by priority, milestone, component, label, assignee, parent (null = none for each), text in the title and due date (overdue, set, none); offset pages through long lists ("51–100 of 118")
get_issueFull details of an issue (e.g. PROJ-42): assignee, milestone, component, labels, parent, links
create_issueCreate a new issue (with optional Markdown description)
update_issueUpdate title, description, status, priority, assignee, due date, component, milestone
delete_issuePermanently delete an issue by identifier
bulk_update_issuesSame change on many issues at once — validates all before writing
move_issueMove an issue (with sub-issues, comments, attachments, labels, time) to another project
list_sub_issuesSub-issue tree of an epic with status and progress
Commentsadd_commentAdd a comment to an issue
list_commentsNewest comments on an issue, oldest first (includes IDs for delete_comment); comments over 1,500 chars are shortened with a marker unless full: true
update_commentEdit a comment
delete_commentDelete a specific comment by ID
Time Trackinglog_timeLog hours spent on an issue
list_time_reportsLogged time per issue or project, totals per member, member/date filters
timesheetOne week by day and project with totals; gaps on past workdays marked (default 8 h); everyone gives a row per person
Labelslist_labelsList all labels with color + usage count
create_labelCreate a new label with an optional hex color
add_labelAdd a label to an issue (auto-creates if it doesn't exist)
remove_labelRemove a label from an issue
update_labelRename or recolor a label (updated on every issue) (tracker-admin)
delete_labelDelete a label and remove it from every issue (tracker-admin)
Relationsadd_relationMark two issues as related (bidirectional)
add_blocked_byMark an issue as blocked by another issue
set_parentSet or clear the parent epic of an issue
remove_relationRemove a "related" link
remove_blocked_byRemove a "blocked by" link
repair_parent_linksFix sub-issues linked by huly-mcp ≤ 2.1 that don't show under their parent (dry run by default) (tracker-admin)
Memberslist_membersList workspace members with names and roles
Persons (contacts)list_personsContact persons with their channels
get_personPerson details, contact channels, organizations
create_personCreate a contact person (with optional channels)
update_personChange name or city
add_contact_channelAdd email, phone, LinkedIn, …
remove_contact_channelRemove a contact channel
Milestoneslist_milestonesList milestones for a project
create_milestoneCreate a milestone with a target date and status
get_milestoneMilestone details with progress (done/open/canceled issues) and the open issues
update_milestoneChange name, target date, status or description
delete_milestoneDelete a milestone; its issues are unassigned or moved (moveIssuesTo) (tracker-admin)
Componentslist_componentsList components (sub-areas) in a project
create_componentCreate a new component with optional lead
update_componentChange name, description or lead
delete_componentDelete a component; its issues are unassigned or moved (moveIssuesTo) (tracker-admin)
Documentslist_teamspacesList document teamspaces
create_teamspaceCreate a new teamspace (top-level document folder)
list_documentsList documents in a teamspace
delete_documentPermanently delete a document by ID
get_documentGet document metadata + content
create_documentCreate a new document in a teamspace
update_documentWrite Markdown content to a document — Mermaid diagrams render natively
link_documentLink a document to an issue — appears in the Relations panel
list_documentsShows the full document tree; update_document also renames and moves (incl. to another teamspace, with sub-documents)
Searchsearch_issuesFull-text search across all issues of a workspace
searchFull-text search across everything — issues, documents, messages, cards, files, persons … (kinds filter) (generic)
Chatlist_channelsList all channels in the workspace
create_channelCreate a new channel
start_direct_messageStart (or find) a 1:1 direct message with a workspace member
send_messageSend a message to a channel or direct message
list_messagesList messages with authors, ids, replies, reactions, pins
list_threadA message with its thread replies
reply_to_messageReply in a thread (channel messages and issue comments)
update_messageEdit a message or reply
delete_messageDelete a message or reply
add_reaction / remove_reactionEmoji reactions
pin_messagePin or unpin a message
Attachmentsattach_fileAttach a file to an issue (base64-encoded content)
list_attachmentsList files attached to an issue
delete_attachmentDelete a file attachment from an issue
Issue Statuseslist_issue_statusesList all issue statuses (workflow states), grouped by phase
create_issue_statusCreate a new issue status — available in every project immediately (tracker-admin)
Organizationslist_organizationsList all organizations (companies) in the workspace
get_organizationGet details of an organization, including description
create_organizationCreate a new organization (company contact)
update_organizationSet the description of an organization from Markdown
Inbox (inbox)list_notificationsYour notifications, grouped by issue/PR/document
triage_inboxWork through the inbox in one call: per unread item its status and assignee, which fields changed and the new comments (plain text, shortened) since you last read it
mark_notifications_readMark read by object, ids or all; optionally archive
manage_notificationsFor one object: pin/unpin, hide/unhide, unread, unarchive, follow/unfollow (follow = its changes reach your inbox)
Activity (activity)get_activityWho changed what, plus comments, for an issue or object
Planner (planner)list_todosYour to-dos (open/done, due date filter)
create_todoCreate a to-do, optionally attached to an issue
update_todoChange title, due date, priority; mark done/reopen
delete_todoDelete a to-do
schedule_todoBlock time for a to-do in your calendar
Calendar (calendar)list_eventsEvents and work slots in a date range
create_event / update_event / delete_eventManage events in your calendar
GitHub (github)list_pull_requestsPRs by project, issue, state
get_pull_requestState, branches, reviews, review comments, linked issue
Generic (generic)list_classesAll data classes of the workspace (filter by module, optional counts)
describe_classAttributes and types of a class
query_documentsRead documents of any class; secrets are redacted
Generic write (generic-write)generic_create / generic_update / generic_deleteAny class; dry run by default, deletes also need confirm: true; system classes, spaces and credentials are blocked
Collaboration (collaboration)list_collaborators / add_collaborator / remove_collaboratorWho follows an issue/document (and gets its notifications)
create_public_link / list_public_links / revoke_public_linkRead-only guest links for issues and documents
list_document_comments / add_document_commentComments on documents
Cards (cards)list_card_types / create_card_type / delete_card_typeCard types (MasterTags) and tags
list_cards / get_cardCards by type, parent or title; one card with fields, tags, children, content
create_card / update_card / delete_cardWith content (Markdown), parent, tags and field values
Custom fields (fields)list_custom_fieldsFields of issues, a project type, card type or class — or the values on one object
create_custom_fieldstring, number, boolean, date, markup, enum (with values) or ref
set_custom_fieldsSet values on an issue, card or document (validated against the type)
Drive (drive)list_drives / create_drive / list_drive_filesDrives and their folder tree
create_folder / update_drive_item / delete_drive_itemFolders; rename/move files and folders (across drives too)
upload_file / download_fileBase64 or local files under HULY_FILE_ROOT; same name → new version
list_file_versions / restore_file_versionFile history
Issue templates (templates)list_issue_templates / get_issue_templateTemplates with their sub-issues
create_issue_template / update_issue_template / delete_issue_templatePriority, assignee, component, milestone, estimation, labels, sub-issues
create_issue_from_templateNew issue plus sub-issues from a template
Test management (testing)list_test_projects / create_test_projectTest projects
list_test_cases / create_test_suite / get_test_case / create_test_case / update_test_case / delete_test_caseSuites (nested) and cases
list_test_plans / create_test_planPlans from suites and/or cases
create_test_run / list_test_runs / get_test_run / set_test_resultRuns with Passed/Failed/Blocked results; results can be assigned
create_test_casesMany cases in one call (e.g. drafted from a spec or an issue); existing names are skipped
update_test_suite / delete_test_suite / update_test_run / delete_test_run / delete_test_planRename/move suites (no cycles), delete with recursive, run due dates
import_test_resultsJUnit XML from CI (Jest, Vitest, pytest, Go, Gradle, Maven, xcpretty …) as a run; missing suites/cases are created, failures keep message and stack trace
test_coverage / link_test_case / release_checkWhich issues of a milestone have test cases and their latest result; link a case to an issue; is the milestone ready to ship (open/blocked issues, open PRs, failing or missing tests, target date) with a verdict
get_test_reportOver the latest runs: failing now, flaky (flipped ≥ 2×), blocked, never run, per-suite table
create_issue_from_test_resultBug from a failed result: steps + failure in the description, related to the test case, comment on the result
Products (products)list_products / get_productProducts and their versions (read-only)
Labels (tracker-admin)list_label_categories / create_label_category / set_label_categoryGroup issue labels
Project types (tracker-admin)list_project_typesProject types, their task types and status workflows, and which projects use them
Workspace (members)get_workspace_settingsYour role, members per role, invite defaults, integrations
create_invite_link / send_invite / set_member_roleInvite links (personal or with use limit and e-mail mask; nothing is sent), invitation e-mails, roles. send_invite and set_member_role ask for confirmation
Administration (admin)list_modules / set_moduleModules (apps) of the workspace on or off for everyone, like Settings → Configure
update_workspace_settingsWorkspace name, read-only guests, guest sign-up, password expiry
get_my_profile / update_my_profileYour name, bio, city, website, social links, login identities
create_workspace / setup_workspaceA new workspace; a template that switches modules, adds statuses, projects with components and milestones, and teamspaces — dry run first, reuses what exists
huly_apiThe account service directly, like gh api: read methods freely, write methods with dry run and confirmation. Deleting workspaces or accounts, logins, passwords and secrets are not reachable; tokens are redacted
Recruiting (recruiting)list_vacancies / create_vacancy / update_vacancyVacancies with applications per status; archive via update_vacancy
list_candidates / create_candidateCandidates (person + title, e-mail, onsite/remote)
list_applications / create_application / update_application / delete_applicationApplications APP-n through the vacancy's workflow, one per candidate and vacancy
CRM (crm)list_leads / create_lead / update_lead / delete_lead / list_customersLeads LEAD-n in funnels; a new customer (person or organization) can be created with the lead
HR (hr)list_departments / create_department / delete_department / set_departmentDepartment tree, team leads, members
list_time_off / create_time_off / delete_time_offVacation, sick days, PTO, overtime, remote days
Inventory (inventory)list_inventory / create_inventory_category / create_inventory_product / update_inventory_item / delete_inventory_itemCategories, products, variants with SKU (Huly beta module)
Message templates (templates)list_message_templates / get_message_template / create_message_template / update_message_template / delete_message_templateReusable texts with ${field} placeholders
Meetings (meetings)list_meetings / get_meetingRooms, meeting minutes, action items and transcripts (read-only)
QMS (qms)list_controlled_documents / get_controlled_documentControlled documents: version, state, reviewers/approvers, requests, content (read-only)
list_trainings / get_trainingTrainings, questions (answers optional) and per-person results with assignment ids
create_training / add_training_questions / release_training / assign_training / cancel_training_requestA draft TR-n with scored or open questions (single, multiple, ordering) → release (archives the earlier revision) → assign to people with due date and max attempts
Processes (process)list_processes / list_executions / start_process / cancel_executionProcess states and transitions; running executions; run a process on a card like Huly's "Run process" menu (processes that ask for input in the app are refused); cancel asks first
Surveys (surveys)list_surveys / get_surveySurveys and aggregated poll answers (read-only)

Workspaces (one account, several workspaces)

A single Huly account can belong to several workspaces — e.g. a personal one and a team one. This server logs in once with your account credentials and discovers every workspace that account can access via the account service (getUserWorkspaces()). You don't configure a workspace in the environment.

  • list_workspaces returns name, slug and id of every available workspace.
  • Every other tool takes a workspace argument — the slug, the name or the id (case-insensitive): list_projects(workspace="jokeks2023"), get_issue(workspace="acme", identifier="PROJ-1"), log_time(workspace="jokeks2023", identifier="WEB-12", hours=2).
  • Changes always require workspace. Every tool that creates, updates, deletes, links, sends, attaches or logs something has workspace as a required argument — the server never falls back to an implicit, default or "last used" workspace for a write.
  • Reads may omit workspace only if exactly one workspace is available. With several, the call fails and lists the options.
  • IDs are per workspace. PROJ-1, a document id or a comment id identifies something only together with its workspace — the same id can exist in two workspaces. Pass the same workspace you got the id from.
  • Each workspace gets its own lazily opened, cached WebSocket connection with its own workspace token (via selectWorkspace()), so workspaces never share state.

Workspace slug: the part of the Huly URL after the domain: huly.app/workbench/myteam → myteam. You don't need to look it up — list_workspaces (or npx huly-mcp-selfhost setup) prints it.

HULY_WORKSPACE: pins the server to that one workspace. Tools then have no workspace argument at all, which saves ~10% of the tool-list tokens. Leave it unset to use all workspaces of the account.


Configuration

VariableRequiredPurpose
HULY_EMAIL + HULY_PASSWORDone auth optionAccount login (needs a password set on your Huly account)
HULY_TOKENone auth optionAccount token for SSO accounts (Google/GitHub) — get it with npx huly-mcp-selfhost setup
HULY_ACCOUNTS_URLself-hosted onlyAccount service — login and workspace discovery. Default https://account.huly.app. Self-hosted: your instance's accounts URL, e.g. https://huly.example.com/_accounts
HULY_FRONT_URLself-hosted (optional on Cloud)Front service — document/description content and file uploads. Not involved in login or workspace discovery. Self-hosted: e.g. https://huly.example.com
HULY_TRANSACTOR_URLnoSelf-hosted, server next to Huly: connect to the transactor directly instead of the public address the account service returns, e.g. ws://huly/_transactor (via nginx) or ws://transactor:3333. Saves the detour through your uplink/tunnel. HULY_ACCOUNTS_URL can be internal too (http://huly/_accounts); an internal HULY_FRONT_URL also works but then invite links show the internal address
HULY_WORKSPACEnoPin the server to one workspace; tools then take no workspace argument (fewer tokens)
HULY_CACHEno0 turns off the reference cache (statuses, people, projects, milestones, components, labels are kept per connection and dropped on any change Huly reports). On by default
HULY_ANNOTATIONSno1: every tool carries MCP annotations — a title, readOnlyHint for reads, destructiveHint for deletes/removals/bulk changes. Clients can use them to allow reads without asking. Costs ~16% more tool-list tokens, so it is off by default; the Claude Code plugin turns it on
HULY_DYNAMIC_TOOLSETSno1: start with HULY_TOOLSETS and load more on demand via enable_toolsets (see Toolsets)
HULY_TOOLSETSnoComma-separated toolsets to enable, or all (see Toolsets). Default: agent,tracker,documents,chat,contacts,inbox,activity,planner,generic
HULY_WRITE_PROJECTSnoOnly allow changes in these projects, e.g. TSK,WEB (see Agent workflow)
HULY_AUDIT_LOGnoAppend every change as JSON line to this file
HULY_AGENT_NAMEnoDefault agent name for claim_issue (default claude)
HULY_CONFIRMnoauto (default), strict or off — ask before deletes and other risky tools (see Agent workflow)
HULY_FILE_ROOTnoDirectory for local files: upload_file (localPath) and download_file (savePath) only work inside it. Off when unset — the server may run remotely
MCP_TRANSPORTnoDocker only: http = the server's own HTTP endpoint (/mcp, per-user logins) instead of mcp-proxy (see Team server over HTTP)
MCP_OAUTH_SECRETnoHTTP mode: turns on "log in with Huly" (OAuth); at least 32 characters, e.g. openssl rand -hex 32 (see Team server over HTTP)
MCP_PUBLIC_URLwith OAuthThe HTTPS address clients reach the server at (issuer and login page), e.g. https://huly-mcp.example.com
MCP_AUTH_TOKENnoHTTP mode: bearer token every client must send; required before the server's own HULY_* login is used over HTTP
HULY_PREWARMno0 turns off connecting at start-up. By default the server logs in (and opens the workspace when there is only one) right after it starts, so the first tool call answers in well under a second instead of 4–12 s
HULY_SUBSCRIBE_POLL_MSnoHow often subscribed huly:// resources are checked for changes (default 30000, minimum 5000)

Authentication

Create a .env file in the project root (or pass via env in your client config). No workspace is needed in either option.

Option A — Email + password (recommended):

Works if you have a password set on your Huly account (Profile → Security → Change password).

bash
HULY_EMAIL=your@email.com
HULY_PASSWORD=yourpassword

Option B — Token (SSO accounts: Google/GitHub):

bash
npx huly-mcp-selfhost setup                                  # Huly Cloud
npx huly-mcp-selfhost setup --url https://huly.example.com   # self-hosted

The wizard asks for your Huly address (unless --url or HULY_ACCOUNTS_URL is set), sends a one-time code to your email and lists the workspaces the account can access (a discovery test). It then prints the token and the URLs to paste into your client — for the Claude Code plugin: /plugin → huly → configure. In a checkout of this repo, npm run setup does the same and saves the token as HULY_TOKEN in .env.

bash
HULY_TOKEN=your-token-here

A token copied from the browser (DevTools → Application → Local Storage → token) also works, but may be scoped to the single workspace open in that tab. If the account service refuses to list workspaces for such a token, the server falls back to that one workspace. Use npx huly-mcp-selfhost setup for full multi-workspace discovery.

Tokens expire after some time. If you get an auth error, run npx huly-mcp-selfhost setup again or switch to email + password.

Option C — API token (Huly → Settings → API tokens; in Huly's development branch since 2026-08, not yet in every release or self-hosted install): bound to one workspace, with an expiry date, revocable without changing your password — the best choice for agents and CI. Use it as HULY_TOKEN. The server keeps it to its own workspace (even where Huly itself would allow switching), checks the expiry up front, and check_setup warns two weeks before it runs out. Tested against Huly's token format, not yet against a live server that issues such tokens.

Something not working? Ask Claude to run check_setup: version (and whether a newer one exists), login, workspaces, whether the front URL is reachable and which settings are active — without printing secrets.

Self-hosted Huly:

bash
HULY_ACCOUNTS_URL=https://your-huly-instance.com/_accounts   # login + workspace discovery
HULY_FRONT_URL=https://your-huly-instance.com                # document content + file uploads

Compatible clients

The same MCP server works across all major AI coding tools. All examples use email + password and the npm package via npx; for SSO accounts replace the two credentials with "HULY_TOKEN": "your-token" (see Authentication). To run a local build instead, replace npx + args with node + ["/absolute/path/to/huly-mcp/dist/index.js"].

Self-hosted: add HULY_ACCOUNTS_URL and HULY_FRONT_URL to every env block below.


Claude Desktop

One click: download huly-mcp-selfhost.mcpb and double-click it (or Settings → Extensions → Advanced settings → Install Extension…). Claude Desktop shows a form for your Huly login; password and token go to the system keychain. No Node.js or JSON needed — Claude Desktop brings its own Node.js.

Or by hand in the config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
json
{
  "mcpServers": {
    "huly": {
      "command": "npx",
      "args": ["-y", "huly-mcp-selfhost"],
      "env": {
        "HULY_EMAIL": "you@example.com",
        "HULY_PASSWORD": "your-password"
      }
    }
  }
}

Restart Claude Desktop after saving.


Claude Code (CLI)

bash
claude mcp add huly \
  -e HULY_EMAIL=you@example.com \
  -e HULY_PASSWORD=your-password \
  -- npx -y huly-mcp-selfhost

Add --scope project (writes .mcp.json, shared with the repo — don't commit secrets) or --scope user (all your projects) after add huly. Verify with claude mcp list.


Cursor

Create or edit ~/.cursor/mcp.json (or .cursor/mcp.json in a project):

json
{
  "mcpServers": {
    "huly": {
      "command": "npx",
      "args": ["-y", "huly-mcp-selfhost"],
      "env": {
        "HULY_EMAIL": "you@example.com",
        "HULY_PASSWORD": "your-password"
      }
    }
  }
}

The tools appear in the Agent panel under MCP.


Windsurf

Create or edit ~/.codeium/windsurf/mcp_config.json:

json
{
  "mcpServers": {
    "huly": {
      "command": "npx",
      "args": ["-y", "huly-mcp-selfhost"],
      "env": {
        "HULY_EMAIL": "you@example.com",
        "HULY_PASSWORD": "your-password"
      }
    }
  }
}

Refresh the MCP servers in the Cascade panel.


VS Code — Cline

Cline → MCP Servers → Installed → Configure MCP Servers (opens cline_mcp_settings.json):

json
{
  "mcpServers": {
    "huly": {
      "command": "npx",
      "args": ["-y", "huly-mcp-selfhost"],
      "env": {
        "HULY_EMAIL": "you@example.com",
        "HULY_PASSWORD": "your-password"
      },
      "disabled": false
    }
  }
}

VS Code / JetBrains — Continue

Add to ~/.continue/config.yaml (MCP tools are available in Agent mode):

yaml
mcpServers:
  - name: huly
    command: npx
    args: ["-y", "huly-mcp-selfhost"]
    env:
      HULY_EMAIL: you@example.com
      HULY_PASSWORD: your-password

Zed

Add to ~/.config/zed/settings.json:

json
{
  "context_servers": {
    "huly": {
      "source": "custom",
      "command": "npx",
      "args": ["-y", "huly-mcp-selfhost"],
      "env": {
        "HULY_EMAIL": "you@example.com",
        "HULY_PASSWORD": "your-password"
      }
    }
  }
}

OpenAI Codex CLI

Add to ~/.codex/config.toml:

toml
[mcp_servers.huly]
command = "npx"
args = ["-y", "huly-mcp-selfhost"]
env = { HULY_EMAIL = "you@example.com", HULY_PASSWORD = "your-password" }

or: codex mcp add huly --env HULY_EMAIL=you@example.com --env HULY_PASSWORD=your-password -- npx -y huly-mcp-selfhost


Any other MCP-compatible client

The server uses standard stdio transport:

  • command: npx with args ["-y", "huly-mcp-selfhost"], or node with ["/absolute/path/to/huly-mcp/dist/index.js"]
  • env: HULY_EMAIL + HULY_PASSWORD (or HULY_TOKEN); self-hosted also HULY_ACCOUNTS_URL + HULY_FRONT_URL — see Configuration

For network access (HTTP/SSE) use the Docker image.


image

Running the server

Every client example uses "command": "npx", "args": ["-y", "huly-mcp-selfhost"]. Pin a version (huly-mcp-selfhost@4.0.0) if you want updates only when you choose.

From source

bash
git clone https://github.com/JoKeks2023/huly-mcp.git
cd huly-mcp
npm ci && npm run build

Then use "command": "node", "args": ["/absolute/path/to/huly-mcp/dist/index.js"].

Docker

For deployments where the MCP server needs to be reachable over the network (behind a reverse proxy, remote MCP clients, etc.) rather than launched locally per-client, a prebuilt image is published to Docker Hub and GHCR for every release, for linux/amd64 and linux/arm64:

bash
docker pull jokeks2023/huly-mcp:latest   # latest release; also :3, :3.1, :3.1.0
# also mirrored at ghcr.io/jokeks2023/huly-mcp:latest
# :edge = latest build from main

Or with Compose — copy .env.example to .env, fill in your credentials (no workspace needed), then:

bash
docker compose up -d

The container wraps the server with mcp-proxy to expose it over HTTP/SSE at :8000/sse, since standard MCP stdio transport can't be reached over a network directly. Behind a reverse proxy or on a public hostname, set MCP_ALLOWED_HOSTS to the host name(s) clients use, e.g. MCP_ALLOWED_HOSTS=huly-mcp.example.com. Otherwise mcp-proxy only accepts localhost and answers 421 Invalid Host header. See Dockerfile / docker-compose.yml.

Team server over HTTP

huly-mcp-selfhost http serves MCP over Streamable HTTP at /mcp (health check /healthz) — no proxy, one long-lived session per client, so logins and connections are reused (the first call of a session takes ~0.2 s). In Docker: MCP_TRANSPORT=http.

bash
npx huly-mcp-selfhost http --host 0.0.0.0 --port 8000

Everyone with their own Huly account. A client sends its own login as headers; the session then acts as that person:

bash
claude mcp add --transport http huly https://huly-mcp.example.com/mcp \
  --header "X-Huly-Token: <your token>"            # or X-Huly-Email + X-Huly-Password
  # optional: --header "X-Huly-Workspace: acme"    # pin one workspace (fewer tokens)

Log in with Huly (OAuth). Set MCP_OAUTH_SECRET (openssl rand -hex 32) and MCP_PUBLIC_URL (the HTTPS address clients reach, e.g. https://huly-mcp.example.com). Then people simply add https://huly-mcp.example.com/mcp in their AI app — Claude Code (claude mcp add --transport http huly …), Claude's custom connectors and other OAuth-capable MCP clients — and log in in the browser with their own Huly account: e-mail + password, or a one-time code by e-mail for Google/GitHub accounts. One server, as many people as you like, nobody handles tokens.

  • Stateless: registrations, codes and tokens are sealed with AES-256-GCM under MCP_OAUTH_SECRET — no database, logins survive restarts. Changing the secret logs everyone out.
  • The Huly password goes only to your Huly server; the server keeps just the resulting Huly token, inside the sealed tokens. Access tokens last 1 hour, refresh tokens 30 days and work once (rotation). Login attempts are throttled per address.
  • The protocol parts (client registration, PKCE, token endpoint, metadata) are the MCP SDK's own; this server adds the login page and the tokens.
  • X-Huly-Workspace still pins a workspace. In OAuth mode /mcp needs the OAuth token; MCP_AUTH_TOKEN and the X-Huly-* login headers are for the other mode.

One shared account. The server's own HULY_* login is only used behind a bearer token — set MCP_AUTH_TOKEN and give clients Authorization: Bearer <token>. Without it an open port would act as that account, so the server refuses and asks for per-user headers instead. With MCP_AUTH_TOKEN set, every request needs the bearer token, also when it brings its own login.

Several fixed accounts on one server (profiles). Instead of one container per person, put the logins in the .env — one variable per field, MCP_PROFILE_<NAME>_<FIELD>. Each profile gets its own path /<name>/mcp — easy to route through a Cloudflare Tunnel — and its own bearer token:

bash
MCP_PROFILE_JORIS_EMAIL=joris@example.com
MCP_PROFILE_JORIS_PASSWORD=…
MCP_PROFILE_JORIS_AUTH_TOKEN=a-long-random-string        # openssl rand -hex 24
MCP_PROFILE_ANNA_TOKEN=<Huly API token>
MCP_PROFILE_ANNA_WORKSPACE=acme
MCP_PROFILE_ANNA_TOOLSETS=tracker,documents,planner
MCP_PROFILE_ANNA_AUTH_TOKEN=another-long-random-string

Fields: EMAIL, PASSWORD, TOKEN, WORKSPACE, TOOLSETS, AUTH_TOKEN, PUBLIC. Names become lowercase paths (MCP_PROFILE_TEAM_CI_TOKEN → /team_ci/mcp). The same as JSON, if you prefer a file: MCP_PROFILES_FILE=/run/secrets/huly-profiles.json (or the JSON in MCP_PROFILES):

json
{
  "joris": { "email": "joris@example.com", "password": "…", "authToken": "a-long-random-string" },
  "anna":  { "token": "<Huly API token>", "workspace": "acme", "toolsets": "tracker,documents,planner", "authToken": "another-long-random-string" }
}

Clients connect to https://huly-mcp.example.com/joris/mcp with Authorization: Bearer <authToken> (Claude Code: claude mcp add --transport http huly https://huly-mcp.example.com/joris/mcp --header "Authorization: Bearer …"). Per profile: token or email + password, optional workspace (pin) and toolsets; authToken (16+ characters) is required unless "public": true (PUBLIC=true) — only when the path is protected elsewhere, e.g. by Cloudflare Access. Each profile keeps one Huly connection, opened at start-up. All profiles use the server's HULY_ACCOUNTS_URL / HULY_FRONT_URL. Profiles work next to OAuth and the other modes; /healthz and /mcp stay as they are.

Set MCP_ALLOWED_HOSTS to the host names clients use (DNS-rebinding protection). Use HTTPS (reverse proxy) as soon as logins travel over a network. Idle sessions close after 30 minutes.


Example prompts

Workspaces:

  • "Which Huly workspaces do I have?"
  • "List the projects in my Acme workspace"
  • "In the jokeks2023 workspace, log 2 hours on WEB-12"

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"
  • "How far along is milestone v2.0 Launch in PROJ?"
  • "Move the v2.0 Launch milestone to 2026-07-15 and set it to In Progress"
  • "Delete milestone 'Beta' in PROJ and move its issues to 'v2.0 Launch'"

Planning & bulk work:

  • "Which issues in milestone v2.0 Launch carry the label 'bug' and are still unassigned?"
  • "Set PROJ-12, PROJ-13 and PROJ-20 to In Progress and put them into milestone v2.0 Launch"
  • "Show me the sub-issue tree of PROJ-1 and how far along it is"
  • "How many hours did we log on PROJ in October, per person?"
  • "Move PROJ-42 to the OPS project"

Inbox, planner, calendar:

  • "What's new in my inbox? Mark everything about PROJ-12 as read"
  • "Create a to-do 'Review PR' on PROJ-7 due Friday and block 45 minutes tomorrow at 9"
  • "What's on my calendar this week?"
  • "Show the history of PROJ-12 — who moved it to Done?"
  • "Which pull requests are waiting for review 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:

json
"env": {
  "HULY_EMAIL": "...",
  "HULY_PASSWORD": "...",
  "HULY_FRONT_URL": "https://front.huly.app"
}

HULY_FRONT_URL only serves document/description content and file uploads — each request uses the token of the workspace named in the tool call. It plays no part in login or workspace discovery (that is HULY_ACCOUNTS_URL).

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

Similar modules

Browse Issue tracking