Commit Graph

386 Commits

Author SHA1 Message Date
GitHub Actions
cc03cc50ed Automatic update of packages 2025-02-05 15:50:54 +00:00
David Soria Parra
c5968be422 Merge pull request #592 from timrogers/timrogers/github-user-agent
Include meaningful `User-Agent` header in requests to the GitHub UI
2025-02-04 12:03:29 +00:00
Jerome
8d54d44b2e Merge pull request #552 from anishp/gdrive-path-fix
windows credential file path resolution fixes #301
2025-02-03 13:17:28 +13:00
Jerome
c37ce47196 Merge pull request #551 from shashwat001/add-git-init
Add git init command support to mcp-git-server and update README
2025-02-03 12:42:13 +13:00
Jerome
9ff0b02f17 Merge pull request #540 from freiit/patch-1
memory-mcp: add a volume to docker, otherwise memory gets lost
2025-02-03 12:39:42 +13:00
Tim Rogers
df63442c3c Include meaningful User-Agent header in requests to the GitHub UI
This adds a custom `User-Agent` header to requests from the
GitHub server to the GitHub API, identifying the application,
the version and key information about the environment.

This aligns with the [recommendations][1] in the GitHub Docs.

As part of this change, I have also moved the current version of
the server into a constant, and fix the initialization of `Server`
to use that version, taking from `package.json`.

