Skip to main content
Glama
redmine-mcp-server
by jengros

jengros Redmine MCP

독립 유지보수 저장소: https://github.com/jengros/redmine-mcp-server

원본: onozaty/redmine-mcp-server. 원본 저작권 및 MIT 라이선스를 유지합니다. npm에 게시된 원본 패키지는 변경하지 않습니다.

추가 기능: 일감 수정과 소요시간 기록을 한 번에

기존 updateIssue의 bodyParams에 선택 항목 time_entry를 추가했습니다. 댓글, 상태, 담당자, 소요시간을 한 번의 PUT /issues/{id}.json으로 전달합니다. createTimeEntry를 추가 호출하지 않으며, time_entry가 없으면 기존 호출과 같습니다.

{
  "pathParams": { "format": "json", "issueId": 123 },
  "bodyParams": {
    "issue": { "notes": "작업 완료", "status_id": 3, "assigned_to_id": 7 },
    "time_entry": { "hours": 1, "activity_id": 9, "spent_on": "2026-09-10" }
  }
}

위 ID와 날짜는 예시입니다. 상태·담당자·활동은 대상 서버에서 확인한 값을 사용합니다. 담당자를 등록자로 변경하는 등 업무 규칙을 도구에 자동 적용하지 않습니다. 생략한 날짜·활동은 Redmine 서버 기본 처리에 따르며, 활동이 필수인 서버는 유효한 ID를 지정해야 합니다.

Redmine의 일감 수정 컨트롤러가 최상위 time_entry를 처리하는 서버에서 사용합니다. 공식 구현의 save_issue_with_child_records가 일감·시간 기록을 함께 저장합니다. 서버 버전·플러그인·권한에 따라 동작이 달라질 수 있고, 시간 기록 권한이 없으면 서버가 해당 항목을 무시할 수 있습니다. 따라서 성공 응답 후 일감 댓글/상태/담당자와 시간 기록을 각각 재조회해야 합니다. 이 도구는 검증 GET을 자동 수행하거나 서버 트랜잭션을 보장하지 않습니다. HTTP 오류는 MCP 오류로 반환하며 응답 유실 시 쓰기를 자동 재시도하지 않습니다. 응답 유실 시 실제 저장 여부를 먼저 확인해 중복 댓글·시간 기록을 방지합니다.

Related MCP server: Redmine MCP Server

npm 패키지 실행

배포된 버전은 다음 명령으로 실행합니다.

npx -y @jengros/redmine-mcp-server

MCP 설정은 command를 npx, args를 ["-y", "@jengros/redmine-mcp-server"]로 지정합니다. 기존 환경 변수와 인증정보는 유지합니다. 버전 생략 시 npm의 latest 태그를 사용하며, 실행 중인 MCP는 업데이트 후 재시작합니다.

이 수정본 빌드 및 실행

Node.js 22 이상과 저장소에 지정된 pnpm 10.20.0을 사용합니다. Windows에서도 같은 명령으로 빌드할 수 있습니다.

npx --yes pnpm@10.20.0 install --frozen-lockfile
npm run build
npm test

MCP 연결에서 command는 node, args는 빌드한 dist/server.mjs의 절대 경로로 지정합니다. 기존 환경 변수 REDMINE_URL, REDMINE_API_KEY와 읽기/쓰기 설정은 유지합니다. 실제 인증키·서버 정보는 저장소에 넣지 않습니다. GitHub에서 소스만 받은 상태로 npx github:...를 실행하는 방식은 지원하지 않습니다. 먼저 위 명령으로 빌드합니다.

유지보수와 검증

  • origin: 이 개인 저장소, upstream: 원본 저장소로 관리합니다.

  • API 변경은 redmine-openapi.yaml에서 수정합니다. src/__generated__와 dist는 빌드 결과이므로 직접 관리하지 않습니다.

  • 원본 변경을 가져올 때 스키마·커스텀 핸들러·빌드 스크립트의 차이를 보존하고 빌드/테스트 후 반영합니다.

  • CI는 Windows와 Linux에서 빌드 및 테스트합니다.

  • 테스트는 빌드된 MCP와 로컬 모의 HTTP 서버 사이에서 수행하며 실제 Redmine/인증키를 사용하지 않습니다.

  • 단일 PUT, 댓글 전용 호출, 최소 시간 입력, 잘못된 입력, HTTP 오류, 응답 유실, 읽기 전용/도구 필터를 검증합니다.

  • 실제 Redmine 서버에서의 통합 저장과 조회 검증은 별도로 필요합니다.

