Skip to content

Commit 74c5998

Browse files
committed
Merge branch 'main' of github.com:aryasoni98/github-mcp-server
2 parents b3906c4 + e9f748f commit 74c5998

28 files changed

+4999
-997
lines changed

.github/workflows/lint.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ jobs:
2424
go mod verify
2525
go mod download
2626
27-
LINT_VERSION=2.1.6
28-
curl -fsSL https://github.com/golangci/golangci-lint/releases/download/v${LINT_VERSION}/golangci-lint-${LINT_VERSION}-linux-amd64.tar.gz | \
29-
tar xz --strip-components 1 --wildcards \*/golangci-lint
30-
mkdir -p bin && mv golangci-lint bin/
31-
3227
- name: Run checks
3328
run: |
3429
STATUS=0
@@ -41,10 +36,10 @@ jobs:
4136
STATUS=1
4237
fi
4338
}
44-
45-
assert-nothing-changed go fmt ./...
4639
assert-nothing-changed go mod tidy
47-
48-
bin/golangci-lint run --timeout=3m || STATUS=$?
49-
5040
exit $STATUS
41+
42+
- name: golangci-lint
43+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
44+
with:
45+
version: v2.1.6

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,39 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
636636
- `secret_type`: The secret types to be filtered for in a comma-separated list (string, optional)
637637
- `resolution`: The resolution status (string, optional)
638638

639+
### Notifications
640+
641+
- **list_notifications** – List notifications for a GitHub user
642+
- `filter`: Filter to apply to the response (`default`, `include_read_notifications`, `only_participating`)
643+
- `since`: Only show notifications updated after the given time (ISO 8601 format)
644+
- `before`: Only show notifications updated before the given time (ISO 8601 format)
645+
- `owner`: Optional repository owner (string)
646+
- `repo`: Optional repository name (string)
647+
- `page`: Page number (number, optional)
648+
- `perPage`: Results per page (number, optional)
649+
650+
651+
- **get_notification_details** – Get detailed information for a specific GitHub notification
652+
- `notificationID`: The ID of the notification (string, required)
653+
654+
- **dismiss_notification** – Dismiss a notification by marking it as read or done
655+
- `threadID`: The ID of the notification thread (string, required)
656+
- `state`: The new state of the notification (`read` or `done`)
657+
658+
- **mark_all_notifications_read** – Mark all notifications as read
659+
- `lastReadAt`: Describes the last point that notifications were checked (optional, RFC3339/ISO8601 string, default: now)
660+
- `owner`: Optional repository owner (string)
661+
- `repo`: Optional repository name (string)
662+
663+
- **manage_notification_subscription** – Manage a notification subscription (ignore, watch, or delete) for a notification thread
664+
- `notificationID`: The ID of the notification thread (string, required)
665+
- `action`: Action to perform: `ignore`, `watch`, or `delete` (string, required)
666+
667+
- **manage_repository_notification_subscription** – Manage a repository notification subscription (ignore, watch, or delete)
668+
- `owner`: The account owner of the repository (string, required)
669+
- `repo`: The name of the repository (string, required)
670+
- `action`: Action to perform: `ignore`, `watch`, or `delete` (string, required)
671+
639672
## Resources
640673

641674
### Repository Content

e2e/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,7 @@ The current test suite is intentionally very limited in scope. This is because t
9090
The tests are quite repetitive and verbose. This is intentional as we want to see them develop more before committing to abstractions.
9191

9292
Currently, visibility into failures is not particularly good. We're hoping that we can pull apart the mcp-go client and have it hook into streams representing stdio without requiring an exec. This way we can get breakpoints in the debugger easily.
93+
94+
### Global State Mutation Tests
95+
96+
Some tools (such as those that mark all notifications as read) would change the global state for the tester, and are also not idempotent, so they offer little value for end to end tests and instead should rely on unit testing and manual verifications.

0 commit comments

Comments
 (0)