Leantime MCP Server
MCP server for Leantime integration with n8n workflows.
Features
- Projects (list, get users)
- Tickets/Tasks (create, update, status changes)
- Time tracking (log time, punch in/out, timesheets)
- Sprints and Goals
Quick Start
Docker
docker build -t mcp-leantime .
docker run -p 8000:8000 -e LEANTIME_URL=http://leantime:8080 -e LEANTIME_API_KEY=lt_user_key mcp-leantime
n8n Integration
- Credential Type: MCP Client (HTTP Streamable)
- URL:
http://mcp-leantime:8000/mcp
Environment Variables
LEANTIME_URL: Leantime instance URL (default: http://leantime:8080)LEANTIME_API_KEY: Leantime API keyLOG_LEVEL: Logging level (default: INFO)
Available Tools
list_projects: Get all accessible projectsget_project_users: Get users assigned to a projectcreate_ticket: Create new ticket/taskget_ticket: Get ticket detailsupdate_ticket: Update ticket fieldsupdate_ticket_status: Update ticket statuslog_time: Log time against a ticketpunch_in: Start timer for a ticketpunch_out: Stop timer for a ticketget_timesheets: Get timesheet entriesget_sprints: Get all sprints for a projectget_goals: Get all goals
Production Deployment
See parent repository for Docker Compose deployment to stack_net network.