Commit Graph

66 Commits

Author SHA1 Message Date
69e217b357 Fix GitLab fork function parameter handling
- Made owner property optional in GitLabForkParentSchema

- Made forked_from_project property optional in GitLabForkSchema

- Improved error handling in fork_repository MCP handler
2025-03-18 00:01:23 -07:00
c3e7f5afa6 Merge pull request #13 from chad-loder/fix-file-operations-parameters
Fix GitLab API parameter handling in create_or_update_file
2025-03-18 15:51:31 +09:00
6cb8e559e0 Fix create_or_update_file parameter handling and schema validation
- Added support for both commit_id and last_commit_id parameters in createOrUpdateFile function

- Made commit_id optional in GitLabCreateUpdateFileResponseSchema to match GitLab API

- Implemented smart handling to extract commit IDs from existing files when updating

- Resolves zereight/gitlab-mcp#12
2025-03-17 23:29:36 -07:00
d1bdeba497 Improve JSDoc documentation with bilingual comments 2025-03-17 18:22:05 -07:00
6a61a510b9 Fix URL construction and add smart API URL normalization 2025-03-17 17:34:21 -07:00
696a6dd102 Add enhanced debugging to createNote function 2025-03-17 14:26:26 -07:00
4740a4b4f7 Fix createNote function to not duplicate /api/v4 in URL 2025-03-17 14:22:37 -07:00
0fd73ec04e Add debug info to create_note handler response 2025-03-17 14:18:37 -07:00
51641d7b9b Add debug logging to createNote function 2025-03-17 14:14:48 -07:00
68c332c0a7 Update version to 1.0.7-fix to reflect URL path fix 2025-03-17 14:13:45 -07:00
9c17e9b828 Fix create_note API URL construction to avoid duplicate /api/v4 path 2025-03-17 14:10:47 -07:00
1926d77c2f Fix: Use plural resource names in createNote URL construction
- Changed  to s to use the correct plural form in API endpoints

- This fixes 404 errors when trying to add notes to issues or merge requests

- Added a test file to verify the fix

- Conforms to GitLab API documentation which uses plural resource names (issues, merge_requests)
2025-03-17 13:47:20 -07:00
0471d4b2fa Added missing api url part to create_note 2025-02-25 13:06:24 +01:00
db35efff4b README.md 및 index.ts 업데이트: 버그 수정 및 개선 사항 포함, 서버 이름 변경 2025-02-21 09:25:21 +09:00
f143ca0023 README.md 업데이트: 새로운 create_note 함수 추가 및 관련 스키마 정의 2025-02-20 05:52:20 +09:00
d686f4e2d7 초기 설정 파일 추가: .gitignore, tsconfig.json, package.json 및 README.md 생성
Generated by Copilot
2025-02-11 10:36:57 +09:00