openproject-mcp
Provides read-only access to OpenProject projects, work packages, and comments, with tools to list projects, search and retrieve work packages, view comments, and list statuses and types.
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-mcp list my open work packages"
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-mcp
A Model Context Protocol server for OpenProject. It gives an MCP-capable assistant read-only access to the projects, work packages and comments that one OpenProject API key can see.
Why this exists
OpenProject ships an official MCP server, but it is an Enterprise add-on: it requires an Enterprise cloud or on-premises plan at the Professional tier or above. Every Community Edition instance, and every openDesk deployment built on one, is left without a way to connect an assistant.
This server fills that gap. It talks to the documented, unrestricted API v3 that every OpenProject instance exposes, using a personal API key.
Related MCP server: Tonle OpenProject MCP Server
Scope and safety
Every tool in this server is read-only. There is no code path that creates, updates or deletes anything in OpenProject, and no tool that writes to disk or makes a request to any host other than the configured instance.
The server holds one API key and therefore sees exactly what the user behind that key sees. OpenProject's own project memberships and role permissions remain the access boundary; this server does not widen them.
Responses are size-capped before they reach the assistant. A single response
body is read up to a limit and then aborted, and long descriptions and comments
are truncated with an explicit [truncated] marker rather than silently cut.
Requirements
Node.js 20 or newer
An OpenProject instance reachable from the machine running the server
An OpenProject API key
Creating an API key
Sign in to OpenProject.
Open your avatar menu and choose "My account".
Go to "Access tokens".
Under "API", choose "Generate" and copy the key.
The key inherits your permissions. If you want the assistant to see less than you do, create a dedicated OpenProject user with narrower project memberships and generate the key as that user.
Installation
git clone https://github.com/Nraitschew/openproject-mcp.git
cd openproject-mcp
npm install
npm run buildThe build writes an executable entry point to dist/index.js.
Configuration
The server is configured through environment variables. The host application that starts the server passes them in.
Variable | Required | Default | Meaning |
| yes | Instance URL, for example | |
| yes | The API key from "My account", "Access tokens". | |
| no |
| Per-request timeout in milliseconds. |
| no |
| Hard cap on a single response body. |
| no |
| Cap on a description or comment handed to the assistant. |
A missing or malformed variable makes the server exit with a message on stderr that names the variable, rather than starting and failing on the first tool call.
Connecting a client
Claude Desktop
Edit the MCP configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"openproject": {
"command": "node",
"args": ["/absolute/path/to/openproject-mcp/dist/index.js"],
"env": {
"OPENPROJECT_URL": "https://projects.example.org",
"OPENPROJECT_API_KEY": "your-api-key"
}
}
}
}Restart Claude Desktop afterwards.
Claude Code
claude mcp add openproject \
--env OPENPROJECT_URL=https://projects.example.org \
--env OPENPROJECT_API_KEY=your-api-key \
-- node /absolute/path/to/openproject-mcp/dist/index.jsAny other MCP client
The server speaks MCP over stdio. Start it with node dist/index.js and the
two required environment variables set; any client that can spawn a stdio
server will work.
Tools
Tool | Purpose |
| Identify the account the API key belongs to. Call this first when a question says "my" or "me". |
| List visible projects, optionally filtered by name or identifier. Returns the ids that scope a work package search. |
| Full-text search over work packages, optionally scoped to a project or to the current user. Defaults to open work packages, most recently updated first. |
| One work package in full, including its description. |
| The comments on a work package. Status changes without a comment are omitted. |
| The work package statuses configured on the instance. |
| The work package types configured on the instance, for example Task, Bug, Milestone. |
Tool results are JSON. Related resources are flattened out of OpenProject's
HAL envelopes: a work package carries status, assignee and project as
plain names rather than as link objects, so the assistant reads the work rather
than the link structure.
Errors
A failing tool call returns a result marked as an error whose text starts with a stable machine code:
Code | Meaning |
| The API key was rejected. It may have been revoked. |
| The key is valid but not permitted to read that resource. |
| No such work package, project or endpoint. |
| The instance is rate limiting this client. |
| The instance did not answer, or the request timed out. |
| The response was not the expected document. Usually a wrong |
| Any other non-success status, with the status code in the message. |
Testing against your instance
npx @modelcontextprotocol/inspector node dist/index.jsThe MCP Inspector lists the tools and lets you call them by hand, which is the fastest way to confirm the URL and key are right.
Development
npm install
npm run typecheck
npm test
npm run buildThe unit tests cover the configuration parsing and the API v3 filter grammar. They make no network requests, so they run anywhere.
Limitations
Read-only by design. Creating or updating work packages is not implemented.
Attachments are not downloaded.
Time and cost entries, budgets, and the BCF endpoints are not exposed.
search_work_packagessorts by last update and pages once. A very large result set is truncated to the requested limit rather than paged through.
Related
opendesk-mcp connects a whole openDesk instance, including this server's OpenProject tools.
xwiki-mcp does the same for XWiki.
License
Apache License 2.0. See LICENSE.
This project is not affiliated with or endorsed by OpenProject GmbH. "OpenProject" is a trademark of its respective owner and is used here only to describe what this software connects to.
Available Tools
7 toolsget_current_userGet current userA
Identify the OpenProject account this server authenticates as. Call it first when a question says 'my' or 'me', then pass assignedToMe to search_work_packages.
Inputs: no named parameters.
get_work_packageGet work packageA
Read one work package in full, including its description, priority, author and progress. Get the id from search_work_packages first.
Inputs: id (required).
get_work_package_commentsGet work package commentsA
Read the comments on one work package, oldest first. Status changes without a comment are omitted.
Inputs: id (required), limit.
list_projectsList projectsA
List the projects visible to this account, with id, name, identifier and description. Pass a returned id as projectId to search_work_packages to scope a search to one project.
Inputs: limit, query.
list_statusesList statusesA
List the work package statuses configured on this instance. Useful when a question names a status and you need to know whether it exists.
Inputs: no named parameters.
list_typesList work package typesA
List the work package types configured on this instance, for example Task, Bug, Milestone.
Inputs: no named parameters.
search_work_packagesSearch work packagesA
Search work packages (tasks, bugs, milestones) by full text. Without a query it lists the most recently updated open ones. Returns id, subject, type, status, project, assignee and dates. Pass a returned id to get_work_package for the full description.
Inputs: limit, query, projectId, assignedToMe, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct resource or action: current user, projects, work-package search, single work package, comments, statuses, and types. There is no meaningful overlap between search_work_packages and get_work_package because one is full-text search and the other is retrieval by ID.
All tools follow a consistent verb_noun snake_case pattern: get_current_user, list_projects, search_work_packages, get_work_package, and so on. The one longer name, get_work_package_comments, still fits the established convention.
Seven tools is a well-scoped size for a read-oriented OpenProject integration. Each tool has a clear purpose and none are redundant, so the count feels intentional rather than padded or thin.
The surface is entirely read-only: it can search, view, and list work packages, projects, comments, statuses, and types, but it cannot create, update, transition, or comment on work packages. For a project-management domain this is a significant functional gap that prevents agents from completing common workflows.
Related MCP Connectors
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Unofficial community ClickUp MCP via personal API token. Not affiliated with ClickUp.
CheckFlow’s own MCP server. Ask your AI assistant to start checklists, complete tasks, fill in fields, build templates from written procedures and update Data Sets in CheckFlow. Sign in with your CheckFlow account, or use an API key.
Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
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
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to access and manage OpenProject projects, work packages, attachments, time tracking, wiki, and users via the OpenProject API v3.-
- AlicenseNot gradedqualityCmaintenanceEnables MCP-capable assistants to read files, work packages, and wiki pages from an openDesk instance using the account's existing permissions.1Apache 2.0