[1]: https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api?apiVersion=2022-11-28#user-agent
2025-02-02 15:04:59 +00:00
Jerome
0f7730209d Merge pull request #450 from k33g/patch-1
Add arguments to the docker command to avoid the server exit
2025-02-02 09:02:48 +13:00
Jerome
17c5aeaf67 Merge pull request #398 from mathcass/filesystem-typo
fix: update filesystem readme
2025-02-02 08:56:23 +13:00
Jerome
daf9ef4241 Merge pull request #397 from apappascs/feat/add-start-scripts-everything-server
feat: Add start and start:sse scripts to package.json on everything server
2025-02-02 08:54:37 +13:00
Jerome
ab3a1e0143 Merge pull request #392 from s2005/feature/memory-improvements
Feature/memory improvements
2025-02-02 08:53:42 +13:00
Jerome
16dfe5a7c6 Merge pull request #378 from interrobot/windows-default-encoding-fix
Update mcp_server_sqlite to use robust text encoding by default (Windows)
2025-01-30 15:28:52 +13:00
Shashwat Kumar
cda3736800 Merge branch 'main' into add-git-init 2025-01-24 23:08:37 +05:30
Anish Pednekar
a24a33ad27 Merge branch 'main' into gdrive-path-fix 2025-01-23 00:58:58 +05:30
Justin Spahr-Summers
fe014d2136 Fix old toolResult usage in GitHub server 2025-01-22 11:13:29 +00:00
Anish Pednekar
c701fe7dea windows credential file path resolution fix 2025-01-22 15:54:49 +05:30
Shashwat
fc32e87129 Add git init command support to mcp-git-server and update README 2025-01-21 17:44:18 +05:30
Alexandros Pappas
71da7b29f3 Merge branch 'main' into feat/add-start-scripts-everything-server 2025-01-19 16:04:05 +01:00
freiit
0cf470e846 "," after last element of JSON object removed. 2025-01-17 11:09:24 +01:00
freiit
726f50a4d5 add a volume to docker, otherwise memory gets lost 2025-01-17 11:02:20 +01:00
interrobot
3da9821d92 Merge branch 'main' into windows-default-encoding-fix 2025-01-15 23:11:34 -05:00
David Soria Parra
a540ff8090 Merge branch 'main' into patch-1 2025-01-15 20:23:38 +00:00
David Soria Parra
861a51c35c Merge pull request #487 from thejcannon/patch-2
Hint to LLM to add the period to timestamps
2025-01-15 20:20:57 +00:00
David Soria Parra
53f4a23b73 Update server implementation and dependencies 2025-01-15 17:27:12 +00:00
David Soria Parra
49489d4864 Merge pull request #464 from erdnax123/erdnax123-patch-2
fix warnings: - FromAsCasing: 'as' and 'FROM' keywords' casing do not…
2025-01-15 09:34:07 +00:00
David Soria Parra
3bf9d2cbcb Merge pull request #507 from alezkv/alezkv/update-error-handling
Update error handling to use ErrorData consistently
2025-01-15 09:29:53 +00:00
Alexandros Pappas
49088d0b5c Merge branch 'main' into feat/add-start-scripts-everything-server 2025-01-14 16:20:28 +01:00
Justin Spahr-Summers
de256a48b1 fix: Add missing CreatePullRequestSchema and createPullRequest function 2025-01-14 11:19:13 +00:00
Justin Spahr-Summers
a12c6ff23d Merge main: Move to modular structure and add PR functionality 2025-01-14 11:11:41 +00:00
Peter M. Elias
eea524abcf fix: make checkForExistingPullRequest check exact head/base match 2025-01-13 11:53:22 -08:00
Peter M. Elias
339a7b6708 fix: restore original environment variable name for GitHub token 2025-01-13 11:53:22 -08:00
Peter M. Elias
cfd613693c fix: handle URL parameter types correctly in listIssues function 2025-01-13 11:53:22 -08:00
Peter M. Elias
8016e366cd fix: use buildUrl utility in search module 2025-01-13 11:53:22 -08:00
Peter M. Elias
dac0b7cc34 fix: use buildUrl utility in issues module 2025-01-13 11:53:22 -08:00
Peter M. Elias
10f0aec693 fix: use buildUrl utility in commits module 2025-01-13 11:53:22 -08:00
Peter M. Elias
3e1b3caaec fix: resolve typescript errors and add buildUrl utility
- Fix headers type assertion issue
- Add buildUrl utility function for URL parameter handling
2025-01-13 11:53:22 -08:00
Peter M. Elias
272e26935b feat: add GitHub error handling to MCP server
- Import GitHubError types
- Add error formatting utility
- Update error handling in request handler
2025-01-13 11:53:22 -08:00
Peter M. Elias
10bd24dd02 feat: enhance pull request operations with validation and error handling
- Add branch existence validation
- Add duplicate PR check
- Add comprehensive error handling
- Improve type safety with zod transforms
- Add input sanitization
2025-01-13 11:53:22 -08:00
Peter M. Elias
ff2f2c5347 feat: enhance GitHub request utilities with error handling 2025-01-13 11:53:22 -08:00
Peter M. Elias
fb421b4837 feat: add GitHub API error handling utilities 2025-01-13 11:53:22 -08:00
Peter M. Elias
e921c2725c fix: restore proper runServer function closure 2025-01-13 11:53:22 -08:00
Peter M. Elias
b8b7c1b784 refactor: update pull request handler to use new parameter style 2025-01-13 11:53:22 -08:00
Peter M. Elias
42872be9a2 refactor: remove documentation and comments 2025-01-13 11:53:22 -08:00
Peter M. Elias
835be7f855 refactor: improve pull request schemas and validation
- Add proper state enum validation
- Add title and body length validation
- Consolidate request schemas
- Add consistent parameter handling
- Improve type safety
- Add proper JSDoc documentation
2025-01-13 11:53:22 -08:00
Peter M Elias
7c72d987f9 cleanup 2025-01-13 11:53:22 -08:00
Peter M. Elias
a79ec67d9c Add missing GitHubListCommitsSchema and GitHubSearchResponseSchema to common types 2025-01-13 11:53:22 -08:00
Peter M. Elias
0b3359fbf9 Add missing issue-related schemas to common types 2025-01-13 11:53:22 -08:00
Peter M. Elias
4ec840cb4a Add GitHubIssueAssigneeSchema to common types 2025-01-13 11:53:22 -08:00
Peter M. Elias
6b9e983407 Add GitHubPullRequestSchema and related schemas to pulls module 2025-01-13 11:53:22 -08:00
Peter M. Elias
9f43900170 Add GitHubCreateUpdateFileResponseSchema to files module 2025-01-13 11:53:22 -08:00
Peter M. Elias
b4e5754c65 Remove schemas.ts as schemas are now in operation modules 2025-01-13 11:53:22 -08:00