환경 변수

변수

용도

REDMINE_URL

필수. Redmine 기본 URL

REDMINE_API_KEY

필수. 사용할 계정의 API 키

REDMINE_MCP_READ_ONLY

true이면 쓰기 도구 제외. 기본은 쓰기 허용

REDMINE_MCP_TOOLS_ALLOW_PATTERN

허용할 도구 이름의 정규식. 생략하면 제한 없음

REDMINE_MCP_TOOLS_DENY_PATTERN

제외할 도구 이름의 정규식. 허용 패턴보다 우선

읽기 전용 설정과 도구 필터를 함께 적용할 수 있습니다. 인증정보는 MCP 클라이언트에서 관리합니다.

주요 기능과 코드 구조

일감·프로젝트·사용자·시간 기록·위키 등 Redmine API 도구와 첨부 업로드·다운로드 도구를 제공합니다. 각 도구는 readOnlyHint를 제공하며, src/server.ts에서 등록과 필터를 적용합니다.

  • redmine-openapi.yaml → orval.config.ts → 자동 생성 코드 → post-generate.js 순서로 API 코드를 생성합니다.

  • src/issue/update-issue-handler.ts: 시간 기록을 포함한 일감 수정과 HTTP 오류 처리.

  • src/attachment/, src/schemas/attachment.ts, src/types/attachment.ts: 첨부 처리 구현·스키마·타입.

  • src/config.ts: 환경 변수와 도구 필터.

  • src/api/custom-fetch.ts: Redmine HTTP 요청.

  • test/update-issue.test.mjs: 빌드된 MCP와 모의 서버 사이의 통합 테스트.

자동 생성 코드와 dist를 직접 수정하지 않고 스키마 또는 원본 소스를 수정한 뒤 빌드합니다.

라이선스와 출처

MIT 라이선스. 원저작자 onozaty의 저작권 고지는 LICENSE에 유지합니다. 원본 프로젝트: https://github.com/onozaty/redmine-mcp-server OpenAPI 원본: https://github.com/d-yoshi/redmine-openapi 코드 생성 도구: https://orval.dev/

Available Tools

90 tools
addRelatedIssueD

Add related issue

Inputs: bodyParams (required), pathParams (required).

addUserToGroupD

Add user to group

Inputs: bodyParams (required), pathParams (required).

addWatcherC

Add watcher

Inputs: bodyParams (required), pathParams (required).

archiveProjectD

Archive project

Inputs: pathParams (required).

closeProjectD

Close project

Inputs: pathParams (required).

createFileD

Create file

Inputs: bodyParams (required), pathParams (required).

createGroupD

Create group

Inputs: bodyParams (required), pathParams (required).

createIssueD

Create issue

Inputs: bodyParams (required), pathParams (required).

createIssueCategoryC

Create issue category

Inputs: bodyParams (required), pathParams (required).

createIssueRelationC

Create issue relation

Inputs: bodyParams (required), pathParams (required).

createMembershipC

Create membership

Inputs: bodyParams (required), pathParams (required).

createNewsD

Create news

Inputs: bodyParams (required), pathParams (required).

createProjectD

Create project

Inputs: bodyParams (required), pathParams (required).

createTimeEntryC

Create time entry

Inputs: bodyParams (required), pathParams (required).

createUserC

Create user

Inputs: bodyParams (required), pathParams (required).

createVersionD

Create version

Inputs: bodyParams (required), pathParams (required).

deleteAttachmentC

Delete attachment

Inputs: pathParams (required).

deleteGroupD

Delete group

Inputs: pathParams (required).

deleteIssueD

