TaskFrame MCP Server
HTTP MCP server for TaskFrame that enables AI agents to manage projects, tasks, comments, and documents through the TaskFrame API.
README
TaskFrame MCP Server
HTTP MCP server for TaskFrame — lets AI agents work with projects, tasks, comments and docs via the TaskFrame external API.
Each request is stateless. The Bearer token from the client is forwarded directly to TaskFrame — no credentials are stored on the server.
For humans
Requirements
- Node.js 22+
- TaskFrame API key (
tf_live_...) — create one in TaskFrame → Settings → API Keys TASKFRAME_BASE_URL— your TaskFrame instance URL
Run locally
cp .env.example .env
# edit .env: set TASKFRAME_BASE_URL
npm install
npm run dev
Run with Docker
docker build -t taskframe-mcp .
docker run -e TASKFRAME_BASE_URL=https://your-taskframe-domain.com -p 3000:3000 taskframe-mcp
Environment variables
| Variable | Required | Description |
|---|---|---|
TASKFRAME_BASE_URL |
yes | Base URL of your TaskFrame instance |
PORT |
no | HTTP port, default 3000 |
ALLOWED_HOSTS |
no | Comma-separated Host header allowlist; enables DNS-rebinding protection when set (e.g. mcp.example.com) |
Health check
curl http://localhost:3000/health
# → {"ok":true}
Security & deployment
[!IMPORTANT] Always deploy behind TLS. The API key is sent as a plaintext
Authorization: Bearerheader on every request. Terminate HTTPS at a reverse proxy (nginx, Caddy, Traefik, cloud LB) and point clients at thehttps://URL. Never expose the rawhttp://port to a network you don't fully control.
Built-in protections:
- Stateless — no token, workspace id, or session is stored between requests. Each call is authenticated solely by its own Bearer header.
- ID validation — all UUID/key arguments are schema-validated and URL-encoded, so a tool argument can never alter the upstream request path (no path traversal / SSRF into other TaskFrame endpoints).
- Upstream timeout — requests to TaskFrame abort after 15s, returning
504instead of hanging. - Body limit — JSON bodies over 1 MB are rejected with
413. - Scoped by the key — the server never grants more than the API key's own permissions; it cannot escalate access.
Recommended for production: run the reverse proxy with rate limiting, set ALLOWED_HOSTS to your public hostname, and keep the container non-root (the node base image already runs as a non-root node user when configured).
Connect to Claude Code
Add to your ~/.claude/settings.json (global) or .claude/settings.json (project):
{
"mcpServers": {
"taskframe": {
"type": "http",
"url": "https://mcp.example.com/mcp",
"headers": {
"Authorization": "Bearer tf_live_..."
}
}
}
}
Each user sets their own API key in the Authorization header. The server is shared — the key is not.
For agents
The server exposes a resource taskframe://guide that Claude Code loads automatically into context. If your client does not load resources automatically, call get_guide first.
How auth works
Pass your TaskFrame API key as Authorization: Bearer <key> in the HTTP request to this MCP server. The server resolves your workspaceId automatically via /me — never pass workspaceId as a tool argument.
Recommended flow
list_projects
→ pick projectId
get_project_meta(projectId)
→ columns[].id → use as statusId
→ sprints[].id → use as sprintId
→ members[].id → use as assigneeId
list_tasks(projectId) — read existing tasks
create_task(projectId, …) — create new task
update_task(taskId, …) — update fields
Key shortcuts
- Use
get_task_by_keywith keys likeAPP-43when you have them — it's faster thanget_taskby UUID description(tasks) andcontent(docs/comments) accept plain text — the server wraps it in TipTap JSON automaticallysprintId: omit → active sprint,null→ backlog, UUID → specific sprint
Tools
Context
| Tool | Description |
|---|---|
get_guide |
Get usage instructions (fallback if resource not loaded) |
get_me |
Get workspace id, user, and effective permissions |
Projects
| Tool | Arguments | Description |
|---|---|---|
list_projects |
status?, clientId? |
List projects |
get_project_meta |
projectId |
Columns, sprints, labels, members |
Tasks
| Tool | Arguments | Description |
|---|---|---|
list_tasks |
projectId |
All tasks in a project |
get_task |
taskId |
Get task by UUID |
get_task_by_key |
taskKey |
Get task by key, e.g. APP-43 |
create_task |
projectId, name, ...fields |
Create task |
update_task |
taskId, ...fields |
Update task (partial) |
delete_task |
taskId |
Delete task permanently |
create_task and update_task accept: description, type, priority, statusId, assigneeId, parentTaskId, estimateMinutes, storyPoints, dueDate, startDate, sprintId, labelIds.
Comments
| Tool | Arguments | Description |
|---|---|---|
list_comments |
taskId |
List comments on a task |
create_comment |
taskId, content, parentCommentId? |
Add comment |
update_comment |
commentId, content |
Edit own comment |
delete_comment |
commentId |
Delete comment |
Docs
| Tool | Arguments | Description |
|---|---|---|
list_docs |
projectId |
Flat list of pages; use parentPageId to build tree |
get_doc |
projectId, pageId |
Get page with full content |
create_doc |
projectId, title, ...fields |
Create page |
update_doc |
projectId, pageId, ...fields |
Update page; use isArchived: true to archive |
delete_doc |
projectId, pageId |
Delete page and all children permanently |
Permissions
The server uses whatever permissions your API key has. If a tool returns a 403 error, the key needs the corresponding permission added in TaskFrame settings.
| Operation | Required permission |
|---|---|
| Read projects | projects:read |
| Read tasks and comments | tasks:read |
| Create / update / delete tasks | tasks:create, tasks:update, tasks:delete |
| Create / edit / delete comments | comments:create, comments:update_own, comments:delete_own |
| Read docs | wiki:read |
| Create / update / delete docs | wiki:create, wiki:update, wiki:delete |
| Columns in project meta | board:read |
| Sprints in project meta | sprints:read |
| Labels in project meta | tags:read |
| Members in project meta | members:read |
Error format
All tools return errors as text content with isError: true. The message includes the HTTP status and TaskFrame error description:
Error: 403: API key does not allow this operation
Error: 404: Task not found
Development
npm run dev # watch mode with tsx
npm run build # compile to dist/
npm start # run compiled output
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。