Commit Graph

494 Commits

Author SHA1 Message Date
tonytrg e17fa08083 update readme
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
License Check / license-check (push) Has been cancelled
2025-12-02 18:12:47 +01:00
Tommaso Moro e90f757339 Merge branch 'main' into tommy/docs-tools-update 2025-11-28 09:55:43 +00:00
Tommaso Moro c5f6218664 Update docs/server-configuration.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 09:52:55 +00:00
Tommaso Moro 204922f29a Update docs/server-configuration.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 09:52:46 +00:00
Tommaso Moro 12dde16923 Update README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 09:52:35 +00:00
Tommaso Moro 17249db685 Update docs/server-configuration.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 09:52:19 +00:00
Tommaso Moro dc1927af69 Update docs/remote-server.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 09:52:13 +00:00
Copilot 4d6d64e715 Add AI issue assessment workflow with github/ai-assessment-comment-labeler (#1498)
* Initial plan

* Add AI issue assessment workflow with github/ai-assessment-comment-labeler

Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

* Remove AI issue assessment workflow and prompt file per review feedback

Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

* Restore workflow and prompt, run on bug label or unlabeled issues

Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

* Update .github/workflows/ai-issue-assessment.yml

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

* Add default-issue-review.prompt.yml for unlabeled issues

Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>
Co-authored-by: JoannaaKL <joannaakl@github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 10:46:30 +01:00
Tommaso Moro 55f5af2896 Update docs/server-configuration.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-27 17:16:11 +00:00
tommaso-moro ca9f1f1465 update 2025-11-27 16:40:00 +00:00
tommaso-moro 7204a63f20 add server configuration guide 2025-11-27 16:35:55 +00:00
tommaso-moro 303b2ad21e update 2025-11-27 14:39:43 +00:00
tommaso-moro 65f24e271a small doc update to add x-mcp-tools header 2025-11-27 14:27:31 +00:00
Tommaso Moro 3e1fca0cc5 Tommy/tool-specific-config-support (#1394)
GoReleaser Release / release (push) Has been cancelled
License Check / license-check (push) Has been cancelled
Publish to MCP Registry / publish (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Docker / build (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
* add enabledTools to StdioServerConfig

* add EnabledTools to MCPServerConfig, and logic to bypass toolset config if present

* add logic to register specific tools

* update readme

* Update to be consistent with: https://docs.google.com/document/d/1tOOBJ4y9xY61QVrO18ymuVt4SO9nV-z2B4ckaL2f9IU/edit?tab=t.0#heading=h.ffto4e5dwzlf

specifically
- allow for --tools and dynamic toolset mode together
- allow for --tools and --toolsets together

* go mod tidy

* update

* clean up comment

* fix

* fix

* updte

* update

* clean up
v0.23.0
2025-11-26 14:20:01 +00:00
JoannaaKL 7cfb354728 Dont filter content from Copilot (#1464)
* Dont filter content from trusted bots

* Final changes

* Use only debug level

* Add logs and comments
2025-11-26 11:24:23 +01:00
dependabot[bot] 781a95f5bc build(deps): bump actions/checkout from 5 to 6 (#1480)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-25 19:19:25 +01:00
Tony Truong 8a6accbbe1 replacing all with default (#1489) 2025-11-25 19:18:44 +01:00
Ksenia Bobrova 6a57e75d72 Delete package configuration from server.json (temporarily) (#1474)
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-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
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
GoReleaser Release / release (push) Has been cancelled
License Check / license-check (push) Has been cancelled
Publish to MCP Registry / publish (push) Has been cancelled
Temporarily removing package configuration for the GitHub MCP server because certain hosts incorrectly generate docker arguments based on it which results in a broken server configuration when installed via registry.

Will bring it back when the issue is resolved by MCP host.
v0.22.0
2025-11-24 09:38:50 +01:00
JoannaaKL 2941e876b6 Add go report card to the Readme (#1462) 2025-11-21 10:43:55 +01:00
JoannaaKL 28b868dad4 Add in memory cache for lockdown mode (#1416)
* Apply lockdown mode to issues and pull requests

* Add cache

* Unlock in defer

* Add muesli/cache2go

* [WIP] Replace custom cache in lockdown.go with cache2go struct (#1425)

* Initial plan

* Replace custom cache with cache2go library

- Added github.com/muesli/cache2go dependency
- Replaced custom map-based cache with cache2go.CacheTable
- Removed manual timer management (scheduleExpiry, ensureEntry methods)
- Removed timer field from repoAccessCacheEntry struct
- Updated GetRepoAccessInfo to use cache2go's Value() and Add() methods
- Updated SetTTL to flush and re-add entries with new TTL
- Used unique cache names per instance to avoid test interference
- All existing tests pass with the new implementation

Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

* Final verification complete

Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

* Use muesli for cache

* Make RepoAccessCache a singleton (#1426)

* Initial plan

* Implement RepoAccessCache as a singleton pattern

Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

* Complete singleton implementation and verification

Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

* Remove cacheIDCounter as requested

Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

* Update mutexes

* .

* Reuse cache

* .

* .

* Fix logic after vibe coding

* Update docs

* .

* Refactoring to make the code pretty

* Hide lockdown logic behind shouldFilter function

* .

* Tests

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-11-21 10:34:51 +01:00
Ksenia Bobrova ec6afa776d Instruct LLM to use pull request template when creating PRs (#1442) 2025-11-19 11:47:31 +01:00
Tony Truong 548c27ce62 adding remote server header for lockdown configuration (#1417)
* adding remote server header for lockdown configuration

* Apply suggestion from @Copilot

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

* Apply suggestion from @Copilot

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-19 11:22:06 +01:00
Ksenia Bobrova f3b9a63311 Report error when API silently fails to add review comment (#1441) 2025-11-19 10:11:17 +01:00
James Montemagno 9b747a6d8a Add installation guide for OpenAI Codex (#1340)
* Add installation guide for OpenAI Codex

* updates based on feedback

* Remove optional Docker requirement from installation guide for OpenAI Codex

* Remove Docker-related troubleshooting and references from installation guide

* Update docs/installation-guides/install-codex.md

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

* Update docs/installation-guides/install-codex.md

* Apply suggestions from code review

* Update docs/installation-guides/install-codex.md

Co-authored-by: Gabriel Peal <gpeal@users.noreply.github.com>

* updates on feedback

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Gabriel Peal <gpeal@users.noreply.github.com>
2025-11-19 08:36:52 +01:00
Sam Morrow bb722f1e03 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-18 10:58:30 +01:00
copilot-swe-agent[bot] b25a342c4e Add library usage and code quality guidelines to copilot instructions
Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
2025-11-18 10:58:30 +01:00
copilot-swe-agent[bot] aba64afb0b Add comprehensive copilot instructions for repository
Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
2025-11-18 10:58:30 +01:00
Adam Holt 7359888938 Add Go SDK Migrator agent (#1424)
* Add Go SDK Migrator agent
2025-11-18 10:55:14 +01:00
SangheeSon 2f64ac0c21 Add discussion metadata fields to get_discussion tool (#1305)
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-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
GoReleaser Release / release (push) Has been cancelled
License Check / license-check (push) Has been cancelled
Publish to MCP Registry / publish (push) Has been cancelled
* Add state metadata fields to get_discussion tool

Fixes #1303

The get_discussion tool was missing important state metadata that's
already available in get_issue. Added four fields to provide complete
discussion status information:

- state: Current discussion state (OPEN/CLOSED)
- isAnswered: Whether the discussion has an accepted answer
- answeredAt: Timestamp when answer was provided
- answerChosenAt: Timestamp when answer was selected

Changed GetDiscussion to return a map instead of github.Discussion
struct since the go-github library doesn't include all these fields
in its type definition. This approach is consistent with other
functions in this codebase (ListDiscussions, GetDiscussionComments).

All tests pass and linter checks pass.

* Fix Discussion field mappings based on GitHub GraphQL API

Changes:
- Replace 'State' (doesn't exist) with 'Closed' (Boolean)
- Remove 'AnsweredAt' (doesn't exist)
- Keep 'IsAnswered' (verified to exist in GitHub GraphQL API)
- Use 'AnswerChosenAt' for answer timestamp

Updated both implementation and tests to match actual GitHub GraphQL schema.
All tests passing.

---------

Co-authored-by: tommaso-moro <tommaso-moro@github.com>
v0.21.0
2025-11-17 10:20:39 +00:00
Tony Truong 88a594e76b improve response/feedback loop with better error messages (#1414) 2025-11-17 10:19:42 +01:00
Jonathan Otalora e95d8ee6fe addresses float64 to in64 feedback from copilot 2025-11-16 23:42:14 +01:00
Jonathan Otalora 1d6499d875 removes unused code 2025-11-16 23:42:14 +01:00
Jonathan Otalora bd7ca66505 updates mcp-server with latest google-go-github APIs 2025-11-16 23:42:14 +01:00
Ksenia Bobrova df347e3cb4 Update server.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-15 22:29:33 +01:00
Ksenia Bobrova 4852f5a3df Add remote server to registry endtry 2025-11-15 22:29:33 +01:00
Jonathan 649087cbf4 updates generated licenses 2025-11-15 22:07:38 +01:00
Jonathan c73f06fa29 bumps google/go-github to v79 2025-11-15 22:07:38 +01:00
Neno Loje be6161d145 Fix capitalization in GitHub MCP Server section 2025-11-15 22:00:54 +01:00
Tom Elliott e9033462e1 projects: serialization & pagination updates (#1390)
* pagination, serialization updates

* projects: add server instructions (#1393)

* add server instructions

* Update instructions.go

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-14 11:25:35 +00:00
dependabot[bot] 3d6ce6881b build(deps): bump docker/metadata-action from 5.8.0 to 5.9.0 (#1380)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5.8.0 to 5.9.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/c1e51972afc2121e065aed6d45c65596fe445f3f...318604b99e75e41977312d83839a89be02ca4893)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-version: 5.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JoannaaKL <joannaakl@github.com>
2025-11-14 09:33:57 +01:00
Thomas Sickert 4fcfaa5130 Set title for GitHub MCP Server in server.json (#1397)
* Set title for GitHub MCP Server in server.json

* Update server.json
2025-11-13 09:24:02 -05:00
Tommaso Moro 1d5603fa80 Update docs to state that dynamic mode is not available in Remote Server (#1399)
* update

* fix
2025-11-13 11:23:02 +00:00
Tommaso Moro 41090e5ed7 Update docs regarding MCP Server behaviour when bad toolsets are provided (#1398)
* update docs

* update
2025-11-13 10:08:03 +00:00
dependabot[bot] b466148a55 build(deps): bump golang from 1.25.3-alpine to 1.25.4-alpine (#1381)
Bumps golang from 1.25.3-alpine to 1.25.4-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.25.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: JoannaaKL <joannaakl@github.com>
2025-11-11 17:46:56 +01:00
dependabot[bot] 0a4b921244 build(deps): bump golangci/golangci-lint-action from 8 to 9 (#1379)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 8 to 9.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v8...v9)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-11 17:42:18 +01:00
JoannaaKL 342939edad Add lockdown mode to docs (#1391)
* Add lockdown mode to docs

* Update docs/installation-guides/README.md

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-11 16:46:55 +01:00
Natalie Dunbar 75814402cc Remove unused github.com/google/go-github/v76 dependency
Only v77 is needed since all code uses v77 consistently.
2025-11-10 22:20:23 +01:00
JoannaaKL 2e5418093f Add lockdown mode to filter issue (#1371)
* Add lockdown mode to filter issue

* Update flag name

* Update pkg/lockdown/lockdown.go

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

* Merge two graphql queries into one

* Don't use Issue.Repository

* Add function signature

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-10 17:01:21 +01:00
Natalie Dunbar e26cf427ef Add Repository Tree Navigation Tool (#1164)
* add repo nav tool

* comment responses

* move into git.go

* fix documentation

* Update pkg/github/git.go

Co-authored-by: Adam Holt <omgitsads@github.com>

* Fix undefined variable error in GetRepositoryTree

* Update git.go to use github.com/google/go-github/v77 for consistency with main branch

---------

Co-authored-by: Adam Holt <omgitsads@github.com>
2025-11-10 10:29:13 -05:00
Jonathan b68bec003d Update mcp server with latest google/go-github API (#1358)
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-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
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
GoReleaser Release / release (push) Has been cancelled
License Check / license-check (push) Has been cancelled
Publish to MCP Registry / publish (push) Has been cancelled
* licences update from required CI build

* fixes licences

* implements new helpers to support google/go-github v77 API

* upgrades toolset to leverage google/go-github v77 with the exception of Update and Delete items

* refactor string conversion helpers

* reverts migration google/go-github GetProjectItem due to bug with the underlying library implementation

* additional refactoring for server helpers based on recent updates to google/go-github

* test updates based on underlying lib requirements

* resolves licences conflicts with script/licenses

* cleanup

* reduce change diff

* updates helper docs to reflect to methods

* upgrades delete projects item to google/go-github

* returns error from parsing string to int64

* improved OptionalBigIntArrayParam doc

* improves implementation for RequiredBigInt

* improves documentation for temporary fieldSelectionOptions struct
v0.20.2
2025-11-07 17:31:17 +00:00