weeek-mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@weeek-mcp List all projects in my Weeek workspace."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
weeek-mcp
Local, read-only-by-default MCP server for Weeek — with opt-in write tools.
weeek-mcp connects AI clients (Claude Desktop, Claude Code, Cursor, MCP
Inspector) to your Weeek workspace over stdio. It is read-only by default —
a default install can list projects, tasks, boards, members and tags but change
nothing — and exposes five write tools only when you opt in with READ_ONLY=false.
Runs on Node ≥ 20; install with npx, no clone or build required.
Why this one
On npm.
npx -y weeek-mcpworks today — no clone, no build, no absolute paths.Read-only by default, with composable gates. Writes are simply not registered unless you opt in;
ENABLED_TOOLSwhitelists a subset andMAX_RESPONSE_CHARScaps every payload. Server-side, not client convention.Bilingual. Full EN ↔ RU documentation parity.
Granular error model. Nine distinct error codes with agent-readable messages, so a model knows when to retry versus give up without parsing prose.
Related MCP server: todoist-mcp
Quickstart
The recommended install path is npx — no clone, no build. Drop
examples/claude_desktop.mcp.json into your
MCP client config, replace YOUR_WEEEK_TOKEN_HERE with a real token from
https://app.weeek.net/ws/_/settings/apps/api, and restart the client:
{
"mcpServers": {
"weeek": {
"command": "npx",
"args": ["-y", "weeek-mcp"],
"env": {
"WEEEK_ACCESS_TOKEN": "YOUR_WEEEK_TOKEN_HERE"
}
}
}
}npx downloads weeek-mcp on first launch and caches it. Cursor and Cline use
the same mcpServers shape — see examples/cursor.mcp.json
and examples/cline.mcp.json. Other env vars have safe
defaults; override only what you need (see Configuration). If
npx cannot find node (typical with nvm), see
Troubleshooting; for a zero-dependency smoke test see
docs/smoke.md.
examples/lives on GitHub only — the npm tarball shipsdist/+README.md+README.ru.md+LICENSE.
Tools
Ten read tools are exposed by default. All fifteen appear only under
READ_ONLY=false (see Enabling write tools).
Read tool | Returns |
|
|
| the authenticated user ( |
| every project visible to the token |
| a single project by id, including its |
| one page of tasks (filters + offset/ |
| a single task by id, with multi-assignee fields |
| every workspace member |
| every tag |
| every board in a project |
| every column of a board, in sort order |
Write tool ( | Does |
| flips the completion flag; |
| moves a task to a board column (a column is a status) |
| files a new task and returns it with its new id |
| edits title / priority / type / due date |
| records a merge/pull-request URL in a custom field |
Full field-level reference (inputs, outputs, edge cases, truncation, multi-assignee) → docs/tools.md.
Enabling write tools
The default install cannot change anything in your workspace. All five
mutating tools are hidden behind READ_ONLY (default true) — not registered,
so they never appear in tools/list. Setting READ_ONLY=false takes
tools/list from ten tools to fifteen and lets the agent create, edit, move
and complete tasks in the workspace the token can reach. There is no
server-side confirmation step — annotations are a hint an MCP client is free
to ignore. Point the token at a workspace whose contents you are willing to see
changed.
"env": {
"WEEEK_ACCESS_TOKEN": "YOUR_WEEEK_TOKEN_HERE",
"READ_ONLY": "false"
}Start with one tool, not five. READ_ONLY=false intersected with
ENABLED_TOOLS gives you writes on, but only the one you asked for:
"env": {
"WEEEK_ACCESS_TOKEN": "YOUR_WEEEK_TOKEN_HERE",
"READ_ONLY": "false",
"ENABLED_TOOLS": "weeek_complete_task"
}READ_ONLY is the outer gate: naming a write tool in ENABLED_TOOLS does
not by itself opt into writes. The allowlist is not additive, so list the read
tools you need alongside it —
examples/claude_desktop.write.mcp.json
is a ready-to-edit config that does exactly that.
What each write tool can and cannot do
Tool | Changes | Undone by |
|
|
| one completion flag | re-firing with |
|
|
| one custom field's value | re-setting it |
|
|
| the task's board column (and board) | moving it back — if you know where it was |
|
|
| title / priority / type / due date | re-setting each field — if you know the old value |
|
|
| files a new task | deleting it, which this server cannot do |
|
|
The three true rows are marked "worth a human confirm" because the agent
never saw the old value and cannot put it back; weeek_create_task is the one
to watch — its effect cannot be undone through this server, and a retried create
files a second task. weeek_set_task_mr_link resolves its custom field by
name unless you pass custom_field_id / custom_field_name — the matched names
and ambiguity rules are in
docs/tools.md.
Configuration
Read from the environment at startup and validated with zod; invalid values
abort startup on stderr with a non-zero exit code. The server never reads a
.env file itself — pass variables through your MCP client's env block or
your shell.
Variable | Required | Default | Purpose |
| yes | — | Personal Weeek API token (≥ 20 chars; placeholders and whitespace-padded values are rejected). |
| no |
| Base URL for the Weeek HTTP client. Override for self-hosted proxies. |
| no |
| Per-request timeout (ms). Positive integer. |
| no |
| Hide write tools. When |
| no | (unset = all) | Comma-separated allowlist of tool names, still intersected with |
| no |
| Byte budget per response; over-budget payloads are clipped and flagged |
| no |
| Logger threshold: |
Both gates run server-side: a hidden tool is not registered, so an agent
cannot call it. READ_ONLY is load-bearing — leave it at the default unless you
intend an agent to change your workspace. See .env.example for a
copy-pasteable template.
Troubleshooting
Symptom | Likely cause | Fix |
Server doesn't appear in the client |
| Run |
| Same as above, plus | Run |
| Token contains whitespace/control chars, or is the placeholder | Generate a real token at https://app.weeek.net/ws/_/settings/apps/api and paste it without surrounding spaces or newlines. |
| URL uses a non- | Use plain |
|
|
|
| The client launches under a different | See the NVM workaround below. |
Claude Desktop and Cursor launch their MCP subprocess under a non-interactive
shell that does not source ~/.nvm/nvm.sh, so a bare "command": "npx"
silently fails when Node is installed via nvm. Either hard-code an absolute path
— run which npx and paste the result as command (update it whenever you
switch nvm version); the package is still downloaded and cached on first run:
{ "command": "/Users/<you>/.nvm/versions/node/v20.18.0/bin/npx", "args": ["-y", "weeek-mcp"] }— or point command at a small wrapper script that sources ~/.nvm/nvm.sh
before exec npx "$@", which survives nvm version changes.
Errors
Every Weeek tool fails the same way: isError: true with a single-line
<tool> failed (<weeek_code>): <one English sentence>. The weeek_<code> token
is the stable, machine-greppable contract; the sentence guides self-correction.
Nine codes cover unauthorized / forbidden / not-found / validation / rate-limit
/ server / network / timeout / invalid-response, each with retry guidance.
weeek_get_task failed (weeek_not_found): Weeek returned 404 for this resource. Verify the id exists in the configured workspace and was not deleted.
weeek_list_tasks failed (weeek_rate_limited): Weeek rate-limited the request (HTTP 429). Retry after a brief delay or reduce the call frequency.Full table with retry semantics → docs/errors.md.
Contributing · Security · License
Contributing — issues and feature requests are welcome; pull requests are by prior agreement (this repo runs a strictly linear increment process). See CONTRIBUTING.md.
Security — found a way to leak the token or a byte on stdout? Do not open a public issue; see SECURITY.md for the private channel and threat model.
License — MIT.
For AI coding agents — the entry-point contract (invariants, pinned deps, pre-merge checklist) lives in CLAUDE.md.
CONTRIBUTING.md, SECURITY.md and CLAUDE.md live on GitHub only — like
examples/, they are not in the npm tarball. LICENSE is the exception: it
ships inside the package.
Available Tools
10 toolspingHealth checkARead-onlyIdempotent
PRIMARY tool for connection sanity-check: returns 'pong: '. DISTINCT from weeek_get_me — ping makes NO Weeek API call (no token required, no network), so it stays green even when WEEEK_ACCESS_TOKEN is missing or expired. Use when the agent first connects to verify the MCP transport itself is alive before reaching for any weeek_* tool.
Inputs: msg (required). Returns: reply
weeek_get_meCurrent Weeek userARead-onlyIdempotent
PRIMARY tool for confirming WEEEK_ACCESS_TOKEN works against the live API. Returns {id, email, name} for the Weeek account that owns the configured token. DISTINCT from ping (which never reaches the network) — a successful weeek_get_me proves both transport AND credentials. Use when an agent is about to run weeek_list_* / weeek_get_* and wants a one-shot token sanity-check first.
Inputs: no named parameters. Returns: id, name, email
weeek_get_projectGet one Weeek projectARead-onlyIdempotent
PRIMARY tool for fetching a single Weeek project's full detail by id, including description ({id, title, description, color, isPrivate}). DISTINCT from weeek_list_projects, which returns summaries only ({id, title, color, isPrivate}) without descriptions and without support for fetching by id. Use when you already know the project id (from weeek_list_projects or the Weeek UI) and need the description or want to confirm a single project still exists. Unknown ids surface as weeek_get_project failed (weeek_not_found).
Inputs: project_id (required). Returns: id, color, title, isPrivate, +2 more
weeek_get_taskGet one Weeek taskARead-onlyIdempotent
PRIMARY tool for fetching a single Weeek task by task_id ({id, title, description, completed, projectId, priority, type}). DISTINCT from weeek_list_tasks — this is the only tool that returns the full description field. Use when an agent already has a specific id and needs full details; unknown ids surface as weeek_get_task failed (weeek_not_found): ….
Inputs: task_id (required). Returns: id, type, title, userId, +6 more
weeek_list_board_columnsList Weeek columns for a boardARead-onlyIdempotent
PRIMARY tool for board-column discovery: returns every column of a Weeek board ({id, name, boardId} per column) in upstream sort order (preserved verbatim — the array order is the signal). board_id is required. Use when the agent needs a board's column/stage layout, e.g. to interpret a task's status or drive a board view.
Inputs: board_id (required). Returns: truncated, boardColumns
weeek_list_boardsList Weeek boards for a projectARead-onlyIdempotent
PRIMARY tool for board discovery within a project: returns every Weeek board in the given project ({id, name, projectId, isPrivate} per board). project_id is required; pagination is not exposed by this endpoint. Use when the agent needs a board_id to feed into weeek_list_board_columns, or to surface the board picker for a project.
Inputs: project_id (required). Returns: boards, truncated
weeek_list_membersList Weeek workspace membersARead-onlyIdempotent
PRIMARY tool for member discovery: returns every member of the configured Weeek workspace ({id, email, firstName, lastName} per member). DISTINCT from weeek_get_me — that returns the caller; this returns every workspace participant. Member id is a string (unlike most Weeek resources). Use when an agent needs to resolve a name/email to a member id.
Inputs: no named parameters. Returns: members, truncated
weeek_list_projectsList Weeek projectsARead-onlyIdempotent
PRIMARY tool for project discovery: returns every Weeek project visible to the configured token ({id, title, color, isPrivate} per project). No filters; pagination is not exposed by this endpoint. Use when the agent needs a project_id to feed into weeek_list_tasks or to surface the project picker to the user.
Inputs: no named parameters. Returns: projects, truncated
weeek_list_tagsList Weeek tagsARead-onlyIdempotent
PRIMARY tool for tag discovery: returns every tag defined in the configured Weeek workspace ({id, title, color} per tag). No pagination. Use when an agent needs to map a user-supplied tag name to a stable tag id (Weeek tasks reference tags by id).
Inputs: no named parameters. Returns: tags, truncated
weeek_list_tasksList Weeek tasksARead-onlyIdempotent
PRIMARY tool for task discovery and filtering: returns one page of Weeek tasks filtered by project_id / board_id / board_column_id / assignee_id / completed, paginated by offset+per_page (default 20, max 100). Use the filters to locate the card a write tool is about to act on instead of paging a whole project. DISTINCT from weeek_get_task — this returns task summaries (no description / details); fetch a single full task via weeek_get_task. Use when the agent needs a list view; follow hasMore for the next page.
Inputs: offset, board_id, per_page, completed, +3 more. Returns: tasks, hasMore, truncated
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Every tool has a clearly distinct purpose: ping is transport-only, weeek_get_me is token verification, list vs. get variants are explicitly separated by summary vs. full detail, and each resource (projects, tasks, members, tags, boards, columns) has its own dedicated tool. No two tools overlap in what they return or act on.
All weeek_* tools follow a consistent verb_noun snake_case pattern (list_projects, get_task, list_board_columns). The only exception is ping, which is a standard health-check convention and does not disrupt the pattern.
10 tools is well within the ideal range for a focused MCP server. Each tool covers a distinct read operation for core Weeek resources, and there is no redundancy or bloat.
The server is strictly read-only: it offers list/get for projects and tasks, plus list-only for members, tags, boards, and columns, but provides no create, update, or delete operations. This severely limits real-world workflows that require modifying tasks or projects, and there are no get-by-id variants for members/tags/boards/columns.
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
Headless task management for bots, apps and AI agents. Remote MCP server, OAuth or access token.
Official Fibery MCP server: query and update your workspace from any AI client via OAuth.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceFull-featured MCP server integrating all 71 endpoints of the Weeek API as MCP tools for AI clients, enabling task, project, and workspace management via natural language.2-
- AlicenseNot gradedqualityBmaintenanceA local-stdio MCP server for a single personal Todoist account with env-gated read-only mode and prompt-injection mitigations.358 npmMIT
- FlicenseAqualityCmaintenanceMCP server for Personal OS API that enables managing tasks, notes, projects, collections, reviews, and more through typed tools over stdio.66-
- AlicenseNot gradedqualityCmaintenanceRead-only MCP server for the Weeek Public API. Use it from Cursor or Claude Code to browse projects, search tasks, read attachments, and (with a browser session) load task comments.59 npmMIT