Commit Graph

183 Commits

Author SHA1 Message Date
William Martin 1a23af0961 WIP: in process e2e
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-06 12:58:39 +02:00
William Martin 3a8eeb693e Add e2e test for tags 2025-04-30 13:31:47 +02:00
William Martin 8f1cb69cab Test path params for tag tools 2025-04-29 16:49:57 +02:00
Eran Cohen 5a3dc7f97f feat: Add support for git tag operations
Add git tag functionality including:
- List repository tags
- Get tag details
- Support for tag-based content access

This enables basic read-only tag management through the MCP server API.
2025-04-29 16:49:57 +02:00
Camila Rondinini a7d741cc44 fix: specify sha is required (#320) 2025-04-29 12:47:25 +02:00
William Martin 4e26dce238 Support e2e test parallelisation 2025-04-25 14:44:49 +02:00
William Martin f9427ab04e Ensure toolsets are configurable via env var 2025-04-25 14:44:49 +02:00
William Martin 4a39c03899 Always initialize in e2e tests 2025-04-25 14:44:49 +02:00
William Martin 0c947318b6 Use functional options in e2e as prep for next test 2025-04-25 14:44:49 +02:00
William Martin 33620e1b4b Build image only once in e2e tests 2025-04-25 14:44:49 +02:00
Ian Smith f7eff5993e Update README.md 2025-04-24 21:50:11 +02:00
Ian Smith 58387a2df6 Pre-reqs for docker use include auth to ghcr.io 2025-04-24 21:50:11 +02:00
dependabot[bot] 3134b0996a Bump golang from 1.23.7 to 1.24.2
Bumps golang from 1.23.7 to 1.24.2.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.24.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 17:27:40 +02:00
Salvador Fuentes Jr f8436ab5d7 Add other example config snip 2025-04-23 17:10:08 +02:00
Salvador Fuentes Jr be22f6e2e0 Update README.md to remove mcp key
The vscode configuration example in the README.md does not work with my version of vscode. Since it's also not required, this change removes it so that it works in all versions of vscode.


Version:

```
Version: 1.99.1 (Universal)
Commit: 7c6fdfb0b8f2f675eb0b47f3d95eeca78962565b
Date: 2025-04-04T15:58:59.624Z (4 days ago)
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin x64 24.3.0
```
2025-04-23 17:10:08 +02:00
divyanshvn 7d4aa71cb8 small doc change : fixing formatting in list of tool functions , inside README.md
search_code was misalligned. fixed it in README.
2025-04-23 16:46:33 +02:00
warjiang 8fb4deba2e fix: update params for search_users 2025-04-23 16:34:14 +02:00
Sam Morrow a58937c0b3 feat: provide tool annotations 2025-04-23 13:14:01 +02:00
William Martin 56b23c33cb Add simple e2e test 2025-04-22 18:20:42 +02:00
William Martin 71b00750ba Remove conformance tests 2025-04-22 18:01:17 +02:00
William Martin cb8dfd1fc3 Gitignore .vscode except launch.json 2025-04-22 17:39:38 +02:00
William Martin 3de13faf8a Update licenses with mcp-go 0.22.0 bump 2025-04-22 17:30:33 +02:00
dependabot[bot] e6ed69b511 chore(deps): bump github.com/mark3labs/mcp-go from 0.20.1 to 0.22.0
Bumps [github.com/mark3labs/mcp-go](https://github.com/mark3labs/mcp-go) from 0.20.1 to 0.22.0.
- [Release notes](https://github.com/mark3labs/mcp-go/releases)
- [Commits](https://github.com/mark3labs/mcp-go/compare/v0.20.1...v0.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 17:30:33 +02:00
dependabot[bot] 3ca55bd3d8 chore(deps): bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 28.0.4+incompatible to 28.1.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v28.0.4...v28.1.1)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-version: 28.1.1+incompatible
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 15:39:48 +02:00
Toby Padilla 9fa582d8d6 fix: use anyOf instead of nullable type array
License Check / license-check (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
Unit Tests / build (ubuntu-latest) (push) Has been cancelled
Unit Tests / build (windows-latest) (push) Has been cancelled
GoReleaser Release / release (push) Has been cancelled
Lint / lint (push) Has been cancelled
Windsurf is erroring on the `create_pull_request` tool because we're
using an array of types to make fields nullable. This PR uses `anyOf`
instead and should fix the issue.
v0.2.1
2025-04-21 21:19:24 +02:00
Simon Taranto 495c0cb428 chore: Update README.md to explain Agent mode will start the server (#305)
* Update README.md to explain Agent mode will start the server

* Update README.md

Co-authored-by: Sam Morrow <info@sam-morrow.com>

---------

Co-authored-by: Sam Morrow <info@sam-morrow.com>
2025-04-17 22:09:38 +02:00
Sam Morrow 2cece8f979 fix: incorrect env var in README.md
Lint / lint (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
License Check / license-check (push) Has been cancelled
2025-04-17 16:05:09 +02:00
Toby Padilla 8991436497 docs: update toolset copy
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
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.2.0
2025-04-17 12:52:00 +02:00
Sam Morrow 11b18286d1 Update README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-17 12:52:00 +02:00
Sam Morrow aa57315272 chore: update readme for tool paritioning 2025-04-17 12:52:00 +02:00
Toby Padilla 22e493620c fix: update json schema for create_pull_request_review to make OpenAI compatible (#300)
Co-authored-by: Sam Morrow <info@sam-morrow.com>
2025-04-17 12:50:19 +02:00
William Martin 54bd5ec239 Update CODEOWNERS to github-mcp-server team 2025-04-17 12:44:44 +02:00
Tony Truong 7c197f5850 feat: Adding SecretScanning Toolset (#280)
* Adding GetSecretScanningAlert and ListSecretScanningAlerts

* adding wip for tests

* fix tests

* add readme section

* Update README.md

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

* Update .gitignore

Co-authored-by: Sam Morrow <info@sam-morrow.com>

* fix product name

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Sam Morrow <info@sam-morrow.com>
2025-04-17 10:19:59 +02:00
Dylan Rinker 614f226724 Add Tool Name property for List Code Scanning Alerts tool (#272) 2025-04-15 19:36:16 +02:00
Tony Truong 4457d0ac30 Add missing enum constraints (#278)
* Add missing enum constraints

* Remove redundant listing of additional enums in descriptions

---------

Co-authored-by: Sam Morrow <info@sam-morrow.com>
2025-04-15 17:01:33 +02:00
Sam Morrow b72a591ce5 chore: use tabs not spaces 2025-04-15 14:33:39 +02:00
Sam Morrow 7eff904605 chore: improve --version command 2025-04-15 14:33:39 +02:00
Joe Ton ea19581ef0 refactor: improve version output using SetVersionTemplate 2025-04-15 14:33:39 +02:00
Sam Morrow ff3036d596 feat: partition tools by product/feature 2025-04-15 01:11:53 +02:00
Ricardo Fearing 62eed343e0 Clarify local build (#264) 2025-04-14 12:18:26 -06:00
Simon Danielsson bbba3bb7b0 feat: pretty-print JSONL text responses in mcpcurl (#239)
* Pretty-print jsonl text responses

* Remove else in favour of continue

---------

Co-authored-by: danielssonsimon <danielsson.simon@bcg.com>
2025-04-12 15:08:14 +02:00
Sam Morrow 9dacf70b6e chore: extend user agent 2025-04-12 12:24:20 +02:00
Ashwin Bhat 6c05b4009a Add tools for one-off PR comments and replying to PR review comments (#143)
* Add add_pull_request_review_comment tool for PR review comments

Adds the ability to add review comments to pull requests with support for line, multi-line, and file-level comments, as well as replying to existing comments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add reply_to_pull_request_review_comment tool

Adds a new tool to reply to existing pull request review comments using the GitHub API's comment reply endpoint. This allows for threaded discussions on pull request reviews.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update README with new PR review comment tools

* rebase

* use new getClient function inadd and reply pr review tools

* Unify PR review comment tools into a single consolidated tool

The separate AddPullRequestReviewComment and ReplyToPullRequestReviewComment tools have been merged into a single tool that handles both creating new comments and replying to existing ones. This approach simplifies the API and provides a more consistent interface for users.

- Made commit_id and path optional when using in_reply_to for replies
- Updated the tests to verify both comment and reply functionality
- Removed the separate ReplyToPullRequestReviewComment tool
- Fixed test expectations to match how errors are returned

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update README to reflect the unified PR review comment tool

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Javier Uruen Val <juruen@github.com>
2025-04-12 11:45:10 +02:00
Hirofumi Omi 8343fa5900 chore:update CONTRIBUTING.md style guide link (#234) 2025-04-12 08:15:38 +02:00
Jake Shorty 865f9bf4d7 Prefer already-defined endpoint mock (#226) 2025-04-11 12:25:40 -06:00
Arya Soni 01aefd3d7a Add ability to view branches for a repo #141 (#205)
* Add ability to view branches for a repo #141

* fix: update ListBranches test to use InputSchema and correct translation helper

* fix: update ListBranches test to use InputSchema and correct translation helper

* fix: update ListBranches test to handle errors in tool result

* fix: replace deprecated github.String with github.Ptr

* docs: add list_branches tool documentation to README
2025-04-11 14:31:29 +02:00
Adam Holt 3c18a342c9 Allow passing through server options (#218)
* Allow passing through server options

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-11 10:52:05 +02:00
Jake Shorty 919a10c187 Add tool for getting a single commit (includes stats, files) (#216)
* Add tool for getting a commit

* Split mock back out, use RepositoryCommit with Files/Stats
2025-04-11 08:09:19 +02:00
Chiedo John 651a3aaac5 Assume less (#214) 2025-04-10 15:09:38 +02:00
Eng Zer Jun 7145142dc6 docs: fix CODEOWNERS syntax (#184)
Currently PRs are not being automatically requested for review because the CODEOWNERS file is missing a `*`.

Co-authored-by: Javier Uruen Val <juruen@github.com>
2025-04-10 13:15:55 +02:00