WEEEK MCP Server
Enables AI coding agents to read and write WEEEK projects, boards, tasks, and comments directly, without context switching.
README
weeek-mcp-server
MCP (Model Context Protocol) server for the WEEEK task tracker. Gives AI coding agents (Claude Desktop, Cursor, Cline, and any other MCP client) direct read/write access to WEEEK projects, boards, tasks, and comments — no context switching.
Features
- 12 tools — 7 read (projects, boards, columns, tasks, comments) + 5 write (create/update/move/complete tasks, post comments)
- Read/write split — tools are grouped so MCP clients can auto-approve reads while gating writes
- Stdio transport — zero server infrastructure, runs via
npx - Token auth — single
WEEEK_API_TOKENenv var, never logged - Safe defaults — list tools paginate (default 20, max 50) so responses stay under the 25k token MCP limit
- Structured errors — API failures return
isError: truewith a human-readable message, the server never crashes
Installation
No installation needed — configure your MCP client to run it via npx.
Getting a WEEEK API Token
- Sign in to WEEEK.
- Open Workspace settings → API.
- Generate a personal API token.
- Treat it like a password — it grants full read/write access to your workspace. Rotate it if it leaks.
Configuration
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"weeek": {
"command": "npx",
"args": ["-y", "weeek-mcp-server"],
"env": {
"WEEEK_API_TOKEN": "your-weeek-token-here"
}
}
}
}
Restart Claude Desktop.
Cursor
Edit ~/.cursor/mcp.json (or use Cursor Settings → MCP → Add new MCP server):
{
"mcpServers": {
"weeek": {
"command": "npx",
"args": ["-y", "weeek-mcp-server"],
"env": {
"WEEEK_API_TOKEN": "your-weeek-token-here"
}
}
}
}
Generic MCP client
Any MCP client that supports stdio transport can launch:
command: npx
args: ["-y", "weeek-mcp-server"]
env: { WEEEK_API_TOKEN: "<your token>" }
NVM Workaround (IMPORTANT for nvm users)
If you installed Node via nvm, GUI applications (Claude Desktop, Cursor) do not source your shell startup files, so npx is not on their PATH. You will see spawn npx ENOENT in the client logs.
Fix: use the absolute path to your nvm npx binary.
-
In your terminal, run:
which npxExample output:
/Users/you/.nvm/versions/node/v22.0.0/bin/npx -
Put that absolute path in your MCP client config as the
command:{ "mcpServers": { "weeek": { "command": "/Users/you/.nvm/versions/node/v22.0.0/bin/npx", "args": ["-y", "weeek-mcp-server"], "env": { "WEEEK_API_TOKEN": "your-weeek-token-here" } } } }
This is the single most common setup failure across all npx-based MCP servers. If you upgrade Node via nvm, update the path.
Tools
All tools are prefixed weeek_. Read tools are side-effect free and safe for auto-approve. Write tools mutate WEEEK state and should prompt for user confirmation.
Read tools
| Tool | Purpose |
|---|---|
weeek_list_projects |
List projects in the workspace. Use FIRST to discover project IDs. |
weeek_get_project |
Get a single project's full details by ID. |
weeek_list_boards |
List boards inside a project. |
weeek_list_board_columns |
List columns (statuses) inside a board. Required before moving tasks. |
weeek_list_tasks |
List tasks with filters (project, board, column, assignee, completion) and pagination. |
weeek_get_task |
Get full details of a single task by ID. |
weeek_list_task_comments |
List comments on a task. |
Write tools
| Tool | Purpose |
|---|---|
weeek_create_task |
Create a NEW task. Requires title + project_id. |
weeek_update_task |
Edit fields (title, description, priority, assignee, due date) of an existing task. |
weeek_move_task |
Move a task to a different board column (status change). |
weeek_complete_task |
Mark a task complete, or reopen a completed task. |
weeek_create_task_comment |
Post a comment on a task. |
Safety
- Read/write separation: read tools and write tools are registered in separate groups. Configure your MCP client to auto-approve reads while gating writes.
- No delete operations: v1 intentionally does not expose delete endpoints — too destructive for an AI agent.
- Pagination defaults: list tools default to 20 results (max 50) to stay under the 25,000 token MCP response cap.
- Token handling:
WEEEK_API_TOKENis read from theenvblock only. It is never logged, echoed, or included in error messages.
Troubleshooting
| Symptom | Fix |
|---|---|
spawn npx ENOENT in client logs |
You are using nvm — see the NVM Workaround section above. |
WEEEK_API_TOKEN environment variable is required |
The env block is missing or empty in your MCP client config. |
Invalid WEEEK_API_TOKEN |
Token is wrong, revoked, or expired — regenerate in WEEEK workspace settings. |
| Server disconnects immediately after starting | You are on Node < 20. Upgrade Node (nvm install 20) and update your config path. |
| Tool returns "Resource not found (404)" | The ID doesn't exist in the workspace — list the parent resource first (e.g., weeek_list_projects before weeek_get_project). |
Development
git clone <this-repo>
cd weeek-mcp-server
npm install
npm run build
npm test
Scripts:
npm run build— compile TypeScript todist/npm run dev— run from source viatsxnpm run lint— ESLint (enforces no-console rule for stdio safety)npm run typecheck—tsc --noEmitnpm test— vitest unit tests
To smoke-test the built binary:
npm run build
WEEEK_API_TOKEN=test node dist/index.js
# server blocks on stdin — press Ctrl+C to exit
Requirements
- Node.js >= 20.0.0
- A WEEEK account with API access
License
MIT — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。