Motion MCP Server
Connects AI assistants to Motion for comprehensive task and project management, including creating/updating tasks, managing projects, handling workspaces, comments, and recurring tasks with smart rate limiting.
README
Motion MCP Server
Connect AI assistants to Motion for task and project management.
Installation
npm install -g @h3ro-dev/motion-mcp-server
Quick Setup
1. Get Motion API Key
Motion → Settings → API & Integrations → Create New API Key
2. Configure
<details> <summary><strong>Claude Desktop</strong></summary>
{
"mcpServers": {
"motion": {
"command": "npx",
"args": ["-y", "@h3ro-dev/motion-mcp-server"],
"env": {
"MOTION_API_KEY": "your-api-key"
}
}
}
}
Config location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json</details>
<details> <summary><strong>Cursor</strong></summary>
{
"mcpServers": {
"motion": {
"command": "npx",
"args": ["-y", "@h3ro-dev/motion-mcp-server"],
"env": {
"MOTION_API_KEY": "your-api-key"
}
}
}
}
</details>
<details> <summary><strong>VS Code (with Continue)</strong></summary>
{
"mcpServers": {
"motion": {
"command": "npx",
"args": ["-y", "@h3ro-dev/motion-mcp-server"],
"env": {
"MOTION_API_KEY": "your-api-key"
}
}
}
}
</details>
3. Restart your AI assistant
Features
- ✅ All Motion APIs - Tasks, projects, workspaces, users, comments, recurring tasks, schedules
- 🚦 Smart Rate Limiting - Automatic handling of Motion's 12 req/3min limit
- 💾 Persistent State - SQLite database maintains rate limits across restarts
- 🔍 Clear Errors - Helpful messages for debugging
- 📝 Full TypeScript - Type-safe and reliable
Usage Examples
"List my tasks"
"Create task: Review budget, due Friday, high priority"
"Move task abc123 to Marketing workspace"
"Add comment to task xyz789: Waiting for approval"
"Create recurring task: Daily standup at 9am"
Tools Reference
<details> <summary><strong>Task Management (7 tools)</strong></summary>
| Tool | Description | Example |
|---|---|---|
motion_list_tasks |
List tasks with filters | workspaceId, status, assigneeId |
motion_get_task |
Get task details | taskId |
motion_create_task |
Create new task | name, workspaceId, dueDate, priority |
motion_update_task |
Update task | taskId, status, priority |
motion_delete_task |
Delete task | taskId |
motion_move_task |
Move to workspace | taskId, workspaceId |
motion_unassign_task |
Remove assignee | taskId |
| </details> |
<details> <summary><strong>Project Management (5 tools)</strong></summary>
| Tool | Description | Example |
|---|---|---|
motion_list_projects |
List projects | workspaceId |
motion_get_project |
Get project details | projectId |
motion_create_project |
Create project | name, workspaceId |
motion_update_project |
Update project | projectId, name |
motion_archive_project |
Archive project | projectId |
| </details> |
<details> <summary><strong>Other Tools (8 tools)</strong></summary>
| Tool | Description |
|---|---|
motion_list_workspaces |
List all workspaces |
motion_get_workspace |
Get workspace details |
motion_list_users |
List workspace users |
motion_get_current_user |
Get current user |
motion_list_comments |
List task comments |
motion_create_comment |
Add task comment |
motion_list_recurring_tasks |
List recurring tasks |
motion_create_recurring_task |
Create recurring task |
motion_delete_recurring_task |
Delete recurring task |
motion_list_schedules |
List schedules |
| </details> |
Configuration
| Variable | Required | Default | Description |
|---|---|---|---|
MOTION_API_KEY |
✅ | - | Your Motion API key |
MOTION_BASE_URL |
❌ | https://api.usemotion.com/v1 |
API endpoint |
RATE_LIMIT_WINDOW_MS |
❌ | 180000 |
Rate limit window (3 min) |
RATE_LIMIT_MAX_REQUESTS |
❌ | 12 |
Max requests per window |
DATABASE_PATH |
❌ | ./motion-rate-limit.db |
SQLite database path |
DEBUG |
❌ | false |
Enable debug logging |
Development
# Clone
git clone https://github.com/h3ro-dev/motion-mcp-server.git
cd motion-mcp-server
# Install
npm install
# Build
npm run build
# Test
npm test
# Run locally
MOTION_API_KEY=your-key npm start
Troubleshooting
<details> <summary><strong>Common Issues</strong></summary>
"Invalid API Key"
- Check API key is correct
- Ensure no extra spaces
- Regenerate key if needed
"Rate limit exceeded"
- Server automatically handles this
- Wait time shown in error
- Check
DATABASE_PATHis writable
"Task not found"
- Verify task ID exists
- Check workspace access
- Task may be archived </details>
License
MIT © h3ro-dev
Links
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。