Commit Graph

80 Commits

Author SHA1 Message Date
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
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
colinmcneil
4e8a8d270a Split production node_modules 2024-12-19 13:11:34 -08:00
colinmcneil
9ff603aef5 Update dockerfiles for npx versions, gdrive env credential paths 2024-12-19 13:11:34 -08:00
Jim Clark
368e3b23ca Add Dockerfiles for the 17 sample MCP servers
* add Dockerfiles and update README.md definitions
2024-12-19 13:11:34 -08:00
Raduan77
8cc8c6e7a7 Allow body to be nullable in GithubIssueSchema 2024-12-11 09:14:25 +01:00
Aschent89
9038094589 Update the github-server readme to outline 'get_issue' 2024-12-06 14:08:01 -05:00
Aschent89
6d7a8f2267 feat: add get_issue endpoint to retrieve single issue details
Adds functionality to fetch details of a specific GitHub issue by number.
This includes:
- New GetIssueSchema for input validation
- Implementation of getIssue function using GitHub API
- Addition of get_issue tool to available tools list
- Handler for get_issue in CallToolRequestSchema

This allows users to retrieve complete issue information including:
- Issue metadata (title, body, state)
- Associated data (labels, assignees, milestone)
- Timestamps (created, updated, closed)
2024-12-06 14:03:12 -05:00
Justin Spahr-Summers
f10a89b9b3 Merge branch 'main' into patch-1 2024-12-05 23:30:46 +00:00
Justin Spahr-Summers
54d6b58901 Merge branch 'main' into pr/224 2024-12-05 23:27:30 +00:00
Justin Spahr-Summers
d300fec66a Merge branch 'main' into pr/119 2024-12-05 23:05:57 +00:00
Raduan77
3b71d48f65 address comment 2024-12-05 11:37:51 +01:00
Raduan77
7d51320f42 merge w/ upstream 2024-12-05 11:20:54 +01:00