openproject-local-mcp
Provides tools for interacting with OpenProject's API v3, enabling listing projects, searching, retrieving, and creating work packages, as well as adding comments, with read-only mode by default and optional write capabilities.
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-local-mcp show my assigned 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-local-mcp
OpenProject API v3をMCPツールとして公開するローカルSTDIOサーバーです。Codex CLIやGitHub Copilot CLIなどのMCPクライアントから、プロジェクトとWork Packageを参照できます。
方針
OpenProjectは直接クラウド側へ公開せず、開発者PC上のローカルMCPサーバーからAPI v3へ接続します。
APIトークンは専用ユーザーの最小権限トークンを使います。
初期状態では読み取り中心です。
create_work_packageとadd_work_package_commentはOPENPROJECT_ENABLE_WRITE=trueの場合だけ動きます。OpenProject固有の名称、HAL+JSON、フィルター形式をそのまま扱います。
Related MCP server: OpenProject CE MCP
機能
プロジェクト一覧
Work Packageの検索、詳細取得、自分の担当項目の取得
明示的に有効化した場合のみ、Work Package作成とコメント追加
Bearer認証(標準)とAPIトークンのBasic認証
セットアップ
npm install
npm run build.env.exampleを参考に、MCPクライアントから環境変数を渡してください。.envはローカル開発専用で、Gitへコミットしないでください。
OPENPROJECT_URL=https://openproject.example.local
OPENPROJECT_API_TOKEN=xxxxxxxxxxxxxxxx
OPENPROJECT_AUTH_MODE=bearer
OPENPROJECT_ENABLE_WRITE=falseOPENPROJECT_URLにはインスタンスのルートURLを指定します。/api/v3は付けません。現行OpenProjectではAPIトークンをBearerまたはBasic認証で利用できます。既定値はbearerです。
MCPクライアント設定
Codex CLI
[mcp_servers.openproject]
command = "node"
args = ["/path/to/openproject-local-mcp/dist/index.js"]
default_tools_approval_mode = "prompt"
[mcp_servers.openproject.env]
OPENPROJECT_URL = "https://openproject.example.local"
OPENPROJECT_API_TOKEN = "xxxxxxxxxxxxxxxx"
OPENPROJECT_AUTH_MODE = "bearer"
OPENPROJECT_ENABLE_WRITE = "false"GitHub Copilot CLI
copilot mcp add openproject \
--env OPENPROJECT_URL=https://openproject.example.local \
--env OPENPROJECT_API_TOKEN=xxxxxxxxxxxxxxxx \
--env OPENPROJECT_ENABLE_WRITE=false \
-- node /path/to/openproject-local-mcp/dist/index.js提供ツール
list_projects: APIユーザーから見えるプロジェクト一覧search_work_packages: 一般的な条件またはAPI v3のカスタムフィルターによる検索get_work_package: 数値IDによる詳細取得get_my_work_packages: APIユーザーに割り当てられたWork Packagecreate_work_package: Work Package作成(書き込みの明示許可が必要)add_work_package_comment: コメント追加(書き込みの明示許可が必要)
Agent Skill
OpenProject MCPの使い分けと書き込み時の確認ルールをagent-skills/openproject-workflows/SKILL.mdに同梱しています。利用するエージェント環境の個人用Skillsディレクトリへ手動でコピーしてください。SkillにはAPIトークンや実URLを含めないでください。
OpenProjectのoffsetは件数ではなく、1から始まるページ番号です。custom_filtersは次の形式で指定できます。
[
{
"name": "status",
"operator": "=",
"values": ["5"]
}
]書き込み系を有効にする
OPENPROJECT_ENABLE_WRITE=truecreate_work_packageでは、OpenProjectが作成時に必要とするproject_id、type_id、subjectを必須にしています。
{
"project_id": 3,
"type_id": 1,
"subject": "ログイン画面のエラーを確認する",
"description": "再現手順と期待結果を整理する。"
}コメント追加例:
{
"id": 1234,
"comment": "調査を開始しました。再現条件を確認中です。"
}開発
npm run typecheck
npm run build
npm testテストではHTTP通信をモックし、実OpenProjectには接続しません。
セキュリティ
APIトークンは専用ユーザーの最小権限トークンを利用してください。
.envや実URLを含むMCPクライアント設定をコミットしないでください。書き込みツールは
OPENPROJECT_ENABLE_WRITE=trueを明示した場合だけ有効です。OpenProjectのAPIがHTTPSで利用できる環境ではHTTPSを使用してください。
詳細は設計メモを参照してください。
OpenProject API仕様:
ライセンス
MIT License
Available Tools
6 toolsadd_work_package_commentAdd OpenProject Work Package CommentB
Add a comment to a work package. Requires OPENPROJECT_ENABLE_WRITE=true.
Inputs: id (required), comment (required), notify, internal.
create_work_packageCreate OpenProject Work PackageB
Create a work package. Requires OPENPROJECT_ENABLE_WRITE=true.
Inputs: subject (required), type_id (required), project_id (required), notify, +7 more.
get_my_work_packagesGet My OpenProject Work PackagesC
Get work packages assigned to the configured OpenProject API user.
Inputs: offset, status, sort_by, page_size, +1 more.
get_work_packageGet OpenProject Work PackageB
Get a single OpenProject work package by numeric id.
Inputs: id (required).
list_projectsList OpenProject ProjectsC
List projects visible to the configured OpenProject API user.
Inputs: offset, sort_by, page_size, custom_filters.
search_work_packagesSearch OpenProject Work PackagesC
Search work packages with common OpenProject API v3 filters.
Inputs: text, offset, status, sort_by, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Most tools are clearly distinct: list_projects vs work package tools, and create/comment are unique actions. However, get_my_work_packages could potentially overlap with search_work_packages using an assignee filter, creating slight ambiguity.
All tool names follow a consistent verb_noun pattern (list, get, search, create, add), with get_my_work_packages being the only slight deviation but still within the pattern. No mixed conventions or chaotic naming.
With 6 tools, the server is well-scoped for an OpenProject integration, covering both projects and work packages without excessive fragmentation. The count is squarely in the ideal range.
The toolset provides basic work package lifecycle (create, get, search) and commenting, but lacks update and delete operations for work packages. Project creation is also missing, leaving notable gaps for full domain coverage.
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server for integrating with OpenProject API, enabling AI assistants to manage projects, work packages, time tracking, and users.2MIT
- AlicenseBqualityAmaintenanceAn MCP server that lets local AI agents read and manage OpenProject project data through structured, guarded tools, with write operations requiring explicit confirmation.147310 PyPI45MIT
- FlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI assistants to interact with OpenProject, listing projects and work packages and managing resources through natural language.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that connects Claude Desktop to your OpenProject instance, allowing you to manage projects, tasks, and time entries through natural language.MIT