Skip to main content
Glama

Motion MCP Server

Unofficial Model Context Protocol (MCP) server for Motion - the AI-powered calendar, task management, and project planning app that automatically schedules your work.

Note: This is a community-built integration, not an official Motion product. We created this MCP server because there was no official implementation available, enabling AI assistants like Claude to interact with Motion's powerful scheduling and task management features.

License: MIT MCP Version Node Version

Quick Start

Step 1: Get Your Motion API Key

  1. Log into Motion

  2. Navigate to Settings → API

  3. Create a new API key

  4. Copy the key immediately (it's only shown once!)

Step 2: Install the MCP Server

Run this command to add the Motion MCP server to Claude:

claude mcp add motion npx -- -y @rf-d/motion-mcp

Step 3: Add Your API Key

The above command creates the configuration, but you need to manually add your API key:

  1. Open your Claude configuration file:

    • macOS: ~/Library/Application Support/Claude/claude.json

    • Windows: %APPDATA%\Claude\claude.json

    • Linux: ~/.config/claude/claude.json

  2. Find the motion entry that was just added and update it to include your API key:

{
  "mcpServers": {
    "motion": {
      "command": "npx",
      "args": ["-y", "@rf-d/motion-mcp"],
      "env": {
        "MOTION_API_KEY": "your_motion_api_key_here"
      }
    }
  }
}
  1. Save the file and restart Claude Desktop

Alternative Installation Methods

Via GitHub (Development)

git clone https://github.com/RF-D/motion-mcp.git
cd motion-mcp
npm install
npm run build

# Create a .env file with your API key
echo "MOTION_API_KEY=your_motion_api_key_here" > .env

# Run in development mode
npm run dev

Manual Configuration

If you prefer to manually configure without using the CLI, add this to your claude.json:

{
  "mcpServers": {
    "motion": {
      "command": "npx",
      "args": ["-y", "@rf-d/motion-mcp"],
      "env": {
        "MOTION_API_KEY": "your_motion_api_key_here",
        "MOTION_RATE_LIMIT_PER_MINUTE": "12"  // 12 for individual, 120 for teams
      }
    }
  }
}

Related MCP server: Asana MCP Server

Features

Core Capabilities

  • Task Management: Create, update, delete, and organize tasks with full support for Motion's auto-scheduling

  • Project Management: Manage projects across workspaces with custom statuses

  • Workspace Organization: Access and manage multiple workspaces

  • Team Collaboration: User management, task assignment, and team coordination

  • Comments: Add and manage task comments for better collaboration

  • Scheduling: View and manage schedules with Motion's intelligent scheduling

  • Custom Fields: Create and manage custom fields for tasks and projects

  • Recurring Tasks: Set up and manage recurring tasks with flexible patterns

Rate Limiting

The server includes automatic rate limiting to comply with Motion's API limits:

  • Individual accounts: 12 requests per minute

  • Team accounts: 120 requests per minute

  • Enterprise accounts: Custom limits

Available Tools

Task Management (8 tools)

  • motion_list_tasks - List tasks with filtering and pagination

  • motion_get_task - Get detailed task information

  • motion_create_task - Create new tasks with auto-scheduling

  • motion_update_task - Update task properties

  • motion_delete_task - Delete tasks

  • motion_move_task - Move tasks between projects

  • motion_complete_task - Mark tasks as completed

  • motion_uncomplete_task - Mark tasks as not completed

Project Management (5 tools)

  • motion_list_projects - List all projects

  • motion_get_project - Get project details

  • motion_create_project - Create new projects

  • motion_update_project - Update project information

  • motion_delete_project - Delete projects

Workspace Tools (2 tools)

  • motion_list_workspaces - List accessible workspaces

  • motion_get_workspace - Get workspace details

Additional Tools (17 tools)

  • User management (3 tools)

  • Schedule management (1 tool)

  • Comment management (5 tools)

  • Custom field management (5 tools)

  • Recurring task management (5 tools)

Usage Examples

Basic Task Creation

Create a new task called "Review Q4 reports" due tomorrow with high priority

Advanced Task Management

List all my incomplete tasks in the "Development" project and move any bug fixes to high priority

Team Collaboration

Show me all tasks assigned to the team this week and add a comment to each one about the sprint goals

Recurring Tasks

Create a weekly recurring task for team standup meetings every Monday at 9 AM

Development

Prerequisites

  • Node.js >= 20.0.0

  • npm or yarn

  • Motion API key

Setup

# Clone the repository
git clone https://github.com/RF-D/motion-mcp.git
cd motion-mcp

# Install dependencies
npm install

# Set up environment
cp .env.example .env
# Edit .env with your API key

# Run in development mode
npm run dev

Scripts

  • npm run build - Build for production

  • npm run dev - Development mode with hot reload

  • npm run typecheck - TypeScript type checking

  • npm run lint - ESLint code linting

  • npm run format - Prettier code formatting

Project Structure

src/
├── api/
│   └── client.ts          # Motion API client with rate limiting
├── tools/
│   ├── task.ts           # Task management tools
│   ├── project.ts        # Project management tools
│   ├── workspace.ts      # Workspace tools
│   └── ...               # Other tool categories
├── types/
│   ├── motion.ts         # Motion API type definitions
│   └── tool.ts           # MCP tool type definitions
├── config.ts             # Configuration management
└── index.ts              # Main server entry point

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

Guidelines

  1. Fork the repository

  2. Create your feature branch (git checkout -b feature/amazing-feature)

  3. Commit your changes (git commit -m 'Add amazing feature')

  4. Push to the branch (git push origin feature/amazing-feature)

  5. Open a Pull Request

Please ensure:

  • All tests pass

  • Code follows the existing style

  • TypeScript types are properly defined

  • Documentation is updated

License

This project is licensed under the MIT License - see the LICENSE file for details.

Resources

Disclaimer

This is an unofficial integration and is not affiliated with, officially maintained, or endorsed by Motion. Use at your own discretion.

Troubleshooting

Common Issues

"Motion API key not found" error

  • Make sure you've added the MOTION_API_KEY to your claude.json configuration

  • Verify the key is correct and hasn't expired

  • Restart Claude Desktop after adding the key

"Rate limit exceeded" error

  • Individual accounts are limited to 12 requests per minute

  • Team accounts get 120 requests per minute

  • The server automatically handles rate limiting, but very heavy usage may still hit limits

"Command not found" error

  • Make sure you have Node.js >= 20.0.0 installed

  • Try running with the full path: npx @rf-d/motion-mcp

Support


Built with love for the Motion and MCP communities

Available Tools

34 tools
motion_add_custom_field_to_projectC

Add a custom field value to a project

Inputs: value (required), projectId (required), customFieldId (required).

motion_add_custom_field_to_taskC

Add a custom field value to a task

Inputs: value (required), taskId (required), customFieldId (required).

motion_complete_taskC

Mark a task as completed

Inputs: taskId (required).

motion_create_commentC

Add a new comment to a task

Inputs: taskId (required), content (required).

motion_create_custom_fieldC

Create a new custom field

Inputs: name (required), type (required), workspaceId (required), options.

motion_create_projectC

Create a new project in Motion

Inputs: name (required), workspaceId (required), status, description.

motion_create_recurring_taskC

Create a new recurring task

Inputs: name (required), frequency (required), workspaceId (required), duration, +4 more.

motion_create_taskC

Create a new task in Motion

Inputs: name (required), workspaceId (required), labels, status, +7 more.

motion_delete_commentB

Delete a comment permanently

Inputs: commentId (required).

motion_delete_projectC

Delete a project permanently

Inputs: projectId (required).

motion_delete_recurring_taskB

Delete a recurring task permanently

Inputs: recurringTaskId (required).

motion_delete_taskB

Delete a task permanently

Inputs: taskId (required).

motion_get_commentC

Get details of a specific comment

Inputs: commentId (required).

motion_get_current_userB

Get information about the currently authenticated user

Inputs: no named parameters.

motion_get_projectC

Get detailed information about a specific project

Inputs: projectId (required).

motion_get_recurring_taskC

Get details of a specific recurring task

Inputs: recurringTaskId (required).

motion_get_scheduleC

Get schedule information for a user within a date range

Inputs: userId, endDate, startDate.

motion_get_taskC

Get detailed information about a specific task

Inputs: taskId (required).

motion_get_userB

Get information about a specific user by ID

Inputs: userId (required).

motion_get_workspaceC

Get details of a specific workspace by ID

Inputs: workspaceId (required).

motion_list_commentsB

List all comments for a specific task

Inputs: taskId (required).

motion_list_custom_fieldsA

List all custom fields, optionally filtered by workspace

Inputs: workspaceId.

motion_list_projectsB

List all projects, optionally filtered by workspace

Inputs: workspaceId.

motion_list_recurring_tasksB

List all recurring tasks, optionally filtered by workspace

Inputs: workspaceId.

motion_list_tasksB

List tasks with optional filters. Supports pagination via cursor.

Inputs: name, label, cursor, status, +4 more.

motion_list_usersA

List all users, optionally filtered by workspace

Inputs: workspaceId.

motion_list_workspacesA

List all workspaces accessible to the authenticated user

Inputs: no named parameters.

motion_move_taskC

Move a task to a different project

Inputs: taskId (required), projectId (required).

motion_remove_custom_field_from_taskC

Remove a custom field value from a task

Inputs: taskId (required), customFieldId (required).

motion_uncomplete_taskC

Mark a task as not completed

Inputs: taskId (required).

motion_update_commentC

Update the content of an existing comment

Inputs: content (required), commentId (required).

motion_update_projectC

Update an existing project

Inputs: projectId (required), name, status, description.

motion_update_recurring_taskC

Update an existing recurring task

Inputs: recurringTaskId (required), name, duration, frequency, +4 more.

motion_update_taskC

Update an existing task

Inputs: taskId (required), name, labels, status, +6 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 34 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action, with clear boundaries between task, project, comment, custom field, recurring task, user, workspace, and schedule operations. Potentially overlapping tools like update_task, move_task, complete_task, and uncomplete_task are sufficiently differentiated by their descriptions.

    Naming Consistency5/5

    All tools use a consistent motion_ prefix followed by snake_case verb_noun naming, such as motion_create_task, motion_list_projects, and motion_delete_comment. The pattern is predictable throughout, including compound actions like motion_add_custom_field_to_task.

    Tool Count2/5

    At 34 tools, the surface is heavy for a project/task management server and exceeds the typical well-scoped range. While many tools serve distinct entities, the count suggests opportunities for consolidation, especially around custom fields and task lifecycle operations.

    Completeness4/5

    Core domains—tasks, projects, comments, recurring tasks, users, workspaces, and scheduling—have solid coverage, including CRUD for tasks, projects, comments, and recurring tasks. Minor gaps remain in custom field management: there is no update or delete for custom fields and no tool to remove a custom field from a project.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers