leantime-mcp

dherrero/leantime-mcp

3.1

If you are the rightful owner of leantime-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

MyLeantime MCP is a server designed to manage tickets and projects in Leantime using AI assistants.

MyLeantime MCP

TypeScript Node.js MCP ESLint Prettier

Servidor MCP (Model Context Protocol) para gestionar tickets y proyectos en Leantime desde asistentes de IA.

Instalación

git clone https://github.com/dherrero/leantime-mcp.git
cd leantime-mcp
npm install
npm run build
# opcional para instalarlo como binario
npm install -g .

Opcional (variables de entorno):

# .env
LEANTIME_URL=https://tu-dominio-leantime.com/api/jsonrpc
LEANTIME_API_KEY=tu-api-key

Uso

  • Ejecutar el servidor (CLI):
myleantime-mcp --url https://YOUR_LEANTIME_HOST/api/jsonrpc --api-key YOUR_API_KEY
# o si prefieres usar el build local
npm start -- --url https://YOUR_LEANTIME_HOST/api/jsonrpc --api-key YOUR_API_KEY

# Ayuda
myleantime-mcp --help
  • Integrarlo en tu cliente MCP (por ejemplo, Cursor/Claude Desktop):
{
  "mcpServers": {
    "leantime": {
      "command": "myleantime-mcp", // alternativo: node /path_to/dist/index.js
      "args": ["--url", "https://YOUR_LEANTIME_HOST/api/jsonrpc", "--api-key", "YOUR_API_KEY"]
    }
  }
}

Notas:

  • Los argumentos de CLI tienen prioridad sobre las variables de entorno.
  • Requisitos: Node.js 18+ y una API Key válida de Leantime.