@nicola5tor/openproject-timelog
@nicola5tor/openproject-timelog
MCP 서버(Model Context Protocol)는 로컬 시간 기록부를 관리하고 이를 OpenProject(API v3)와 동기화합니다. Claude Desktop(또는 다른 MCP 클라이언트)에서 자연어로 작업을 기록하고, 검토한 후 준비가 되면 OpenProject에 업로드하세요.
Transport: stdio
로컬 저장소:
~/.openproject-timelog/entries.jsonConfig: 환경 변수
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 auth로 인증합니다.
로컬 전용 도구(
log_entry,list_entries,edit_entry,assign_entry,delete_entry,clear_sent)는 OpenProject를 구성하지 않아도 작동합니다. 조회 및 업로드 도구는OPENPROJECT_URL과OPENPROJECT_API_KEY가 필요합니다.
도구
로컬 기록부
도구 | 설명 |
| 시간 항목을 등록합니다. Params: |
| 항목을 상태별로 나열합니다. Param: |
| 대기 중인 항목을 편집합니다. Params: |
| 여러 항목에 work package를 할당합니다. Params: |
| 대기 중인 항목을 삭제합니다. Param: |
| 이미 전송된( |
OpenProject 조회
도구 | 설명 |
| 프로젝트를 나열합니다 ( |
| 작업을 나열합니다. 선택적 Params: |
| time entry 활동을 나열합니다 ( |
| 이미 등록된 시간을 조회합니다. 선택적 Params: |
동기화
도구 | 설명 |
| 항목을 OpenProject에 업로드합니다. 선택적 Param |
* = 필수.
동작 참고 사항
로컬 id는 UUID v4입니다. 시간은 십진수(
1.5= 1h30m)로 저장되며 업로드 시 ISO 8601 기간(PT1H30M)으로 변환됩니다.항목의
projectId는 지정하지 않으면 업로드 시 work package에서 파생됩니다 (OpenProject에 대한 추가 호출).JSON 파일은 원자적으로(임시 파일 + rename) 작성되며, 손상을 방지하기 위해 작업이 직렬화됩니다.
네트워크/자격 증명/권한 오류는 서버를 중단시키지 않고 도구 응답에서 읽을 수 있는 메시지로 반환됩니다.
대화형 사용 예시
사용자: 오늘 로그인 수정 작업 1234에 2시간 기록해 줘. Claude: (
log_entry를 description="로그인 수정", hours=2, workPackageId=1234로 호출)
사용자: 회의 45분 기록해 줘, 작업은 나중에 정할게. Claude: (
log_entrydescription="회의", hours=0.75) — 할당 대기 상태로 남습니다.
사용자: 업로드 대기 중인 항목이 뭐가 있어? Claude: (
list_entriesstatus="pending")
사용자: 그 회의 두 개에 작업 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
Available Tools
16 toolsassign_entryAsignar work package a entriesB
Asigna un workPackageId a una o varias entries pendientes (por sus ids).
Inputs: entryIds (required), workPackageId (required).
clear_sentLimpiar entries enviadasA
Borra de la bitácora local todas las entries con status 'sent'.
Inputs: no named parameters.
delete_entryBorrar una entrada pendienteC
Borra una entry con status 'pending'.
Inputs: id (required).
edit_entryEditar una entrada pendienteC
Edita campos de una entry con status 'pending'. Solo se aplican los campos indicados.
Inputs: id (required), hours, endTime, spentOn, +6 more.
get_activitiesListar actividades de time entryA
Obtiene las actividades disponibles para registrar tiempo. Las actividades son por-proyecto: si pasas workPackageId se listan las de ese contexto; si no, se usa cualquier work package accesible.
Inputs: workPackageId.
get_projectsListar proyectos de OpenProjectB
Obtiene los proyectos disponibles en OpenProject.
Inputs: no named parameters.
get_time_entriesConsultar horas registradas en OpenProjectB
Consulta time entries ya registradas en OpenProject, con filtros opcionales.
Inputs: to, from, projectId, workPackageId.
get_work_packagesListar work packages de OpenProjectB
Obtiene tareas/work packages, opcionalmente filtradas por proyecto, status o assignee.
Inputs: status, assignee, projectId.
list_entriesListar entradas de la bitácoraA
Lista las entries de la bitácora local filtrando por status, opcionalmente agrupadas.
Inputs: status, groupBy, onlyActiveProject.
log_entryRegistrar entrada en la bitácoraB
Registra una entrada de horas en la bitácora local. Si no se indica workPackageId queda pendiente de asignar (con assign_entry).
Inputs: hours (required), description (required), endTime, spentOn, +5 more.
project_createCrear proyecto localA
Crea un proyecto local (workspace) para agrupar horas. Define valores por defecto (proyecto de OpenProject, work package y actividad) que se aplican al registrar horas mientras esté activo. Si es el primer proyecto, queda activo automáticamente. Se comparte entre Claude Code y Claude Desktop.
Inputs: name (required), defaultActivityId, defaultWorkPackageId, openprojectProjectId.
project_deleteBorrar un proyecto localA
Borra un proyecto local. No borra sus entries: solo las desvincula del proyecto.
Inputs: id (required).
project_listListar proyectos localesA
Lista los proyectos locales (workspaces) y marca cuál está activo. Distinto de get_projects, que consulta los proyectos de OpenProject.
Inputs: no named parameters.
project_useActivar un proyecto localA
Marca un proyecto local como activo. Las nuevas horas (log_entry) se crean dentro de él y toman sus valores por defecto.
Inputs: id (required).
render_galleryGenerar galería visual de la bitácoraA
Genera un HTML autocontenido (stats, filtros por grupo y tabla) con las entries de la bitácora y lo escribe en un fichero temporal. Devuelve la ruta del fichero (no el HTML) para publicarla con la tool Artifact, evitando gastar tokens en volcar el HTML en la respuesta.
Inputs: title, status, groupBy.
upload_entriesSubir entries a OpenProjectA
Sube a OpenProject las entries indicadas (o todas las pending con workPackageId si se omite entryIds). Cada entry necesita workPackageId y activityId.
Inputs: entryIds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Tools are mostly distinct: local entry operations, remote OpenProject reads, upload/reporting, and workspace project management occupy clear separate roles. The get_projects vs project_list pair is the only potential ambiguity, though descriptions explicitly distinguish remote projects from local workspaces.
The majority follow a clear verb_noun snake_case pattern (get_work_packages, log_entry, upload_entries). The project_* group (project_create, project_list, project_use, project_delete) reverses the order to noun_verb, which is internally consistent but a visible deviation.
16 tools is at the upper edge for a focused server, but the scope includes local entries, OpenProject synchronization, remote querying, reporting, and local workspace management. Each tool has an identifiable purpose, so none feels redundant, though the surface is slightly heavy.
The core local-entry lifecycle is complete: create, list, edit, delete, assign, upload, and clean up. Minor gaps such as no way to update local project defaults and no remote time-entry edit/delete are present but don't block the main log-and-upload workflow.
Maintenance
Related MCP Connectors
timesheet.io MCP server - manage timers, projects, tasks and reports
MCP server for MOCO business software: time tracking, projects, budgets, and invoicing via API
MCP server for generating rough-draft project plans from natural-language prompts.
Toggl 2.0 MCP server for tasks, projects, time entries, and workspace operations.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn 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
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server for integrating with OpenProject API, enabling AI assistants to manage projects, work packages, time tracking, and users.2MIT
- 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