Commit Graph

91 Commits

Author SHA1 Message Date
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
Peter M. Elias
83909ddf95 Refactor index.ts to use modular operation files 2025-01-13 11:53:22 -08:00
Peter M. Elias
f8915fe9aa Add commits operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
7a89bd5f08 Add search operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
6fdfeebdbe Add pull request operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
d751289f9c Add branches operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
2218a0f442 Add issues operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
ee874d7b5b Add file operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
150e9cc560 Add repository operations module 2025-01-13 11:53:22 -08:00
Peter M. Elias
ca2c6f9324 Add common utilities for GitHub API requests 2025-01-13 11:53:22 -08:00
Peter M. Elias
534b90cfe0 Add common type definitions 2025-01-13 11:53:22 -08:00
Peter M Elias
0ecd2049ab more 'fixes' 2025-01-13 11:53:22 -08:00
Peter M Elias
f4122ff231 more fixes 2025-01-13 11:53:22 -08:00
Peter M Elias
d9ae0911b9 more schema fixes 2025-01-13 11:53:22 -08:00
Peter M Elias
a56242dfdc more schema fixes 2025-01-13 11:53:22 -08:00
Peter M Elias
90265c27d2 schema tweaks 2025-01-13 11:53:22 -08:00
Peter M Elias
59b831f326 fix github getfilecontent zod schema to match readme spec 2025-01-13 11:53:22 -08:00
Peter M Elias
cecd241500 fix github PR schemas 2025-01-13 11:53:22 -08:00
Justin Spahr-Summers
6ec4dff99a Add tool to list existing PR reviews 2025-01-10 13:53:13 +00:00
Justin Spahr-Summers
a47abf5cce Add support for listing PR comments 2025-01-10 13:47:46 +00:00
Justin Spahr-Summers
ac7592f71a Support updating PR branches 2025-01-10 12:57:39 +00:00
Justin Spahr-Summers
f42cf77d57 Don't use old toolResult format 2025-01-10 12:57:38 +00:00
Justin Spahr-Summers
353fbb8d0a Add reading PR files and status, merging PRs 2025-01-10 12:57:38 +00:00
Justin Spahr-Summers
9e25ffd599 Add support for listing, reading, and reviewing PRs 2025-01-10 12:57:38 +00:00
shiruixing
fcbf58069d fix: Fix the readme of github server 2024-12-30 19:44:59 +08:00
colinmcneil
49044156e3 Update readmes to use new mcp namespace 2024-12-19 13:11:36 -08:00
colinmcneil
c64f8de15f Config tweaks for docker
- Remove `$` interpolation for env
- Allow puppeteer to work headless in docker, headful with npx
2024-12-19 13:11:35 -08:00