Delete issue

Inputs: pathParams (required).

deleteIssueCategoryD

Delete issue category

Inputs: pathParams (required), queryParams (required).

deleteIssueRelationC

Delete issue relation

Inputs: pathParams (required).

deleteMembershipC

Delete membership

Inputs: pathParams (required).

deleteNewsC

Delete news

Inputs: pathParams (required).

deleteProjectD

Delete project

Inputs: pathParams (required).

deleteTimeEntryC

Delete time entry

Inputs: pathParams (required).

deleteUserC

Delete user

Inputs: pathParams (required).

deleteVersionC

Delete version

Inputs: pathParams (required).

deleteWikiPageC

Delete wiki page

Inputs: pathParams (required).

downloadAttachmentAsBase64ContentB
Read-only

Download attachment file from Redmine as Base64 encoded content

Inputs: pathParams (required).

downloadAttachmentToLocalFileA
Read-only

Download attachment file from Redmine to local file system

Inputs: pathParams (required).

downloadThumbnailAsBase64ContentA
Read-only

Download thumbnail from Redmine as Base64 encoded content

Inputs: pathParams (required).

downloadThumbnailToLocalFileC
Read-only

Download thumbnail from Redmine to local file system

Inputs: pathParams (required).

getAttachmentD
Read-only

Show attachment

Inputs: pathParams (required).

getCurrentUserC
Read-only

Show current user

Inputs: pathParams (required), queryParams (required).

getCustomFieldsC
Read-only

List custom fields

Inputs: pathParams (required).

getDocumentCategoriesC
Read-only

List document categories

Inputs: pathParams (required).

getFilesC
Read-only

List files

Inputs: pathParams (required).

getGroupD
Read-only

Show group

Inputs: pathParams (required), queryParams (required).

getGroupsC
Read-only

List groups

Inputs: pathParams (required).

getIssueD
Read-only

Show issue

Inputs: pathParams (required), queryParams (required).

getIssueCategoriesC
Read-only

List issue categories

Inputs: pathParams (required), queryParams (required).

getIssueCategoryD
Read-only

Show issue category

Inputs: pathParams (required).

getIssuePrioritiesC
Read-only

List issue priorities

Inputs: pathParams (required).

getIssueRelationC
Read-only

Show issue relation

Inputs: pathParams (required).

getIssueRelationsC
Read-only

List issue relations

Inputs: pathParams (required).

getIssuesC
Read-only

List issues

Inputs: pathParams (required), queryParams (required).

getIssueStatusesC
Read-only

List issue statuses

Inputs: pathParams (required).

getMembershipD
Read-only

Show membership

Inputs: pathParams (required).

getMembershipsC
Read-only

List memberships

Inputs: pathParams (required), queryParams (required).

getMyAccountC
Read-only

Show my account

Inputs: pathParams (required).

getNewsD
Read-only

Show news

Inputs: pathParams (required), queryParams (required).

getNewsListD
Read-only

List news

Inputs: pathParams (required), queryParams (required).

getNewsListByProjectC
Read-only

List news by project

Inputs: pathParams (required), queryParams (required).

getProjectD
Read-only

Show project

Inputs: pathParams (required), queryParams (required).

getProjectsC
Read-only

List projects

Inputs: pathParams (required), queryParams (required).

getQueriesD
Read-only

List queries

Inputs: pathParams (required), queryParams (required).

getRoleD
Read-only

Show role

Inputs: pathParams (required).

getRolesC
Read-only

List roles

Inputs: pathParams (required).

getTimeEntriesC
Read-only

List time entries

Inputs: pathParams (required), queryParams (required).

getTimeEntryC
Read-only

Show time entry

Inputs: pathParams (required).

getTimeEntryActivitiesD
Read-only

List time entry activities

Inputs: pathParams (required).

getTrackersC
Read-only

List trackers

Inputs: pathParams (required).

getUserD
Read-only

Show user

Inputs: pathParams (required), queryParams (required).

getUsersC
Read-only

List users

Inputs: pathParams (required), queryParams (required).

getVersionsD
Read-only

