Sponsored by Deepsite.site

Motion MCP Server

Created By
devondragon6 months ago
MCP Server for Use Motion Task Management System
Content

Motion MCP Server

A Model Context Protocol (MCP) server that provides LLMs with direct access to the Motion API for task and project management. This server implements the MCP protocol to enable seamless integration between AI assistants and Motion's productivity platform.

Quick Start with npx

You can run the Motion MCP Server without installing it globally:

npx motionmcp --api-key=your_motion_api_key

Or using an environment variable:

MOTION_API_KEY=your_motion_api_key npx motionmcp

You can also provide a config file at ~/.motionmcp.json:

{
  "apiKey": "your_motion_api_key",
  "port": 4000
}

Then simply run:

npx motionmcp

The npx command will always fetch and run the latest published version.

Preview

Motion MCP Server Preview

Click the image above to view full size

Features

  • Full MCP Protocol support for seamless LLM integration
  • Deep Motion API integration for projects, tasks, workspaces, and users
  • 18 intelligent, ready-to-use tools
  • Real-time context awareness and smart suggestions
  • Project templates, smart scheduling, workload analytics, and more
  • API key authentication with multiple configuration options
  • MCP-compliant structured JSON logging
  • Robust error handling and input validation

Prerequisites

Installation (Development)

git clone https://github.com/your-org/motionmcp-server.git
cd motionmcp-server
npm install
cp .env.example .env
# edit .env and add your MOTION_API_KEY

Running the Server (Development)

npm run mcp
# or
node src/mcp-server.js

Providing Your Motion API Key

The Motion MCP Server supports the following ways to provide your API key:

1. Environment Variable

MOTION_API_KEY=your-key npx motionmcp

2. Command Line Argument

npx motionmcp --api-key=your-key --port=4000

3. Config File

echo '{"apiKey": "your-key", "port": 4000}' > ~/.motionmcp.json
npx motionmcp

4. Interactive Prompt

npx motionmcp
# Prompts: "Please enter your Motion API key:"

Order of precedence: ENV → CLI Arg → Config File → Prompt

Tool Overview

Context & Intelligence

  • get_motion_context – Current workspace, activity, and next action suggestions
  • search_motion_content – Semantic search across tasks and projects
  • analyze_motion_workload – Workload analysis and overdue tracking
  • suggest_next_actions – Smart planning suggestions based on your current state

Project Management

  • create_motion_project
  • create_project_template
  • list_motion_projects
  • get_motion_project
  • update_motion_project
  • delete_motion_project

Task Management

  • create_motion_task
  • list_motion_tasks
  • get_motion_task
  • update_motion_task
  • delete_motion_task
  • bulk_update_tasks
  • smart_schedule_tasks

Workspace & User Info

  • list_motion_workspaces
  • list_motion_users

Enhanced Features

Smart Defaults & Resolution

  • Workspace and project auto-detection and fuzzy matching
  • Intelligent defaults: selects "Personal" workspace if none provided
  • Robust fallback and error messaging

Task Creation

Supports all Motion API parameters:

  • Basic: name, description, workspaceId|workspaceName, projectId|projectName
  • Advanced: priority, dueDate, duration, labels, assigneeId, autoScheduled
  • Cross-search by query with intelligent scope and priority boosting

Scheduling & Workload

  • Prioritized scheduling with conflict detection and task balancing
  • Detailed workload breakdowns by status, priority, and project

Example Tool Use

Tool: create_motion_task
Args: {
  "name": "Complete API integration",
  "workspaceName": "Development",
  "projectName": "Release Cycle Q2",
  "dueDate": "2025-06-15T09:00:00Z",
  "priority": "HIGH",
  "labels": ["api", "release"]
}

LLM Integration

Add this config to your claude_desktop_config.json:

{
  "mcpServers": {
    "motion": {
      "command": "npx",
      "args": ["motionmcp"],
      "env": {
        "MOTION_API_KEY": "your_api_key"
      }
    }
  }
}

Debugging

  • Logs output to stderr in JSON format
  • Check for missing keys, workspace/project names, and permissions
  • Use list_motion_workspaces and list_motion_projects to validate IDs

Logging Example

{
  "level": "info",
  "msg": "Task created successfully",
  "method": "create_motion_task",
  "taskId": "task_789",
  "workspace": "Development"
}

License

ISC License


For more information, see the full Motion API docs or Model Context Protocol docs.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Tavily Mcp
DeepChatYour AI Partner on Desktop
ChatWiseThe second fastest AI chatbot™
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
CursorThe AI Code Editor
WindsurfThe new purpose-built IDE to harness magic
Serper MCP ServerA Serper MCP Server
Playwright McpPlaywright MCP server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server