
WEEEK (smart)
io.github.IlyaIvanchikov由 GitHub 帳號 IlyaIvanchikov 發布v1.0.2更新於 Oct 24, 2026
WEEEK tasks and CRM by name, not IDs — an MCP server covering the whole public API
概覽
針對 WEEEK 任務管理與 CRM 的 MCP 伺服器,讓助理以名稱而非 ID 建立、更新與整理任務、專案和商機。
- 可以做什麼
- 建立、更新、移動、完成和刪除任務,並處理留言、負責人、關注者、父任務與附件
- 查詢專案、看板、欄位、成員和任務,並讀取 WEEEK 託管的附件圖片
- 記錄和修改工時項目與計時器
- 管理專案、看板、欄位、專案組合、標籤和自訂欄位
- 管理 CRM 漏斗、狀態、商機、組織、聯絡人及其詳細資料
- 透過工具集設定選擇要曝露的工具群組
- 適用情境
- 適用於在 WEEEK 中工作、希望助理把對話直接變成任務、留言、工時或 CRM 記錄,而不必先查詢專案、看板、欄位或成員 ID 的情境。只在需要時啟用 CRM、專案或工時工具集,因為每個工具集都會增加每次請求的工具描述。
- 執行需求
- 透過 npx 在本機執行,需要 Node.js 18 或更新版本。任何工具呼叫都需要在 WEEEK_API_TOKEN 中提供 WEEEK 個人 API 權杖;未設定時伺服器可啟動但呼叫會失敗。選用設定包括自訂 API 位址、請求逾時、附件目錄與大小上限,以及要曝露的工具集。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 WEEEK (smart),將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
weeek-mcp-smart
[npm version] [npm downloads] [CI] [node] [license] [IlyaIvanchikov/weeek-mcp MCP server]
The only one-click WEEEK MCP server — it takes names, not IDs. Create a task in one call:
Then weeek_add_comment, weeek_add_assignees, weeek_set_task_parent — all by name, all one call, custom fields included — and the CRM: weeek_create_deal({ status: "New", funnel: "Sales", title: "Big one", contacts: ["Ann Lee"] }).
No list_projects → list_boards → list_columns → list_members dance first.
Where it is published
Every v* tag publishes to npm, the MCP registry and GitHub Releases in one CI run; Glama re-indexes the repository on its own schedule.
Install (Claude Code / Cursor)
Install (Claude Desktop, one click)
⬇ Download the latest .mcpb, then open it in Claude Desktop (Settings → Extensions → install from file). You'll be prompted for your WEEEK API token — it's stored in your OS keychain.
All releases: https://github.com/IlyaIvanchikov/weeek-mcp/releases
Get a token
WEEEK → Settings → API → generate a personal token.
Configuration
Safety
This server is driven by an LLM that can read untrusted content (task text, web pages), so the two riskiest tools are guarded:
weeek_attach_fileonly reads files inside an allowed directory (its subfolders included). By default that's the server's working directory — so it works with no setup for local files, while paths outside it (/etc/passwd,~/.ssh,..traversal, symlinks that escape) are refused. SetWEEEK_ATTACH_DIRto point the jail somewhere specific or lock it down further. No special folder is required.weeek_delete_taskis permanent and requires an explicitconfirm: true; to merely close a task useweeek_complete_task.weeek_get_attachmentreturns the image for an attachment WEEEK hosts itself, so a task specified in screenshots can be read rather than guessed at. It downloads bytes only when the attachment'sserviceisweeek; an attachment parked in Google Drive/Dropbox/OneDrive/Box comes back as metadata with its URL instead. The download sends no token at all: WEEEK hands out a pre-signed one-hour URL that redirects to its storage bucket, and the server follows exactly one redirect, only tohttps, with no credentials on either hop. Non-images return metadata only, and anything overWEEEK_ATTACH_MAX_BYTESis refused rather than truncated.- Every tool that deletes, archives or detaches — a project, board, column, tag, portfolio, comment, time entry, custom field or field option; a funnel, status, deal, organization or contact, a contact's or organization's address, email or phone; an assignee, watcher, contact, organization or tag link; a task's membership of a project — requires
confirm: trueand is marked destructive in its annotations, so a client can ask before running it.
Toolsets
Every tool's schema is sent to the model on every request, so the server exposes a small
default and lets you opt into more. Set WEEEK_TOOLSETS to a comma-separated list, or all.
weeek_version is always available. The default is the task surface: 16 871 bytes of
tool schemas per request; crm alone is 32 290 bytes; all is 76 692 bytes. An unknown name is
rejected at startup with the list of valid ones. Every operation of WEEEK's public API (157) is
registered, and all but one reach a tool (PATCH /crm/deals/{id}: the API ignores most of its body,
so weeek_update_deal uses PUT and the link routes instead) — the registry is checked against the
vendored OpenAPI document in both directions on every test run.
Custom-field values need no extra toolset: weeek_get_task returns them, and
weeek_create_task / weeek_update_task take fields: { "Estimate": 5, "Stage": "Review" } by
field name (on create, global and project fields; a board's own fields once the task exists, via
weeek_update_task). The custom-fields toolset is for administering the fields themselves — in the
global scope, a project, a board or a CRM funnel. A board's fields are read off its tasks because
the API lists them nowhere else, so an empty board shows none.
The crm toolset takes every reference by name: a funnel, a status inside it, a deal by title
(with its funnel or status) or by id, organizations, contacts by full name, currencies by code,
tags by title. Deals carry custom-field values like tasks (fields by name; on
weeek_create_deal pass funnel too). Addresses, emails and phones belong to
organizations and contacts and are changed with weeek_add_detail / weeek_update_detail /
weeek_delete_detail.
Upgrading from 1.0.0: weeek_create_task / weeek_update_task due now actually sets the due date
(the key sent before was ignored by the API); weeek_update_deal now applies custom fields and the
four link lists, and lost description (the API only sets it on create);
weeek_create_organization / weeek_update_organization take one responsible instead of
responsibles (the list was ignored); weeek_list_deals lost sort: "amount" (the API answers 500);
weeek_update_project color must now be # and six hex digits; a 200 the API marks
success: false (e.g. a plan limit) is now reported as an error.
Upgrading from 0.7.0: no tool was renamed or removed; WEEEK_TOOLSETS=tasks is still the
default. Opt in with crm or all.
Upgrading from 0.5.0: the default toolset grew from 12 tools to 24 in 0.6.0 (plus weeek_version), and WEEEK_TOOLSETS=tasks is still the default, so nothing else changes unless you opt in to time, projects or all.
Development
Updating the API spec snapshot
spec/weeek-openapi.json is a snapshot of WEEEK's public OpenAPI document. A test
(tests/contract.test.ts) checks that every operation the server calls exists in it and that
every operation the spec declares is registered — 157 both ways — so an API change
shows up as a failing test, not as a surprise in production.
It needs Node ≥ 18 (for fetch), and curl only when REFRESH_SPEC_INTERFACE is set.
A successful refresh prints one line such as
wrote …/spec/weeek-openapi.json: openapi 3.1.1, 99 paths, 157 operations, 35 schemas (from weeek.yaml-<hash>.js).
If the refresh fails with a DNS or connection error, read the comment at the top of
scripts/refresh-spec.mjs — it lists the known causes (VPN resolver, blocked tunnel) and the
exact fix for each.
Author
來源:README.md,提交 9ccbb47
工具
0版本歷史
8- v1.0.2最新Oct 18, 2026
- v1.0.1Oct 18, 2026
- v1.0.0Oct 15, 2026
- v0.7.0Oct 14, 2026
- v0.6.0Oct 14, 2026
- v0.5.0Oct 14, 2026
- v0.4.5Oct 11, 2026
- v0.4.4Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分