@nicola5tor/openproject-timelog
@nicola5tor/openproject-timelog
MCPサーバー(Model Context Protocol)で、ローカルの時間記録を管理し、OpenProject(API v3)と同期します。Claude Desktop(または他のMCPクライアント)から自然言語で作業を記録し、確認して、準備ができたらOpenProjectにアップロードします。
トランスポート: stdio
ローカルストレージ:
~/.openproject-timelog/entries.json設定: 環境変数
OPENPROJECT_URLとOPENPROJECT_API_KEY
インストール
グローバルにインストールする必要はありません。サーバーは npx で実行されます。
# probarlo directamente
npx @nicola5tor/openproject-timelogまたはプロジェクトにインストールする場合:
npm install @nicola5tor/openproject-timelog
# o
pnpm add @nicola5tor/openproject-timelogRelated MCP server: OpenProject MCP Server
Claude Desktopでの設定
設定ファイル(claude_desktop_config.json)を編集し、mcpServers の下にサーバーを追加します:
{
"mcpServers": {
"openproject-timelog": {
"command": "npx",
"args": ["-y", "@nicola5tor/openproject-timelog"],
"env": {
"OPENPROJECT_URL": "https://tu-openproject.example.com",
"OPENPROJECT_API_KEY": "TU_API_KEY"
}
}
}
}保存後にClaude Desktopを再起動してください。
OpenProjectのAPIキーを取得する方法
OpenProjectで: 自分のアカウント → Access tokens → API からキーを生成します。サーバーはリテラルなユーザー名 apikey とあなたのキーをパスワードとして使用してBasic認証を行います。
ローカルのみのツール(
log_entry,list_entries,edit_entry,assign_entry,delete_entry,clear_sent)はOpenProjectを設定しなくても動作します。クエリおよびアップロードのツールにはOPENPROJECT_URLとOPENPROJECT_API_KEYが必要です。
ツール
ローカル記録
Tool | 説明 |
| 時間エントリを記録します。パラメータ: |
| エントリをステータスで一覧表示します。パラメータ: |
| 保留中のエントリを編集します。パラメータ: |
| 複数のエントリにワークパッケージを割り当てます。パラメータ: |
| 保留中のエントリを削除します。パラメータ: |
| ローカル記録から送信済み( |
OpenProjectのクエリ
Tool | 説明 |
| プロジェクトを一覧表示します( |
| タスクを一覧表示します。オプションのパラメータ: |
| タイムエントリのアクティビティを一覧表示します( |
| すでに登録された時間を照会します。オプションのパラメータ: |
同期
Tool | 説明 |
| エントリをOpenProjectにアップロードします。オプションのパラメータ |
* = 必須。
動作に関する注意事項
ローカルIDはUUID v4です。時間は10進数(
1.5= 1時間30分)で保存され、アップロード時にISO 8601の期間(PT1H30M)に変換されます。エントリの
projectIdは、指定されない場合、アップロード時にワークパッケージから推定されます(OpenProjectへの追加呼び出し)。JSONファイルはアトミックに書き込まれ(一時ファイル+リネーム)、破損を防ぐために操作は直列化されます。
ネットワーク/資格情報/権限のエラーは、サーバーを停止させることなく、ツールの応答で読み取り可能なメッセージとして返されます。
会話での使用例
あなた: 今日のログイン修正の2時間を記録して、タスク1234。 Claude: (
log_entryを description="ログイン修正", hours=2, workPackageId=1234 で呼び出し)
あなた: 45分の会議を記録しておいて、タスクは後で設定するから。 Claude: (
log_entrydescription="会議", hours=0.75) — 未割り当てのまま。
あなた: 何をアップロード待ちにしていますか? Claude: (
list_entriesstatus="pending")
あなた: その2つの会議にタスク1234を割り当てて。 Claude: (
assign_entryentryIds=[...], workPackageId=1234)
あなた: どんなアクティビティがありますか?全部に "Development" を設定してアップロードして。 Claude: (
get_activities→edit_entry/assignで activityId を指定 →upload_entries)
あなた: すでにアップロードされたものをクリーンアップして。 Claude: (
clear_sent)
開発
npm install # instala deps y compila (prepare -> build)
npm run build # compila TypeScript a dist/
npm start # ejecuta dist/index.js構造:
openproject-timelog/
├── src/
│ ├── index.ts # entry point, setup MCP y registro de tools
│ ├── store.ts # CRUD bitácora local (JSON atómico)
│ ├── openproject.ts # cliente API OpenProject v3
│ └── types.ts # interfaces/types
├── package.json
├── tsconfig.json
└── README.mdライセンス
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server for Productive.io that enables users to log time, inspect projects, and manage time entries using natural language commands. It features fuzzy project matching, local caching, and remembers default services per project for streamlined time tracking.14MIT
- FlicenseNot gradedqualityDmaintenanceA comprehensive MCP server for integrating with OpenProject API, enabling AI assistants to manage projects, work packages, time tracking, and users.12
- FlicenseNot gradedqualityBmaintenanceAn MCP server that enables AI assistants to interact with OpenProject, listing projects and work packages and managing resources through natural language.
- FlicenseNot gradedqualityDmaintenanceAn MCP server that connects Claude Desktop to your OpenProject instance, allowing you to manage projects, tasks, and time entries through natural language.
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
A MCP server built for developers enabling Git based project management with project and personal…
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NicoLa5Tor/openMcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server