mcp-teamline
mcp-teamline
MCP stdio 服务器,包装 Teamline API,使 MCP 主机(Cursor、Claude 等)能够调用 Teamline。
API 文档:https://support.teamline.app/article/64-integrating-using-the-teamline-api
本仓库采用 MIT 许可证。Teamline API 本身受 Teamline 服务条款约束;使用此服务器访问 Teamline 即表示这些条款适用于 API 流量。
前提条件
Node.js 20 或更高版本
Related MCP server: Basecamp MCP Server
环境
在环境中设置 TEAMLINE_API_KEY。可在 https://my.teamline.app/settings/api 创建密钥。
令牌仅从环境读取。它永远不会作为工具参数,也永远不会被记录。
可选:TEAMLINE_HTTP_ENCODING=json 或 form(默认 json)。官方文章未记录 HTTP 方法或编码;此服务器默认以 JSON { token, ...params } 形式 POST,并提供 form-urlencoded 作为回退。
Cursor (mcp.json)
使用 GitHub 包:
{
"mcpServers": {
"teamline": {
"command": "npx",
"args": ["-y", "github:aroy314/mcp-teamline"],
"env": {
"TEAMLINE_API_KEY": ""
}
}
}
}从本地密钥存储或操作系统环境中填入 TEAMLINE_API_KEY。请勿提交真实密钥。
本地运行
安装依赖并编译 TypeScript,然后使用:node dist/index.js 启动
启动时在环境中提供 TEAMLINE_API_KEY。安装后,bin 名称为 mcp-teamline。
工具
工具 | 输入 | 描述 |
teamline_auth_test | 无 | 调用 Teamline auth.test 并返回已验证用户(id、name、email)的 JSON。 |
teamline_tasks_list | 可选:limit(数字)、channel(#name 或 slackId)、list(~name 或 id;若设置 list 则 channel 为必填)、user(@name、email 或 slackId)、complete(布尔值;true = 仅已完成) | 调用 Teamline tasks.list。若省略 channel 和 user,API 默认使用你自己。返回任务数组的 JSON。 |
teamline_tasks_create | name(必填);可选:description、assign(@name/email/slackId 的 string[])、channel、list(若设置则 channel 为必填)、personal(布尔值)、due(ISO8601 或人类可读字符串)、notify(string[]) | 调用 Teamline tasks.create。返回创建的任务的 JSON。 |
teamline_tasks_complete | task(必填,id 字符串) | 调用 Teamline tasks.complete。返回已完成任务的 JSON。 |
teamline_webhooks_create | event(必填,当前仅 | 调用 Teamline webhooks.create 以注册用户提供的 URL。此服务器仅注册 URL;它不接收 webhook POST。返回 hook 的 JSON。 |
teamline_webhooks_remove | hook(必填,id 字符串) | 调用 Teamline webhooks.remove。返回已移除 hook 的 JSON。 |
若 TEAMLINE_API_KEY 缺失,工具将返回明确错误,且不发起网络请求。
许可证
MIT (c) 2026 Alexandre Roy。使用 Teamline API 时适用 Teamline 服务条款。
Available Tools
6 toolsteamline_auth_testTest Teamline authenticationARead-onlyIdempotent
Verify TEAMLINE_API_KEY against Teamline auth.test and return the authenticated user (id, name, email). Takes no arguments; the API token is read only from the environment.
Inputs: no named parameters.
teamline_tasks_completeComplete a Teamline taskA
Mark a Teamline task complete via tasks.complete. Requires task (id string). Token is read only from TEAMLINE_API_KEY.
Inputs: task (required).
teamline_tasks_createCreate a Teamline taskA
Create a Teamline task via tasks.create. name is required. Optional: description, assign (string[] of @name/email/slackId), channel (#name or slackId), list (~name or id; channel required if list is set), personal (boolean), due (ISO8601 or human string), notify (string[]). Token is read only from TEAMLINE_API_KEY.
Inputs: name (required), due, list, assign, +4 more.
teamline_tasks_listList Teamline tasksARead-onlyIdempotent
List Teamline tasks via tasks.list. Optional filters: limit, channel (#name or slackId), list (~name or id; channel required if list is set), user (@name, email, or slackId), complete (true = only completed). If channel and user are omitted, the API defaults to yourself. Token is read only from TEAMLINE_API_KEY.
Inputs: list, user, limit, channel, +1 more.
teamline_webhooks_createCreate a Teamline webhookA
Register a user-provided URL via webhooks.create. Official event is currently only tasks_completed. url is required; name is optional. This server registers the URL; the MCP stdio process does not receive Teamline POSTs. Token is read only from TEAMLINE_API_KEY.
Inputs: url (required), event (required), name.
teamline_webhooks_removeRemove a Teamline webhookADestructive
Remove a Teamline webhook via webhooks.remove. Requires hook (id string). Token is read only from TEAMLINE_API_KEY.
Inputs: hook (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Tasks and webhooks are clearly separated by the teamline_ prefix and verb. Within tasks, list/create/complete are distinct operations, though list could be confused with create if an agent overlooks the verb. Webhooks create/remove are clearly distinct.
All tools follow a consistent teamline_<domain>_<verb> pattern (auth_test, tasks_list, tasks_create, tasks_complete, webhooks_create, webhooks_remove). The only minor deviation is 'auth_test' using a noun-verb inversion (test as verb) rather than 'test_auth', but it's readable and consistent in style.
Six tools is well-scoped for a task management integration. Each tool covers a distinct operation needed for basic task lifecycle and webhook management. No redundant tools, and the count feels appropriate (within the 3-15 ideal range).
The tools cover task list, create, and complete, but lack update (e.g., edit task name, due date, assignee) and delete operations. Webhooks support create/remove but no list. A user cannot edit an existing task without recreating it, which is a notable gap in a task management API.
Maintenance
Related MCP Connectors
Manage Timequip projects, tasks, comments, members, and dashboards through MCP.
Appreciate teammates, celebrate milestones, and run workspace ops from MCP clients via OAuth.
Headless task management for bots, apps and AI agents. Remote MCP server, OAuth or access token.
A managed runtime for custom API integrations. Manage lines, endpoints, keys, logs and DLQ via MCP.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI coding agents to read TeamStorm tasks, comments, attachments, and links, and to perform limited write operations such as adding comments and updating task names, descriptions, or statuses through MCP.153MIT
- FlicenseNot gradedqualityAmaintenanceEnables MCP-capable clients to read and manage projects, todos, messages, card tables, documents, uploads, comments, webhooks, and search through OAuth-authenticated Basecamp 3 API calls.-
- FlicenseNot gradedqualityAmaintenanceEnables MCP-capable clients to browse, search, and manage projects, todos, messages, card tables, documents, uploads, comments, events, and webhooks through OAuth-authenticated API calls.-
- FlicenseNot gradedqualityAmaintenanceEnables MCP-capable clients to browse and manage Basecamp 3 projects and resources, including todos, messages, card tables, documents, uploads, comments, events, webhooks, and search through OAuth-authenticated API calls.-