280 Commits

Author SHA1 Message Date
Sam Morrow 3deaca89fd don't actually create a PR (#589)
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Docker / build (push) Has been cancelled
Unit Tests / build (macos-latest) (push) Has been cancelled
Unit Tests / build (ubuntu-latest) (push) Has been cancelled
Unit Tests / build (windows-latest) (push) Has been cancelled
License Check / license-check (push) Has been cancelled
Lint / lint (push) Has been cancelled
2025-06-26 17:39:50 +02:00
Sam Morrow b9a5f2c10c fix bug in create PR code (#588) 2025-06-26 17:28:15 +02:00
Sam Morrow 5dc5bb75c2 Release process update (#587)
* add a new release workflow

* improve release.yml to ensure that the ref is up-to-date

* add sync workflow
2025-06-26 17:01:47 +02:00
Sam Morrow 46089ed87d improve release.yml to ensure that the ref is up-to-date 2025-06-26 16:58:47 +02:00
Sam Morrow 7f8d28e224 add a new release workflow 2025-06-26 16:58:47 +02:00
JoannaaKL 96f0173c94 Fix linter error 2025-06-26 15:45:27 +02:00
JoannaaKL 0166ca5bac Tidy 2025-06-26 15:45:27 +02:00
JoannaaKL ecc57ffec6 Update main.go 2025-06-26 15:45:27 +02:00
JoannaaKL 76535ee2b6 Bind 2025-06-26 15:45:27 +02:00
JoannaaKL 9e1d401b86 Remove unnecessary or 2025-06-26 15:45:27 +02:00
JoannaaKL aaaff4ff6c Add underscore variant 2025-06-26 15:45:27 +02:00
JoannaaKL 8bd715235b Add repo and owner 2025-06-26 13:53:13 +02:00
JoannaaKL 805358ba3d Split pr and issue search
Add description

Extract common code

Test fixes

Updated search description

Move search prs to prs toolset

Update tools snaps
2025-06-26 13:53:13 +02:00
JoannaaKL 5f924342f1 Add search pull requests tool 2025-06-26 13:53:13 +02:00
Sam Morrow acba2848a3 cleanup search_users response (#486) 2025-06-26 12:35:12 +02:00
anant-rustagi 23b16cfeb7 feat: add pagination support to get_pull_request_files tool (#561)
License Check / license-check (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Unit Tests / build (macos-latest) (push) Has been cancelled
Unit Tests / build (ubuntu-latest) (push) Has been cancelled
Unit Tests / build (windows-latest) (push) Has been cancelled
Lint / lint (push) Has been cancelled
- Add WithPagination() to tool definition
- Use OptionalPaginationParams to handle page and perPage parameters
- Pass pagination parameters to GitHub API ListFiles call
- Update tests to include pagination scenarios
- Update tool schema snapshot

Fixes #527

Co-authored-by: Anant rustagi <anantrustagi@Anants-MacBook-Pro.local>
2025-06-25 16:26:53 +02:00
Sam Morrow 2a2df24af2 update tool snaps 2025-06-25 08:12:38 +02:00
Sam Morrow f90ff16f2e move to new approach and update testing 2025-06-25 08:12:38 +02:00
Adam Holt 36e6add0dd Return concrete error types for API errors 2025-06-25 08:12:38 +02:00
William Martin 20afb0fd9e Adjust create_or_update_file description to try avoid incorrect selection (#419)
* Adjust create_or_update_file description to try avoid incorrect selection

* Update pkg/github/repositories.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-24 14:53:09 +02:00
Sam Morrow 21389a4756 Add in an assign copilot prompt (#572)
* add in an assign copilot prompt

* Update pkg/github/issues.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-24 14:52:11 +02:00
David Byttow f631ff5548 add author field to list_commits for filtering (#569) 2025-06-24 09:15:25 +02:00
Roberto Nacu 271138452f add ctx propagation to raw api call 2025-06-23 14:55:19 +02:00
tonytrg b2901e13cc changing desc symbols 2025-06-23 14:46:46 +02:00
tonytrg 152847334b fix pr parsing 2025-06-23 14:46:46 +02:00
tonytrg 6fa8eafff5 adding tests 2025-06-23 14:46:46 +02:00
tonytrg b031f215f4 fix linter 2025-06-23 14:46:46 +02:00
tonytrg 50cfb6d66b get_file_contents accepts a ref instead of just branch 2025-06-23 14:46:46 +02:00
Dimitrios Philliou 3fe88ee5e0 Update feature_request.md
Add prompt to feature request template for tool proposals to include example workflows/prompts
2025-06-20 19:54:14 +02:00
Andrew Kwon 87a477037f Remove tool desc add_pull_request_review_comment and create_pull_request_review
- Reason for tool removal can be found in https://github.com/github/github-mcp-server/pull/410
2025-06-19 01:14:20 +02:00
dependabot[bot] f51096d0f1 build(deps): bump github.com/mark3labs/mcp-go from 0.31.0 to 0.32.0 (#528)
* build(deps): bump github.com/mark3labs/mcp-go from 0.31.0 to 0.32.0

Bumps [github.com/mark3labs/mcp-go](https://github.com/mark3labs/mcp-go) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/mark3labs/mcp-go/releases)
- [Commits](https://github.com/mark3labs/mcp-go/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: github.com/mark3labs/mcp-go
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* updating licenses

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony Truong <tonytrg@github.com>
2025-06-18 15:07:41 +02:00
Gabor Nyerges da6476def8 feat: add GitHub Actions tools for workflow management (#491)
* feat: add GitHub Actions tools for workflow management

- Introduced new tools for managing GitHub Actions workflows, including listing workflows, running workflows, canceling workflow runs, and retrieving workflow run logs.
- Updated README.md to include new `actions` toolset and detailed descriptions of the new tools.
- Added comprehensive tests for the new functionality to ensure reliability and correctness.

* feat: enhance GitHub Actions toolset with additional workflow management capabilities

- Added new tools for managing GitHub Actions, including listing workflows, retrieving workflow run logs, and managing workflow runs.
- Integrated the new `actions` toolset into the default toolset group for improved accessibility.

* feat: enhance GetJobLogs functionality for improved job log retrieval

- Added new tests for GetJobLogs, including scenarios for retrieving logs for both single jobs and failed jobs.
- Updated GetJobLogs tool description to clarify its capabilities for fetching logs efficiently.
- Implemented error handling for missing required parameters and optimized responses for failed job logs.
- Introduced functionality to return actual log content instead of just URLs when requested.

* feat: enhance GetJobLogs functionality for improved job log retrieval

- Added new tests for GetJobLogs, including scenarios for retrieving logs for both single jobs and failed jobs.
- Updated GetJobLogs tool description to clarify its capabilities for fetching logs efficiently.
- Implemented error handling for missing required parameters and optimized responses for failed job logs.
- Introduced functionality to return actual log content instead of just URLs when requested.

* refactor: standardize parameter handling and read-only hints in GitHub Actions tools

- Replaced instances of `requiredParam` with `RequiredParam` for consistency across all tools.
- Updated `toBoolPtr` to `ToBoolPtr` in tool annotations to maintain uniformity in boolean pointer handling.
- Ensured all tools in the GitHub Actions suite adhere to the new naming conventions for improved readability and maintainability.

* docs: add missing actions toolset to Available Toolsets table

* feat: enhance GitHub Actions tool descriptions with enumerated options

- Updated descriptions for workflow run status and job filters to include enumerated options for clarity.
- Improved documentation for better usability and understanding of available parameters.

* feat: expand event type options in GitHub Actions tool descriptions

- Enhanced the event parameter description in the ListWorkflowRuns function to include a comprehensive list of supported event types.
- Improved clarity and usability for users by providing enumerated options for event types in the documentation.

* feat: add support for running workflows by ID and filename in GitHub Actions tools

- Introduced a new tool, RunWorkflowByFileName, to allow users to run workflows using the workflow filename.
- Updated the existing RunWorkflow tool to accept a numeric workflow ID instead of a filename.
- Enhanced tests to cover scenarios for both running workflows by ID and filename, including error handling for missing parameters.
- Improved tool descriptions for clarity and usability.

* feat: standardize repository parameter descriptions in GitHub Actions tools

- Introduced constants for repository owner and name descriptions to enhance consistency across multiple tools.
- Updated all relevant tools to use the new constants for improved clarity and maintainability in parameter descriptions.

* feat: enhance GitHub Actions tools with user-friendly titles

- Added user-friendly titles to tool annotations for various GitHub Actions tools, improving clarity and usability for end-users.
- Updated descriptions for tools including ListWorkflows, ListWorkflowRuns, RunWorkflow, and others to include new titles for better identification and understanding of their functionalities.

* feat: unify workflow execution in GitHub Actions tools

- Refactored the RunWorkflow tool to accept both numeric workflow IDs and filenames, enhancing flexibility for users.
- Updated the corresponding tests to reflect changes in parameter handling and added assertions for workflow type in responses.
- Removed the separate RunWorkflowByFileName tool to streamline functionality and improve code maintainability.

* fix: linting issues
2025-06-18 14:56:58 +02:00
Sam Morrow 7da11c270e docs: suggest shorter name for server 2025-06-18 13:02:54 +02:00
William Martin 846fac61b0 Ensure UPDATE_TOOLSNAPS doesn't interfere with tests 2025-06-18 10:38:32 +02:00
William Martin 2765d1dc1e Update toolsnap error message with actionable instruction 2025-06-18 10:38:32 +02:00
William Martin 3e988d5ab5 Add toolsnaps for every tool 2025-06-18 10:38:32 +02:00
Tony Truong 1ddb78d0e3 chore: fix e2e tests (#536)
Co-authored-by: Sam Morrow <info@sam-morrow.com>
2025-06-18 09:36:36 +02:00
dgiacomo 82fe310cca Change reference from Anthropic to Github in README.md
Noticed README for mcpurl referenced Anthropic's MCP Server when I think intent is to reference Github's - probably some copy pasta origin
2025-06-18 09:07:38 +02:00
dependabot[bot] 41d12695ed build(deps): bump golang from 1.24.3-alpine to 1.24.4-alpine (#496)
Bumps golang from 1.24.3-alpine to 1.24.4-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.24.4-alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony Truong <tonytrg@github.com>
2025-06-17 17:26:59 +02:00
dependabot[bot] bb24ec0fc3 build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 (#529)
* build(deps): bump github.com/go-viper/mapstructure/v2

Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/go-viper/mapstructure/releases)
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md)
- [Commits](https://github.com/go-viper/mapstructure/compare/v2.2.1...v2.3.0)

---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
  dependency-version: 2.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* adding licenses

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony Truong <tonytrg@github.com>
2025-06-17 17:26:42 +02:00
PierreGode 5502afa6f9 Update README.md
Fix Uncaught Exception issue
2025-06-17 09:39:02 +02:00
Tony Truong cdab1310a0 Add missing tool descriptions (#515) 2025-06-16 09:24:52 +02:00
John Wesley Walker III e9926b9153 Add a Remote MCP configuration example that employs a PAT (#514) 2025-06-13 20:47:47 +02:00
Tony Truong 8562b1d6c3 point to remote config docs (#513)
* point to remote config docs

* adding clarification and pointing to remote config

* Update README.md

Co-authored-by: John Wesley Walker III <81404201+jww3@users.noreply.github.com>

---------

Co-authored-by: John Wesley Walker III <81404201+jww3@users.noreply.github.com>
2025-06-13 15:58:06 +02:00
tonytrg 5e80be805b add clarification 2025-06-13 13:27:01 +02:00
tonytrg dc94eaa4f0 point to general updates page 2025-06-13 12:43:18 +02:00
Dimitrios Philliou 853323d74f Update README.md to prompt VS Code version update (#509)
Making it clear that you need the latest version of VS Code installed for it work.
2025-06-12 12:17:11 -07:00
Toby Padilla 6d6979749d docs: update host usage
Unit Tests / build (windows-latest) (push) Has been cancelled
Unit Tests / build (ubuntu-latest) (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Docker / build (push) Has been cancelled
Unit Tests / build (macos-latest) (push) Has been cancelled
GoReleaser Release / release (push) Has been cancelled
License Check / license-check (push) Has been cancelled
Lint / lint (push) Has been cancelled
v0.5.0
2025-06-12 18:30:39 +02:00
Dimitrios Philliou 7ffbad4528 docs: Update README.md
Adding info about the Remote GitHub MCP server.

Cleaned up some of the formatting and adding more info on the warning note.
2025-06-12 18:30:39 +02:00
Sam Morrow 3e32f75cf4 fix: use better raw file handling and return resources 2025-06-12 14:54:23 +02:00