openproject-lite-mcp
Provides tools for interacting with OpenProject (API v3), enabling AI agents to list, search, read, create, and update work packages; add comments; manage relations and time entries; permanently delete work packages with confirmation; and query account, project, status, type, priority, member, version, and custom-field metadata.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@openproject-lite-mcp what's assigned to me?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
openproject-lite-mcp
A lightweight MCP server for OpenProject (API v3). Works with self-hosted (on-premise, Community or Enterprise) and OpenProject Cloud.
Zero dependencies. Node 22.18+ runs the TypeScript directly: no
npm install, no build.You run it, you own it. Talks straight to your OpenProject with your own API key. No third-party server in between.
Token-light. Tabular output, numeric ids plus
atual/ultimo/lista, cleaned descriptions, names resolved fuzzily (status: "in prog").Safe by default. Delete always shows a preview and waits for the user's approval; any other write can be made to ask too, and tools can be removed for unattended agents.
Any model. Plain JSON Schema (no
typearrays, noanyOf), so local models and other providers handle it.
Português: README.pt-BR.md. Tool descriptions are in Portuguese; any LLM handles them fine.
Prerequisites
Node.js 22.18 or newer (
node --version).An OpenProject instance reachable from the machine running the server (
http://on a LAN is fine).An API token: in OpenProject, My account → Access tokens → API → Generate. The server acts as that user, with that user's permissions.
An MCP client: Claude Desktop, Claude Code, Cursor, VS Code or anything that supports stdio servers.
Related MCP server: Tonle OpenProject MCP Server
Quick start
git clone https://github.com/almeidatmatheus/openproject-lite-mcp.git
cd openproject-lite-mcp
OPENPROJECT_URL=https://op.example.com OPENPROJECT_API_KEY=<token> node src/main.ts check
# ok: Ana Lima (ana) em OpenProject v16.xClaude Desktop (claude_desktop_config.json, see examples/):
{
"mcpServers": {
"openproject": {
"command": "node",
"args": ["/absolute/path/to/openproject-lite-mcp/src/main.ts"],
"env": {
"OPENPROJECT_URL": "https://op.example.com",
"OPENPROJECT_API_KEY": "<token>",
"OPENPROJECT_PROJECT": "my-project"
}
}
}
}Claude Code:
claude mcp add openproject \
-e OPENPROJECT_URL=https://op.example.com -e OPENPROJECT_API_KEY=<token> -e OPENPROJECT_PROJECT=my-project \
-- node /absolute/path/to/openproject-lite-mcp/src/main.tsAny other MCP client: command node /absolute/path/to/openproject-lite-mcp/src/main.ts, stdio transport, same env vars.
Try it
"what's assigned to me?" · "what's overdue in the site project?" · "move #42 to In progress and set the due date to Friday" · "comment on it that the fix is deployed" · "log 1.5h on #42" · "create a bug: checkout button broken, assign to Bruno"
Tools
tool | does |
| list work packages: open, mine, overdue, due this week, unassigned, closed, all; filters by status, type, assignee, version, custom field |
| text search (subject + description + comments, or subject/id only) |
| read a work package: summary (with custom fields), full (attachments, relations), activity, children |
| create a work package (type, status, priority, assignee, version, parent, dates, estimate, custom fields) |
| update one or many work packages (only the fields given change); |
| comment on a work package |
| relations/dependencies: list, create (blocks, precedes, requires, relates…), remove |
| time tracking: list entries (me/everyone, period) or log hours |
| delete work packages permanently. Always asks for confirmation |
| account and instance, projects, statuses, types, priorities, members, versions, custom fields |
Ids: 123 or #123, atual (last read/created/changed), ultimo (first of the last listing). alvos (targets) also takes 12,15,18 or lista = every item of the last listing.
Dates: 2026-12-15, 15/12, hoje, amanha, +3, -1; '' clears.
Custom fields: campos: "Orca ID=task_123; Área=Backend; Revisor=bruno" on new/up, campo: "Orca ID=task_123" on ls. Names are matched fuzzily; cx campos lists them.
Relations read from the first id: rel criar id=12 tipo=bloqueia para=15 means #12 blocks #15. precede takes an optional lag in days.
Confirmation. If the client supports MCP elicitation, the server asks the user directly. Otherwise the first call returns a preview and a code cf; only the identical call with that cf executes (valid 10 min, single use). Clients should show the preview and send cf only after explicit approval.
Options
env var | default |
| required, e.g. |
| required |
| default project (identifier, name or id); empty = all projects |
|
|
|
|
| empty. Tools to remove entirely, e.g. |
Command line: node src/main.ts check (or whoami) tests the URL and token.
Self-signed / internal CA certificate: NODE_EXTRA_CA_CERTS=/path/to/ca.pem. Never disable TLS verification.
Corporate proxy: Node 22.21+ with NODE_USE_ENV_PROXY=1 and HTTPS_PROXY.
Using with autonomous agents (Orca and similar)
When agents run without a human watching, a confirmation an agent can answer itself is not a safeguard. Recommended setup:
A dedicated OpenProject user for the agents, member only of the projects they work on, with a role that cannot delete work packages (and no admin). This is the real protection: the server can never do more than the token's user.
Remove what agents shouldn't touch and close the
cfloophole:OPENPROJECT_MCP_DISABLE=rm,desc OPENPROJECT_MCP_CF=offWith
CF=off, anything listed inOPENPROJECT_MCP_CONFIRMonly runs if the client asks a human (elicitation); otherwise it is refused.Progress goes in comments (
cm), never by rewriting the description. WithDISABLE=descthe agent can only append (desc_add).Link work packages to agent tasks with a custom field. Create a text custom field (e.g. Orca ID) in OpenProject, enable it for the project and types, then:
new … campos: "Orca ID=task_123"and find it back withls campo: "Orca ID=task_123".Dependencies with
rel(bloqueia,precede,requer…), so agents can check what is blocked before starting.
Notes on OpenProject
Progress (
pct) can only be set when the instance uses work-based (manual) progress; in status-based mode OpenProject rejects it and the error is passed through.Time entries: OpenProject 15+ links them to
entity, older versions toworkPackage; the server tries both. Some instances require an activity (atividade: "Development").Deleting a work package is permanent and deletes its children. To close something, use
upwith a closed status.
Security
The token has exactly the permissions of its user. Prefer a dedicated user with access only to the projects the AI should touch.
The token lives in your MCP client config; keep that file private.
Work package content is untrusted. A description or comment can contain text trying to instruct the AI. The confirmation before delete (and, if you want, before every write) is the main defense; don't remove it.
See SECURITY.md to report a vulnerability.
Project layout
src/
main.ts entry: stdio (default) | check | whoami
mcp.ts MCP protocol: JSON-RPC, schema validation, confirmation (elicitation or cf code)
op.ts minimal OpenProject client: Basic auth (apikey), retry on 429/503, readable errors
ref.ts projects, statuses, types, priorities, members, versions: cached, fuzzy by name
wp.ts work package listing and create/update body
cf.ts custom fields: schema discovery, read, write, filter
ids.ts 'atual', 'ultimo', 'lista', '1,2,3'
fmt.ts tabular output, text cleanup
lib.ts config, dates, ISO 8601 durations, name matching
tools/ one file per tool + index.ts
test/
mock.ts fake OpenProject API v3
run.ts real MCP clients (with and without elicitation) against the mockDevelopment
node test/run.ts # 74 checks, no network or OpenProject needed
npm i -D typescript @types/node && npx tsc -p . # type check (optional)License
Available Tools
10 toolscmA
Comenta em um work package (markdown; @menções seguem as regras do OpenProject). Visível para a equipe.
Inputs: texto (required), cf, id, notificar.
cxCRead-onlyIdempotent
Contexto: conta e instância, projetos, status, tipos, prioridades, membros (pessoas atribuíveis), versões e campos personalizados de um projeto.
Inputs: pj, acao.
findBRead-onlyIdempotent
Busca work packages por texto. Mesma saída do ls.
Inputs: texto (required), n, em, pj, +2 more.
lsARead-onlyIdempotent
Lista work packages, uma linha por WP (id|tipo|status|prio|resp|fim|%|assunto).
Inputs: n, pj, pag, resp, +6 more.
newA
Cria um work package. Sem tipo usa o tipo padrão do projeto. O criado vira o atual.
Inputs: assunto (required), cf, pj, fim, +12 more.
rdARead-onlyIdempotent
Lê um work package: resumo (campos + descrição curta), completo (descrição inteira, anexos, relações), atividade (comentários e mudanças) ou filhos.
Inputs: n, id, modo.
relB
Relações/dependências entre work packages: listar, criar (bloqueia, precede, requer, relaciona...) ou remover. O tipo é lido a partir do id: "#12 bloqueia #15".
Inputs: cf, id, lag, rel, +4 more.
rmADestructive
Apaga work packages PERMANENTEMENTE (o OpenProject não tem lixeira; filhos também são apagados). Sempre pede confirmação. Para encerrar, prefira up com status fechado.
Inputs: alvos (required), cf.
tmB
Horas: listar lançamentos (padrão: meus, esta semana) ou lançar horas em um work package.
Inputs: cf, id, acao, data, +5 more.
upA
Altera campos de um ou vários work packages (status, responsável, prazo, prioridade, %, campos personalizados...). Só os campos informados mudam. Para registrar progresso, prefira cm (comentário) a mexer na descrição.
Inputs: cf, fim, pai, pct, +13 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a clearly distinct operation: listing, searching, reading, creating, updating, commenting, relating, time logging, deleting, and context lookup. The ls/find pair is the closest overlap, but the distinction between unfiltered listing and text search is explicit. No two tools appear to do the same thing.
The names consistently use a terse lowercase CLI-style convention, which is predictable within this server. There are minor deviations in whether a token is a verb (new, find) or an abbreviation (cm, rel, tm, cx), but the overall style is cohesive.
Ten tools is well-scoped for a lite work-package management server, and each tool corresponds to a meaningful workflow. There is no obvious redundancy or missing filler.
The surface covers the core work-package lifecycle: discovery, reading, creation, updates, comments, relations, time tracking, deletion, and context lookup. Minor gaps remain around attachments, watchers, and project administration, but these are reasonable omissions for a lite server.
Maintenance
Related MCP Connectors
Read and write Mission Control state via MCP — projects, tasks, subtasks, templates, status updates.
Manage Timequip projects, tasks, comments, members, and dashboards through MCP.
Unofficial community ClickUp MCP via personal API token. Not affiliated with ClickUp.
Headless task management for bots, apps and AI agents. Remote MCP server, OAuth or access token.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with self-hosted OpenProject instances through the MCP protocol, supporting CRUD operations for projects and tasks (work packages) with pagination and filtering capabilities.8MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with OpenProject's API v3 for comprehensive project management operations including work packages, projects, time tracking, users, and all other OpenProject features through natural language.5MIT
- FlicenseAqualityDmaintenanceExposes the OpenProject REST API as MCP tools for project management, including creating and managing projects, work packages, relations, attachments, users, notifications, watchers, boards, and reference data.37-
- AlicenseNot gradedqualityDmaintenanceEnables LLM applications to interact with OpenProject for project management, work package tracking, and task creation.93MIT