Skip to main content
Glama
OpenProject MCP Server

OpenProject MCP Server

by billmal071

OpenProject MCP Server

A TypeScript MCP (Model Context Protocol) server for OpenProject that enables AI assistants like Claude Code to interact with your OpenProject instance.

Features

  • Projects — List projects, get project summaries with status/assignee breakdowns

  • Work Packages — List, create, update work packages with filtering (assignee, status, type, priority, search)

  • Comments — Add and list comments on work packages

  • Users — Get current user, list users, view team workload distribution

  • Relations — Create, list, and delete work package relations (follows, blocks, relates, etc.)

  • Time Entries — Log time, list/update/delete time entries with date and user filters

  • Metadata — List statuses, types, and priorities with caching

Related MCP server: Tonle OpenProject MCP Server

Setup

Prerequisites

  • Node.js 18+

  • pnpm (or npm/yarn)

  • An OpenProject instance with API access

Installation

git clone https://github.com/billmal071/openproject-mcp-server.git
cd openproject-mcp-server
pnpm install
pnpm build

Configuration

Copy the example env file and fill in your OpenProject credentials:

cp .env.example .env
OPENPROJECT_BASE_URL=https://your-openproject-instance.com
OPENPROJECT_API_KEY=your-api-key-here

To get an API key, go to your OpenProject profile > My Account > Access Tokens > API.

Add to Claude Code

Add this to your Claude Code MCP settings (~/.claude/settings.json or project-level):

{
  "mcpServers": {
    "openproject": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/openproject-mcp-server/dist/index.js"],
      "env": {
        "OPENPROJECT_BASE_URL": "https://your-openproject-instance.com",
        "OPENPROJECT_API_KEY": "your-api-key-here"
      }
    }
  }
}

Available Tools

Tool

Description

get_me

Get the authenticated user's profile

list_projects

List all projects

get_project_summary

Get work package counts by status, assignee, and overdue items

list_work_packages

List work packages with filters (assignee, status, type, priority, search)

get_work_package

Get detailed info about a specific work package

create_work_package

Create a new work package

update_work_package

Update an existing work package (status, assignee, dates, etc.)

add_comment

Add a comment to a work package

list_comments

List all comments on a work package

list_users

List users, optionally filtered by email

get_team_workload

Get workload distribution across team members

create_relation

Create a relation between two work packages

list_relations

List all relations for a work package

delete_relation

Delete a relation

log_time

Log time spent on a work package

list_time_entries

List time entries with filters

update_time_entry

Update a time entry

delete_time_entry

Delete a time entry

list_statuses

List all available statuses

list_types

List all work package types

list_priorities

List all priorities

Architecture

src/
  index.ts          # MCP server setup and tool registration
  client.ts         # OpenProject API client (HAL+JSON, pagination, error handling)
  cache.ts          # In-memory TTL cache for metadata
  types.ts          # TypeScript interfaces for OpenProject entities
  tools/
    metadata.ts     # Status, type, priority tools
    projects.ts     # Project listing and summary
    work-packages.ts # Work package CRUD with filtering
    comments.ts     # Comment management
    users.ts        # User and workload tools
    relations.ts    # Work package relation management
    time-entries.ts # Time tracking tools

License

MIT

Available Tools

21 tools
add_commentC

Add a comment to a work package

Inputs: body (required), work_package_id (required).

create_relationC

Create a relation between two work packages

Inputs: type (required), to_id (required), from_id (required).

create_work_packageC

Create a new work package in a project

Inputs: subject (required), project_id (required), type, status, +7 more.

delete_relationB

Delete a relation between work packages

Inputs: relation_id (required).

delete_time_entryD

Delete a time entry

Inputs: time_entry_id (required).

get_meB

Get the current authenticated user profile

Inputs: no named parameters.

get_project_summaryA

Get a summary of work packages for a project including counts by status, assignee, and overdue items

Inputs: project_id (required).

get_team_workloadC

Get workload distribution across team members for a project

Inputs: project_id (required).

get_work_packageB

Get detailed information about a specific work package

Inputs: work_package_id (required).

list_commentsC

List all comments on a work package

Inputs: work_package_id (required).

list_prioritiesC

List all available work package priorities

Inputs: refresh.

list_projectsA

List all projects

Inputs: no named parameters.

list_relationsB

List all relations for a work package

Inputs: work_package_id (required).

list_statusesC

List all available work package statuses

Inputs: refresh.

list_time_entriesB

List time entries with optional filters for work package, user, and date range

Inputs: to, from, user_id, work_package_id.

list_typesC

List all available work package types

Inputs: refresh.

list_usersB

List users, optionally filtered by email address

Inputs: email.

list_work_packagesB

List work packages in a project with optional filters for assignee, status, type, priority, and search

Inputs: project_id (required), type, search, status, +5 more.

log_timeC

Log time spent on a work package

Inputs: hours (required), work_package_id (required), comment, spent_on, +1 more.

update_time_entryC

Update an existing time entry

Inputs: time_entry_id (required), hours, comment, spent_on, +1 more.

update_work_packageC

Update an existing work package

Inputs: work_package_id (required), type, status, subject, +8 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 21 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: metadata lists, project summaries, work package CRUD, comments, relations, time entries, and user/workload queries are clearly separated. The few potentially adjacent tools, such as list_work_packages vs get_project_summary, have distinct outputs and use cases.

    Naming Consistency5/5

    All tools use snake_case with a predictable verb_noun pattern such as list_projects, create_work_package, update_time_entry, and delete_relation. Minor entries like get_me are still readable and consistent with the overall convention.

    Tool Count4/5

    At 21 tools the server is slightly above the ideal compact range, but the breadth matches a broad project-management domain spanning work packages, time tracking, relations, projects, users, and metadata. Each tool appears to serve a real operation rather than padding the surface.

    Completeness4/5

    Core workflows are well covered: work package list/get/create/update, comments, relations, time entry lifecycle, metadata, projects, and users. Some gaps remain, notably no delete_work_package and no update/delete for comments, but these are relatively minor for typical agent workflows.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      5
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with OpenProject installations for comprehensive project management, including creating projects and work packages, managing users and assignments, creating dependencies, and generating Gantt charts through natural language commands.
      15
      -
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI assistants to manage OpenProject work packages, projects, and time tracking. It provides comprehensive tools for creating, updating, and querying tasks and project metadata through the OpenProject API.
      11
      37 npm
      1
      MIT