Motion MCP Server

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.

Category
Visit Server

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_PATH is writable

"Task not found"

  • Verify task ID exists
  • Check workspace access
  • Task may be archived </details>

License

MIT © h3ro-dev

Links

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured