weeek-mcp

v0.5.0
weeek-mcp Checked 1 day ago Published 10 days ago

MCP 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.

ParameterTypeDescription
project_id *integer

weeek_list_board_columns

List board columns (statuses) for a board. board_id is required by the Weeek API.

ParameterTypeDescription
board_id *integer

weeek_list_tasks

List tasks with optional filters (project, board, column, assignee, completion, tags, text search).

ParameterTypeDescription
board_column_idinteger
board_idinteger
completedboolean
daystringY-m-d
end_datestringY-m-d
offsetinteger
per_pageinteger
priorityPriority as a number or a label: 0 low (Низкий), 1 medium (Средний), 2 high (Высокий), 3 hold (Замороженный).
project_idinteger
searchstring
start_datestringY-m-d
tagsarray
typestring
user_idstringAssignee id

weeek_get_task

Get one task by id.

ParameterTypeDescription
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.

ParameterTypeDescription
project_id *integer
title *string
board_column_idTarget column; null puts the task in the board default.
custom_fieldsobjectCustom 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…
daystringY-m-d
descriptionstringTask 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_idintegerParent task id for a subtask
priorityPriority as a number or a label: 0 low (Низкий), 1 medium (Средний), 2 high (Высокий), 3 hold (Замороженный).
typestring
user_idstringAssignee id

weeek_update_task

Update a task's fields (title, priority, type, dates, duration, tags), its custom field values, and its description.

ParameterTypeDescription
task_id *integer
custom_fieldsobjectCustom 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…
descriptionstringReplaces 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_datestringY-m-d
due_date_timestringISO 8601
durationintegerEstimate in minutes
priorityPriority as a number or a label: 0 low (Низкий), 1 medium (Средний), 2 high (Высокий), 3 hold (Замороженный).
start_datestringY-m-d
start_date_timestringISO 8601
tagsarrayTag ids — weeek_manage_tags lists them with their names.
titlestring
typestring

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.

ParameterTypeDescription
project_id *integer

weeek_complete_task

Mark a task complete.

ParameterTypeDescription
task_id *integer

weeek_uncomplete_task

Mark a completed task as not complete.

ParameterTypeDescription
task_id *integer

weeek_delete_task

Delete a task by id.

ParameterTypeDescription
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.

ParameterTypeDescription
task_id *integer
board_column_idinteger
board_idintegerTarget board; applied before the column.

weeek_set_assignees

Add assignees to a task (member ids from weeek_list_members).

ParameterTypeDescription
assignees *array
task_id *integer

weeek_remove_assignees

Remove assignees from a task.

ParameterTypeDescription
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.

ParameterTypeDescription
parent_id *New parent; null makes it top-level.
task_id *integer
afterSibling task id to sit after.
beforeSibling 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.

ParameterTypeDescription
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.

ParameterTypeDescription
project_id *integer
task_id *integer

weeek_set_watchers

Add watchers (subscribers) to a task — member ids from weeek_list_members.

ParameterTypeDescription
task_id *integer
watchers *array

weeek_remove_watchers

Remove watchers from a task.

ParameterTypeDescription
task_id *integer
watchers *array

weeek_task_timer

Start or stop the running timer on a task.

ParameterTypeDescription
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.

ParameterTypeDescription
action *string
task_id *integer
datestringY-m-d
durationintegerMinutes
entry_idintegerRequired for update and delete.
is_overtimeboolean
user_idstringWhose time this is.

weeek_upload_attachment

Attach local files to a task. Paths must exist on this machine.

ParameterTypeDescription
paths *arrayAbsolute file paths.
task_id *integer

weeek_get_attachment

Get one attachment's metadata and download URL by file id.

ParameterTypeDescription
file_id *string

weeek_manage_tags

Workspace tags: list them (with ids to use in weeek_update_task), create, rename/recolor, or delete one.

ParameterTypeDescription
action *string
colorstringHex color; required by the API on update.
tag_idintegerRequired for update and delete.
titlestringRequired for create and update.

weeek_manage_projects

Create, update, delete, archive or unarchive a project. Use weeek_list_projects to read them.

ParameterTypeDescription
action *string
colorstringHex color, e.g. #35AAFF. Required on update — the API rejects it missing.
descriptionstring
is_privatebooleanRequired by the API on create and update.
namestringRequired for create and update.
portfolio_idintegerCreate only.
project_idintegerRequired for everything but create.

weeek_manage_boards

Create, rename, delete or reorder a board. Use weeek_list_boards to read them.

ParameterTypeDescription
action *string
board_idintegerRequired for everything but create.
namestringRequired for create and update.
project_idintegerRequired for create.
upper_board_idmove: 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.

ParameterTypeDescription
action *string
board_column_idintegerRequired for everything but create.
board_idintegerRequired for create.
namestringRequired for create and update.
upper_board_column_idmove: the column to sit after; null moves it first.

weeek_manage_portfolios

List, create, rename or delete portfolios (the folders projects live in).

ParameterTypeDescription
action *string
limitintegerlist only.
namestringRequired for create and update.
offsetintegerlist only.
parent_idNest a portfolio under another one.
portfolio_idintegerRequired for get, update and delete.
searchstringlist 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.

ParameterTypeDescription
action *string
afterstringmove_option: option id to sit after.
beforestringmove_option: option id to sit before.
colorstringRequired when creating or updating an option.
configobjectField type settings, when the type takes any.
field_idstringRequired for everything but create/list_global.
namestringField or option name.
option_idstringRequired for the *_option actions except create.
scopestringWhere the field lives.
scope_idintegerProject or board id; omit for global.
targetstringtransfer: where the field should end up.
target_idintegertransfer: target project or board id.
typestringRequired when creating a field.

weeek_list_task_comments

List a task's comments, oldest first, with their author and text.

ParameterTypeDescription
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.

ParameterTypeDescription
task_id *integer
text *stringComment 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.

ParameterTypeDescription
comment_id *integer
task_id *integer
text *stringNew 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.

ParameterTypeDescription
comment_id *integer
task_id *integer

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.

ParameterTypeDescription
force_refreshbooleanBypass the cache and re-read the document tree.
parent_idstringOnly 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).

ParameterTypeDescription
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 (![alt](url)), 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.

ParameterTypeDescription
title *string
content_markdownstringMarkdown body: headings, nested lists, blockquotes, code fences, hr, pipe tables, images, and inline bold/italic/strike/code/links.
iconstringDocument icon: a single emoji (e.g. 🚀) or a built-in icon name from weeek_kb_icons.
parent_idstringParent 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".

ParameterTypeDescription
doc_id *string
content_markdownstringReplaces 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.
iconNew 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_widthsColumn 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…
titlestring
widthstringWhich 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…

ParameterTypeDescription
doc_id *string
fitbooleanFit the table instead of giving column widths.
table_indexintegerWhich table to resize, in document order (0 = first). Required with widths; omit with fit=true to resize every table.
widthstringWith 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…
widthsarrayOne 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.

ParameterTypeDescription
doc_id *string
paths *arrayAbsolute 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.

ParameterTypeDescription
doc_id *string
afterstringPlace right after this document.
beforestringPlace right before this document.
parent_idstringMove 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.

ParameterTypeDescription
order *arrayDocument 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.

ParameterTypeDescription
target_dir *stringDestination folder, as an absolute path. A relative path is rejected: it would resolve against the server's working directory, not the caller's.
querystringOptional search filter; omit to export everything.

weeek_kb_delete

Delete a knowledge base document. Moves it to trash; set permanent to also delete it.

ParameterTypeDescription
doc_id *string
permanentboolean