mcp-teamline
mcp-teamline
Teamline API をラップする MCP stdio サーバーで、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 はローカルストアまたは OS の環境変数から設定してください。実際のキーをコミットしないでください。
ローカル実行
依存関係をインストールして TypeScript をコンパイルし、次のコマンドで起動します: node dist/index.js
起動時に環境変数 TEAMLINE_API_KEY を設定してください。インストール後、バイナリ名は mcp-teamline です。
ツール
ツール | 入力 | 説明 |
teamline_auth_test | なし | Teamline auth.test を呼び出し、認証されたユーザーを JSON で返します(id、name、email)。 |
teamline_tasks_list | オプション: limit(数値)、channel(#name または slackId)、list(~name または id。list を設定する場合は channel が必須)、user(@name または email)、complete(ブール値。true の場合は完了済みのみ) | Teamline tasks.list を呼び出します。channel と user が省略された場合、API は自分自身をデフォルトとします。タスク配列を JSON で返します。 |
teamline_tasks_create | name(必須); オプション: description、assign(@name/email/slackId の string[])、channel、list(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 は受信しません。フックを JSON で返します。 |
teamline_webhooks_remove | hook(必須、id 文字列) | Teamline webhooks.remove を呼び出します。削除されたフックを 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.-