weeek-mcp
v0.5.0MCP server for Weeek: task management via the public API, knowledge base via its internal API and collaborative editor channel.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
weeek_whoami
Return the current user (id, name) for the API token. Useful to get your userId for assignments.
weeek_list_members
List workspace members (id, name, email) — use their ids as assignees.
weeek_list_projects
List all task-manager projects (id, name).
weeek_list_boards
List boards of a project.
| Parameter | Type | Description |
|---|---|---|
project_id * | integer |
weeek_list_board_columns
List board columns (statuses) for a board. board_id is required by the Weeek API.
| Parameter | Type | Description |
|---|---|---|
board_id * | integer |
weeek_list_tasks
List tasks with optional filters (project, board, column, assignee, completion, tags, text search).
| Parameter | Type | Description |
|---|---|---|
board_column_id | integer | |
board_id | integer | |
completed | boolean | |
day | string | Y-m-d |
end_date | string | Y-m-d |
offset | integer | |
per_page | integer | |
priority | Priority as a number or a label: 0 low (Низкий), 1 medium (Средний), 2 high (Высокий), 3 hold (Замороженный). | |
project_id | integer | |
search | string | |
start_date | string | Y-m-d |
tags | array | |
type | string | |
user_id | string | Assignee id |
weeek_get_task
Get one task by id.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer |
weeek_create_task
Create a task. Requires a project_id (and normally a board_column_id, which you get from weeek_list_board_columns). Dates are set separately via weeek_update_task.
| Parameter | Type | Description |
|---|---|---|
project_id * | integer | |
title * | string | |
board_column_id | Target column; null puts the task in the board default. | |
custom_fields | object | Custom field values keyed by field id (names only work on an existing task, via weeek_update_task) — get the ids from weeek_list_custom_fields. For a select field pass the option id. A field that do… |
day | string | Y-m-d |
description | string | Task description as HTML, which is what Weeek's create endpoint stores. weeek_update_task takes Markdown instead, because it writes through the editor rather than REST. |
parent_id | integer | Parent task id for a subtask |
priority | Priority as a number or a label: 0 low (Низкий), 1 medium (Средний), 2 high (Высокий), 3 hold (Замороженный). | |
type | string | |
user_id | string | Assignee id |
weeek_update_task
Update a task's fields (title, priority, type, dates, duration, tags), its custom field values, and its description.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer | |
custom_fields | object | Custom field values keyed by field name or field id, e.g. {"Ссылка на фичу": "https://..."}. For a select field pass the option name or its id, for a multiselect a list of them; pass null… |
description | string | Replaces the description, as Markdown (same feature set as weeek_kb_update); an empty string clears it. Weeek's REST API ignores the description on update, so it is written over the same collaborative… |
due_date | string | Y-m-d |
due_date_time | string | ISO 8601 |
duration | integer | Estimate in minutes |
priority | Priority as a number or a label: 0 low (Низкий), 1 medium (Средний), 2 high (Высокий), 3 hold (Замороженный). | |
start_date | string | Y-m-d |
start_date_time | string | ISO 8601 |
tags | array | Tag ids — weeek_manage_tags lists them with their names. |
title | string | |
type | string |
weeek_list_custom_fields
List the task custom fields visible in a project (id, name, type, select options). Weeek's public API exposes no schema endpoint for them, so this reads the fields off one of the project's tasks — a project with no tasks yet returns nothing. Tasks list every field of the workspace, so some of them may belong to other projects; writing to one of those is reported as an error.
| Parameter | Type | Description |
|---|---|---|
project_id * | integer |
weeek_complete_task
Mark a task complete.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer |
weeek_uncomplete_task
Mark a completed task as not complete.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer |
weeek_delete_task
Delete a task by id.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer |
weeek_move_task
Move a task to a board column (status) and/or to another board. Give at least one of board_column_id, board_id.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer | |
board_column_id | integer | |
board_id | integer | Target board; applied before the column. |
weeek_set_assignees
Add assignees to a task (member ids from weeek_list_members).
| Parameter | Type | Description |
|---|---|---|
assignees * | array | |
task_id * | integer |
weeek_remove_assignees
Remove assignees from a task.
| Parameter | Type | Description |
|---|---|---|
assignees * | array | |
task_id * | integer |
weeek_set_task_parent
Nest a task under another one, or detach it with parent_id null. after/before place it among its new siblings.
| Parameter | Type | Description |
|---|---|---|
parent_id * | New parent; null makes it top-level. | |
task_id * | integer | |
after | Sibling task id to sit after. | |
before | Sibling task id to sit before. |
weeek_add_task_to_project
Put a task into a project (a task can live in several). Optionally target a board column there.
| Parameter | Type | Description |
|---|---|---|
project_id * | integer | |
task_id * | integer | |
board_column_id |
weeek_remove_task_from_project
Remove a task from one of the projects it belongs to.
| Parameter | Type | Description |
|---|---|---|
project_id * | integer | |
task_id * | integer |
weeek_set_watchers
Add watchers (subscribers) to a task — member ids from weeek_list_members.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer | |
watchers * | array |
weeek_remove_watchers
Remove watchers from a task.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer | |
watchers * | array |
weeek_task_timer
Start or stop the running timer on a task.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
task_id * | integer |
weeek_manage_time_entry
Log time on a task, or edit/delete a logged entry. create and update need user_id, date, duration; delete needs entry_id.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
task_id * | integer | |
date | string | Y-m-d |
duration | integer | Minutes |
entry_id | integer | Required for update and delete. |
is_overtime | boolean | |
user_id | string | Whose time this is. |
weeek_upload_attachment
Attach local files to a task. Paths must exist on this machine.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Absolute file paths. |
task_id * | integer |
weeek_get_attachment
Get one attachment's metadata and download URL by file id.
| Parameter | Type | Description |
|---|---|---|
file_id * | string |
weeek_manage_tags
Workspace tags: list them (with ids to use in weeek_update_task), create, rename/recolor, or delete one.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
color | string | Hex color; required by the API on update. |
tag_id | integer | Required for update and delete. |
title | string | Required for create and update. |
weeek_manage_projects
Create, update, delete, archive or unarchive a project. Use weeek_list_projects to read them.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
color | string | Hex color, e.g. #35AAFF. Required on update — the API rejects it missing. |
description | string | |
is_private | boolean | Required by the API on create and update. |
name | string | Required for create and update. |
portfolio_id | integer | Create only. |
project_id | integer | Required for everything but create. |
weeek_manage_boards
Create, rename, delete or reorder a board. Use weeek_list_boards to read them.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
board_id | integer | Required for everything but create. |
name | string | Required for create and update. |
project_id | integer | Required for create. |
upper_board_id | move: the board to sit below; null moves it to the top. |
weeek_manage_board_columns
Create, rename, delete or reorder a board column (status). Use weeek_list_board_columns to read them.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
board_column_id | integer | Required for everything but create. |
board_id | integer | Required for create. |
name | string | Required for create and update. |
upper_board_column_id | move: the column to sit after; null moves it first. |
weeek_manage_portfolios
List, create, rename or delete portfolios (the folders projects live in).
| Parameter | Type | Description |
|---|---|---|
action * | string | |
limit | integer | list only. |
name | string | Required for create and update. |
offset | integer | list only. |
parent_id | Nest a portfolio under another one. | |
portfolio_id | integer | Required for get, update and delete. |
search | string | list only. |
weeek_manage_custom_fields
Create, update, delete, move or transfer custom fields and their select options. A field belongs to one board, one project, or the whole task manager (scope global) — set scope and scope_id accordingly. weeek_list_custom_fields reads the fields a project's tasks actually show.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
after | string | move_option: option id to sit after. |
before | string | move_option: option id to sit before. |
color | string | Required when creating or updating an option. |
config | object | Field type settings, when the type takes any. |
field_id | string | Required for everything but create/list_global. |
name | string | Field or option name. |
option_id | string | Required for the *_option actions except create. |
scope | string | Where the field lives. |
scope_id | integer | Project or board id; omit for global. |
target | string | transfer: where the field should end up. |
target_id | integer | transfer: target project or board id. |
type | string | Required when creating a field. |
weeek_list_task_comments
List a task's comments, oldest first, with their author and text.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer |
weeek_add_task_comment
Comment on a task. The text is Markdown (paragraphs, lists, bold/italic/code, links) and posts as you. Weeek's public API has no comments, so this drives its web API through the browser session — it needs WEEEK_EMAIL/WEEEK_PASSWORD or a cached login.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer | |
text * | string | Comment body as Markdown. |
weeek_update_task_comment
Rewrite one of your comments (Markdown), keeping it in place instead of posting a correction after it. comment_id comes from weeek_list_task_comments.
| Parameter | Type | Description |
|---|---|---|
comment_id * | integer | |
task_id * | integer | |
text * | string | New comment body as Markdown. |
weeek_delete_task_comment
Delete a comment for good — Weeek keeps no trash for these. To fix wording, prefer weeek_update_task_comment. comment_id comes from weeek_list_task_comments.
| Parameter | Type | Description |
|---|---|---|
comment_id * | integer | |
task_id * | integer |
weeek_kb_search
Search knowledge base documents by title. Returns matches with their resource URIs — attach a match to the conversation/Project Context to pull in its full content (not a link).
| Parameter | Type | Description |
|---|---|---|
query * | string |
weeek_kb_list
List all knowledge base documents (id, title, parent_id, resource URI), depth-first in the order the KB sidebar shows them. parent_id narrows it to the direct children of one document.
| Parameter | Type | Description |
|---|---|---|
force_refresh | boolean | Bypass the cache and re-read the document tree. |
parent_id | string | Only the direct children of this document; "" for the top level. |
weeek_kb_read
Read a knowledge base document's content by id (returns markdown text).
| Parameter | Type | Description |
|---|---|---|
doc_id * | string |
weeek_kb_create
Create a knowledge base document. Optional Markdown content is stored on creation, supporting: headings, nested bullet/numbered/checkbox lists, blockquotes, fenced code, horizontal rules, pipe tables, images (), and inline **bold**, *italic*, ~~strike~~, `code`, [links](url). parent_id nests it under another document (folder), as its last child. Tables are created spanning the document's content column, with the width split evenly between the columns; weeek_kb_table_widths changes that.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
content_markdown | string | Markdown body: headings, nested lists, blockquotes, code fences, hr, pipe tables, images, and inline bold/italic/strike/code/links. |
icon | string | Document icon: a single emoji (e.g. 🚀) or a built-in icon name from weeek_kb_icons. |
parent_id | string | Parent document id, for nesting. |
weeek_kb_update
Update a knowledge base document. Rename via title, change its icon, and/or replace the body via content_markdown — same Markdown feature set as weeek_kb_create (headings, nested lists, tables, images, bold/italic/strike/code/links). Note: the body is written over Weeek's collaborative channel, not REST, which does not accept bodies at all. Table column widths are carried across the replacement; a table that gained or lost a column, and any new table, is spread across the width argument instead — the column of text by default, or the whole document area with width="page".
| Parameter | Type | Description |
|---|---|---|
doc_id * | string | |
content_markdown | string | Replaces the full body. Same Markdown feature set as weeek_kb_create: headings, nested lists, blockquotes, code fences, hr, pipe tables, images, and inline bold/italic/strike/code/links. |
icon | New document icon: a single emoji (e.g. 🚀) or one of the built-in icon names from weeek_kb_icons. Pass null or an empty string to remove the current icon. | |
table_widths | Column widths to give the new body's tables, one list per table in document order, null to carry over what that table had — e.g. [[126, 365, 431, 118], null]. The same value as a JSON string is acce… | |
title | string | |
width | string | Which width new and reshaped tables are spread across: "text" (676px, inside the column of text, the default) or "page" (1040px, overhanging it across the document area). Tables that kept their shape… |
weeek_kb_table_widths
Resize the columns of a table in a knowledge base document. Weeek stores column widths in pixels (minimum 90) and nothing else — there is no row height or table width to set. Pass widths for exact sizes, or fit=true to fit the table across the text column (676px, default) or the document area (1040px). Use width=auto to measure cells, choose the smaller suitable area and give wider cells more room. Tables are addressed by their order in the document, starting at 0; omitting table_index with fit=true resizes every table. Written over Weeek's collaborative channel, leaving the document's conte…
| Parameter | Type | Description |
|---|---|---|
doc_id * | string | |
fit | boolean | Fit the table instead of giving column widths. |
table_index | integer | Which table to resize, in document order (0 = first). Required with widths; omit with fit=true to resize every table. |
width | string | With fit=true, "text" (676px, default) and "page" (1040px) divide the width evenly. "auto" measures unmerged cells in the rendered document and chooses a width for each column and a ceiling for each t… |
widths | array | One width in pixels per column, in column order; minimum 90. null leaves that column as it is. The list length must match the table's column count. |
weeek_kb_icons
List the built-in icon names accepted by the icon argument of weeek_kb_create/weeek_kb_update. Any single emoji works too, so call this only when you specifically want one of Weeek's own icons.
weeek_kb_attach
Attach local files to a knowledge base document. Each file is uploaded and added as a block at the end of the body — an image block for images, a file block with name and size for everything else; the rest of the body is left as it is. Weeek has no attachment list beside a document, so the block is the attachment: in weeek_kb_read it shows as a link on its own line, and weeek_kb_update keeps it as long as that line stays in the new body. Paths must exist on this machine.
| Parameter | Type | Description |
|---|---|---|
doc_id * | string | |
paths * | array | Absolute file paths. |
weeek_kb_move
Move a knowledge base document, with everything under it, or change its position among its siblings. Folders are ordinary documents that have children, so this moves and reorders folders too. Pass exactly one of parent_id, before, after. parent_id puts the document first inside that one; before/after put it right next to that document, under its parent (the top level included). To put it last in a folder, use after=<last child>. weeek_kb_list shows the current order and each document's parent_id.
| Parameter | Type | Description |
|---|---|---|
doc_id * | string | |
after | string | Place right after this document. |
before | string | Place right before this document. |
parent_id | string | Move inside this document, as its first child. |
weeek_kb_reorder
Set the order of documents inside one folder in a single call. order lists document ids that share a parent (or are all at the top level); they are lined up in that order at the start of the folder, and siblings left out follow them in their current order. Use weeek_kb_move for a single document or to move one to another folder.
| Parameter | Type | Description |
|---|---|---|
order * | array | Document ids, first to last. |
weeek_kb_export
Export knowledge base documents to a local folder as Markdown files, mirroring the KB tree. Use this to feed folder-based integrations such as a Claude Desktop project's Context, which accepts folders rather than MCP resources. Re-run to refresh: the folder is a mirror, so a full export also removes files left over from renamed, moved or deleted documents. Files without the export's own front matter are never touched. Passing a query exports a subset and removes nothing.
| Parameter | Type | Description |
|---|---|---|
target_dir * | string | Destination folder, as an absolute path. A relative path is rejected: it would resolve against the server's working directory, not the caller's. |
query | string | Optional search filter; omit to export everything. |
weeek_kb_delete
Delete a knowledge base document. Moves it to trash; set permanent to also delete it.
| Parameter | Type | Description |
|---|---|---|
doc_id * | string | |
permanent | boolean |