Show version

Inputs: pathParams (required).

getVersionsByProjectC
Read-only

List versions by project

Inputs: pathParams (required), queryParams (required).

getWikiPageD
Read-only

Show wiki page

Inputs: pathParams (required), queryParams (required).

getWikiPageByVersionB
Read-only

Show wiki page by specific version

Inputs: pathParams (required), queryParams (required).

getWikiPagesB
Read-only

List wiki pages

Inputs: pathParams (required).

removeRelatedIssueC

Remove related issue

Inputs: pathParams (required).

removeUserFromGroupC

Remove user from group

Inputs: pathParams (required).

removeWatcherD

Remove watcher

Inputs: pathParams (required).

reopenProjectD

Reopen project

Inputs: pathParams (required).

unarchiveProjectD

Unarchive project

Inputs: pathParams (required).

updateAttachmentC

Update attachment

Inputs: bodyParams (required), pathParams (required).

updateGroupC

Update group

Inputs: bodyParams (required), pathParams (required).

updateIssueA

Update issue; optionally save time_entry with notes, status and assignee in one request. Verify both issue and time entry after saving.

Inputs: bodyParams (required), pathParams (required).

updateIssueCategoryD

Update issue category

Inputs: bodyParams (required), pathParams (required).

updateJournalC

Update journal

Inputs: bodyParams (required), pathParams (required).

updateMembershipC

Update membership

Inputs: bodyParams (required), pathParams (required).

updateMyAccountC

Update my account

Inputs: bodyParams (required), pathParams (required).

updateNewsD

Update news

Inputs: bodyParams (required), pathParams (required).

updateProjectD

Update project

Inputs: bodyParams (required), pathParams (required).

updateTimeEntryD

Update time entry

Inputs: bodyParams (required), pathParams (required).

updateUserD

Update user

Inputs: bodyParams (required), pathParams (required).

updateVersionD

Update version

Inputs: bodyParams (required), pathParams (required).

updateWikiPageD

Create or update wiki page

Inputs: bodyParams (required), pathParams (required).

uploadAttachmentFromBase64ContentA

Upload attachment file from Base64 encoded content to Redmine and get upload token

Inputs: pathParams (required).

uploadAttachmentFromLocalFileC

Upload attachment file from local file system to Redmine and get upload token

Inputs: pathParams (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    D1.9/5.0

    Scored across 90 tools

    Disambiguation2/5

    Most tools follow clean resource+action pairs, but several boundaries are unclear: getCurrentUser and getMyAccount overlap, addRelatedIssue/removeRelatedIssue largely duplicate create/delete issue relation, and getVersions has a list-style name but is actually a Show version action. These overlaps will cause agents to misselect tools.

    Naming Consistency3/5

    The overall get/create/update/delete + resource naming scheme is consistent and readable, but list/show conventions are inconsistent: list tools usually use plural nouns (getIssues, getGroups) yet some use List suffixes (getNewsList, getNewsListByProject) and one use singular/plural mismatch goes the wrong way (getVersions is actually a show). Despite these deviations, the naming is still largely predictable.

    Tool Count1/5

    With 90 tools—many being full CRUD sets across roughly two dozen resources—the surface far exceeds what an agent needs to manage Blender surfaces. This is well beyond the 50-tool extreme mismatched threshold and will overwhelm tool selection.

    Completeness4/5

    The server covers most major Redmine domains at near-full lifecycle: issues, projects, users, groups, roles, memberships, time entries, wiki, news, versions, attachments, files, categories, relations, and custom fields. Some gaps exist, such as no document resource management, and uploads are token-based rather than directly attachable in one step, but these are relatively minor workarounds.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Enables AI assistants to interact with Redmine project management systems, providing comprehensive access to issues, projects, time tracking, users, and wiki pages through natural language commands.
      33
      59 npm
      1
      Apache 2.0
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to interact with Redmine API for managing tickets, projects, users, and time entries. Supports comprehensive operations including issue creation/updates, project management, time logging, and search with dual authentication (Basic Auth + API Key).
      14
      36 npm
      MIT