MOTION_API_KEY=your_motion_api_key_here
PORT=3000
NODE_ENV=development
# Tool configuration (optional)
# Options: minimal, essential, complete, custom:tool1,tool2
# Default: complete (all 10 tools)
#
# Tool sets:
# minimal (3 tools): motion_tasks, motion_projects, motion_workspaces
# essential (7 tools): All minimal tools plus:
# - motion_users, motion_search, motion_comments, motion_schedules
# complete (10 tools): All consolidated tools available (default):
# - All essential tools plus motion_custom_fields, motion_recurring_tasks, motion_statuses
# custom: Specify exact tools needed
#
# Uncomment to restrict tools (useful when running multiple MCP servers):
# MOTION_MCP_TOOLS=minimal # Only core consolidated tools
# MOTION_MCP_TOOLS=essential # Consolidated tools plus common features
# MOTION_MCP_TOOLS=custom:motion_tasks,motion_projects,motion_search
# MOTION_MCP_TOOLS=complete
# Integration tests (optional — tests skip gracefully without this)
# MOTION_INTEGRATION_PROJECT=MCP Integration Tests
# Cloudflare Workers deployment (optional)
# These are only needed if deploying as a remote MCP server.
# For production, set these as Cloudflare secrets instead:
# npx wrangler secret put MOTION_API_KEY
# npx wrangler secret put MOTION_MCP_SECRET
#
# MOTION_MCP_SECRET is embedded in the URL path for access control:
# https://your-worker.workers.dev/mcp/YOUR_SECRET
# Generate one with: openssl rand -hex 16
# MOTION_MCP_SECRET=your_random_secret_here