Commit Graph

253 Commits

Author SHA1 Message Date
William Martin d978bc187b Support localhost hosts
License Check / license-check (push) Has been cancelled
Lint / lint (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
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
2025-06-20 21:15:37 +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
Jaril c423a52511 Fix typo in README.md 2025-06-11 09:19:31 +02:00
Sam Morrow fe31428f80 Add context toolset and adjust readme (#499)
* add context toolset and adjust readme

* move resources to a toolset

* add resource registration as a toolset concern

* add a note about broadening of toolsets

* Apply suggestion from @SamMorrowDrums
2025-06-10 15:44:49 +02:00
Lulu cbcf29f6d1 Export ToBoolPtr and RequiredParam (#495)
* ToBoolPtr, RequiredParam

* lint: type assertion in RequiredParam

* cap docstring
2025-06-09 15:11:38 +02:00
Pranav RK 392df2d68c docs: add read-only instruction to readme (#490) 2025-06-07 19:38:38 +02:00
Juan Broullon c141bf4da4 fix: move defaulted 'state' param after non-default params in list_code_scanning_alerts (#488) 2025-06-07 15:33:41 +02:00
Sam Morrow c17ebfe50b chore: separate toolset creation from init and use typed error (#487) 2025-06-06 14:45:03 +02:00
Sam Morrow 9dd6fc518d cleanup search_users response (#485) 2025-06-06 11:24:22 +02:00
Malte Lantin 8854b2a67b Add GitHub Enterprise Cloud with data residency (ghe.com) to readme (#448)
* Add ghe.com to readme

Document support for GitHub Enterprise Cloud with data residency (ghe.com) in the readme.

* Update README.md

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-04 10:49:50 +02:00
dependabot[bot] c2d5b433cf build(deps): bump github.com/mark3labs/mcp-go from 0.30.0 to 0.31.0 2025-06-03 07:31:09 +02:00
William Martin 373b74e68e Fix missing go-github v72 license bump 2025-06-03 07:20:03 +02:00
Juan Antonio Osorio 63d3d8c60e fix: use ENTRYPOINT and CMD for proper argument handling (#454)
* fix: use ENTRYPOINT and CMD for proper argument handling

- Change from CMD to ENTRYPOINT + CMD pattern for better Docker practices
- ENTRYPOINT sets the executable that always runs
- CMD provides default arguments that can be overridden
- This allows container runtimes to properly append additional arguments
- Fixes issues with argument passing in container orchestration tools

Before: CMD ["./github-mcp-server", "stdio"]
After: ENTRYPOINT ["./github-mcp-server"] + CMD ["stdio"]

* address review feedback: use absolute path and improve comments
2025-06-03 00:19:59 +02:00
Pranav RK c7a872b9a1 Bump go-github to v72.0.0 2025-06-02 10:55:04 +02:00
William Martin 023f59d5cc Use typed tool handler for get_me tool 2025-05-28 15:56:54 +02:00
William Martin 7e026fc438 Fix incorrect repo resource table test 2025-05-27 20:28:59 +02:00
William Martin 11ea4e271d Remove test that can panic 2025-05-27 20:28:59 +02:00
William Martin d4a0764ddb Bump mcp-go to 0.30.0 2025-05-26 14:03:58 +02:00
Theo Brigitte 414309ccc2 Remove non-existent get_line_number_in_pull_request_file tool reference
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
License Check / license-check (push) Has been cancelled
Lint / lint (push) Has been cancelled
2025-05-26 07:40:57 +02:00
Sam Morrow e9f748f246 Add additional tools and tests for notifications
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
CodeQL / Analyze (go) (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.4.0
2025-05-23 14:00:21 +02:00
Avinash Sridhar 577190886d feat: add GitHub notifications tools for managing user notifications 2025-05-23 14:00:21 +02:00
William Martin b9a06d05f7 Support assigning copilot to issues
Co-authored-by: Martina Jireckova <martinajir@github.com>
2025-05-23 07:04:12 +02:00
dependabot[bot] 4ccedee992 build(deps): bump github.com/mark3labs/mcp-go from 0.27.0 to 0.28.0 (#412)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: William Martin <williammartin@github.com>
2025-05-20 13:30:27 +02:00
Pranav RK 2f8c2873a5 chore: revert go mod check 2025-05-19 20:55:54 +02:00
Pranav RK 045ecd38c8 feat: add golangci-lint-action to the lint workflow 2025-05-19 20:55:54 +02:00
William Martin eca853b28a Split PR review creation, commenting, submission and deletion 2025-05-19 17:50:36 +02:00
Sam Morrow 50043c32de enact second piece of copilot feedback 2025-05-19 17:36:24 +02:00
Sam Morrow b7f4890a65 Update context_tools.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-19 17:36:24 +02:00
Sam Morrow a3bf5587d8 alter the description of get-me to reduce redundant repeat calls 2025-05-19 17:36:24 +02:00