115 Commits

Author SHA1 Message Date
Sam Morrow 7ab5d968e0 chore: pass version through to server
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
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
Lint / lint (push) Has been cancelled
v0.1.1
2025-04-07 17:56:44 +02:00
Javier Uruen Val 8a9f0b0666 add script to pretty print server log (#146) 2025-04-07 17:32:29 +02:00
Viktor Szépe ff1f16e829 Fix a typos in repository_resource.go 2025-04-07 17:00:33 +02:00
Dmytro Shteflyuk ff896d0f33 Removed duplicated createIssue tool definition 2025-04-07 16:54:40 +02:00
William Martin 0f9ef6e708 Add pagination helper 2025-04-07 16:48:56 +02:00
William Martin a72070069f Test issue search query params 2025-04-07 16:48:56 +02:00
Alexander Yastrebov 755b816b7c pkg/github: fix use of per page parameter
Page size tool parameter names were changed to `perPage` within #90
while GitHub API uses `per_page` parameter name.

This change fixes overlooked inconsistencies.

Follow up on #90
Follow up on #129
Fixes #136

Signed-off-by: Alexander Yastrebov <yastrebov.alex@gmail.com>
2025-04-07 16:48:56 +02:00
Ohki Nozomu e4c2f58ddc Use github.Ptr instead of smithy-go/ptr (#147)
Co-authored-by: Javier Uruen Val <juruen@github.com>
2025-04-07 16:29:30 +02:00
Ashwin Bhat 31471a4b4f Add line parameter support to create_pull_request_review tool (#118)
* Add line parameter support to create_pull_request_review tool

- Updated schema to make path and body the only required fields
- Added line parameter as alternative to position for inline comments
- Updated handler to accept either position or line based on GitHub API spec
- Added new test case that verifies line parameter works properly
- Updated error messages for better validation

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

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

* Expand PR review API with multi-line comment support

- Added new parameters: line, side, start_line, start_side
- Added proper validation for multi-line comment parameters
- Improved validation logic to handle parameter combinations
- Added test cases for regular and multi-line comments
- Updated schema documentation for better tool discoverability

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

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

* gofmt

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Javier Uruen Val <juruen@github.com>
2025-04-07 16:20:17 +02:00
Matt Metzger c77ea94c02 Add support for retrieving GitHub Issue Comments (#106)
* Add support for retrieving GitHub Issue Comments

Add new tool 'get_issue_comments' that allows fetching comments associated
with GitHub issues. This complements the existing issue retrieval functionality
and follows the same patterns as the pull request comments implementation.

The implementation includes:
- New getIssueComments function in pkg/github/issues.go
- Tool registration in server.go
- Comprehensive test coverage in issues_test.go

* Support pagination for get_issue_comments

---------

Co-authored-by: Javier Uruen Val <juruen@github.com>
2025-04-07 16:11:00 +02:00
Sam Morrow e6b73f7d5a chore: add code scanning advanced setup yml 2025-04-07 15:23:54 +02:00
Javier Uruen Val 6b02799482 fix issue with pagination in search_repositories (#129) 2025-04-05 20:05:35 +02:00
Ariel Deitcher 270bbf7ad4 pretty print json (#114) 2025-04-04 17:59:15 -07:00
Ariel Deitcher 86b0dcdd44 feature request template (#115) 2025-04-04 17:45:14 -07:00
Jeffrey Luszcz 6716423a15 Update CONTRIBUTING.md to fix link to LICENSE file (#109)
The template pointed to LICENSE.md but this repo is using LICENSE

updated link to point to mcp's license file
2025-04-04 16:25:02 -06:00
Chiedo John 1a6e33ea0c Make pre-requisites more scannable (#107) 2025-04-04 14:52:16 -06:00
Ariel Deitcher 17e4bd414e add vscode launch configuration (#104) 2025-04-04 11:40:01 -07:00
Harald Kirschner 92303d4bcd Fix VS Code inputs link (#103) 2025-04-04 11:20:29 -06:00
Harald Kirschner b89336793c VS Code install steps
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
License Check / license-check (push) Has been cancelled
Unit Tests / build (macos-latest) (push) Has been cancelled
Docker / build (push) Has been cancelled
Lint / lint (push) Has been cancelled
v0.1.0
2025-04-04 17:33:07 +02:00
William Martin 6e132eb067 Add optional string array param
License Check / license-check (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
v0.1.0-rc.3
2025-04-04 17:30:10 +02:00
William Martin 6f7458ae3c Conform list tools
License Check / license-check (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
v0.1.0-rc.2
2025-04-04 15:51:50 +02:00
William Martin 989c43fb37 Make JSONRPC easier in conformance tests 2025-04-04 15:51:50 +02:00
Sam Morrow 26f96680a9 chore: support x-platform licence generation (#98) 2025-04-04 15:33:36 +02:00
William Martin 07f6d11cff Remove non-existent README property (#99) 2025-04-04 15:01:17 +02:00
Javier Uruen Val bdfb30ce4b assert query params (#97) 2025-04-04 14:51:53 +02:00
William Martin 95c7b0add6 Add missing milestone to create_issue (#88) 2025-04-04 14:47:20 +02:00
Javier Uruen Val ccaedb6f46 assert params and body (#96) 2025-04-04 14:32:00 +02:00
Javier Uruen Val ca1a8f96d4 assert request params and body (#95) 2025-04-04 13:57:35 +02:00
Javier Uruen Val e267a3c4a1 assert request params (#94) 2025-04-04 11:35:12 +02:00
Ariel Deitcher 9e2b1f03a5 speed up docker builds (#92) 2025-04-03 15:19:00 -07:00
William Martin 87d4407d1c Add boundaries to pagination
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
License Check / license-check (push) Has been cancelled
Unit Tests / build (macos-latest) (push) Has been cancelled
Docker / build (push) Has been cancelled
Lint / lint (push) Has been cancelled
v0.1.0-rc.1
2025-04-03 23:34:31 +02:00
William Martin 6b13742012 Enumerate strings in schema 2025-04-03 23:30:59 +02:00
William Martin d01e705332 Use arrays rather than comma separated lists 2025-04-03 23:10:00 +02:00
Ariel Deitcher b083631ae9 address pull request feedback (#87) 2025-04-03 13:42:20 -07:00
Ariel Deitcher 0e910678bc pull request and bug report template (#84) 2025-04-03 12:43:21 -07:00
Sam Morrow bb56733104 chore: document latest tag rather than main (#77) 2025-04-03 16:20:08 +02:00
Sam Morrow 559b3ff1b5 chore: update deps (#76) 2025-04-03 14:54:36 +02:00
Sam Morrow 367f8d4d7d chore: correct build arg syntax (#75) 2025-04-03 13:20:15 +02:00
Sam Morrow 5c6f43d237 chore: set build arg for publishing version (#74) 2025-04-03 13:16:09 +02:00
Sam Morrow fa8c23ae47 add ld flags so version is included in docker releases (#73) 2025-04-03 12:56:44 +02:00
Sam Morrow a14e982470 remove licences from the goreleaser step (#72) 2025-04-03 12:20:06 +02:00
Sam Morrow 73ce058d0b chore: go releaser (#71)
* add goreleaser and associated workflows
2025-04-03 12:10:33 +02:00
Ariel Deitcher b2503f37eb chore: repository resource tests (#69)
* refactor to make testing easier

* not needed in handler func

* small cleanup

* create repository_resource_test

* remove chatty comments

* comment cleanup, function rename and some more tests

* fix test for ubuntu runner

* remove it for now

* make required args explicit instead of panic

* more tests and cleanup

* chore: use raw repo resources (#70)

* use raw repo URIs for resources

* fetch repository content from raw urls

* ensure no error in test write

* Update pkg/github/repository_resource.go

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

* use appropriate file name for text file test

---------

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

---------

Co-authored-by: Sam Morrow <info@sam-morrow.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-02 23:33:34 +02:00
Sam Morrow b3a3d15436 fix: run lint in all circumstances (#68)
We need to run the linter in all circumstances, otherwise it cannot be a required check.
2025-04-02 00:27:26 +02:00
Toby Padilla 1608ce2fab fix: don't lint markdown (#67) 2025-04-02 00:12:10 +02:00
Toby Padilla 80ccf1bf0b docs: add license section to readme (#65)
* docs: add license section to readme

* docs: update vs code install badge
2025-04-02 00:11:36 +02:00
Javier Uruen Val 5f3926d535 add support for create_pull_request (#63)
Co-authored-by: Toby Padilla <toby@toby.sh>
2025-04-01 15:48:39 -06:00
Toby Padilla 671f8240d1 docs: update README (#58) 2025-04-01 13:09:36 -06:00
Sam Morrow 450fa651a6 add oss licenses 2025-04-01 18:17:52 +02:00
Ariel Deitcher 84ec566dd8 set user agent for client requests (#61) 2025-04-01 07:48:32 -07:00