Skip to main content
Glama
Leantime MCP Server

Leantime MCP Server

by Fauzaro01
README.md
# Leantime MCP Server

Model Context Protocol (MCP) server for [Leantime](https://leantime.io) self-hosted project management system, communicating via its native JSON-RPC 2.0 API.

## Features

- **Projects**: `listProjects`, `getProject`
- **Tickets**: `listTickets` (with optional `projectId` filter), `getTicket`, `createTicket`
- **Users**: `listUsers`, `getUser`
- **Clients**: `listClients`, `getClient`
- **Timesheets**: `listTimesheets` (requires `dateFrom`, `dateTo`, optional `projectId` / `userId`)
- **Health**: `ping`

## Quick Start (1 command)

No clone, no build — just configure your MCP client:

### Claude Desktop

Add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "leantime": {
      "command": "npx",
      "args": ["-y", "@fauzaro01/leantime-mcp"],
      "env": {
        "LEANTIME_URL": "https://your-leantime-instance.com",
        "LEANTIME_TOKEN": "your_api_key_here"
      }
    }
  }
}
```

### VS Code / Cursor

```json
{
  "mcpServers": {
    "leantime": {
      "command": "npx",
      "args": ["-y", "@fauzaro01/leantime-mcp"],
      "env": {
        "LEANTIME_URL": "https://your-leantime-instance.com",
        "LEANTIME_TOKEN": "your_api_key_here"
      }
    }
  }
}
```

### Claude Code

```bash
claude mcp add leantime -- npx -y @fauzaro01/leantime-mcp
```

Then set environment variables `LEANTIME_URL` and `LEANTIME_TOKEN`.

> **Note**: Generate your API key in Leantime under **User Profile / Settings -> API Keys**.

## Install from source (development)

```bash
git clone https://github.com/Fauzaro01/leantime-mcp.git
cd leantime-mcp
npm install
npm run build
```

## License

GPL-3.0

TDQS

B3.3/5.0

Scored across 11 tools

Disambiguation5/5

Each tool maps to a distinct entity+action pair (list vs. get per resource, a single createTicket mutation, and a standalone ping). There is no overlap where two tools could plausibly be selected for the same intent, and the list/get naming split makes the boundary explicit.

Naming Consistency5/5

All names follow a single verb_noun camelCase convention (listProjects, getProject, createTicket, listTimesheets). No mixing of casing or verb styles anywhere in the set.

Tool Count5/5

Eleven tools is squarely in the well-scoped range for a project-management integration covering projects, tickets, users, clients, and time entries. Each tool corresponds to a real resource and none appear redundant.

Completeness3/5

Read coverage is good but the write surface is one tool: there is no updateTicket or deleteTicket to round out the ticket lifecycle, no project/client/user mutations, and no way to log time despite listTimesheets existing. Agents can read and create tickets but hit dead ends for edits, deletion, and time logging.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues