-
Notifications
You must be signed in to change notification settings - Fork 2k
Add get_teams
and get_team_members
tools
#834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mattdholloway
wants to merge
26
commits into
main
Choose a base branch
from
teams-tool
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+574
−0
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
a70bcc5
add team tool with tests
mattdholloway c9289a2
add to tools
mattdholloway 42fac05
add toolsnaps and docs
mattdholloway 8d97b5e
Merge branch 'main' into teams-tool
mattdholloway c54f39d
Update pkg/github/context_tools.go
mattdholloway 661daff
rewrite to allow providing user
mattdholloway 8bc6489
Merge branch 'teams-tool' of https://github.com/github/github-mcp-ser…
mattdholloway 8ebb834
rRename get_my_teams to get_teams and update documentation and tests
mattdholloway 837af76
Merge branch 'main' into teams-tool
mattdholloway c04c6dc
remove old snap
mattdholloway 896d34b
rm old comments
mattdholloway 2b8c2c2
update test teams to numbered examples
mattdholloway b460280
Update descriptions for allow finding teams of other users
mattdholloway 2d183e1
return empty result over custom empty error
mattdholloway 8a332fc
fix test expectations for no teams found
mattdholloway b28d98b
flatten teams response to not include Nodes
mattdholloway 3acaaeb
update description to include clarification about teams you are a mem…
mattdholloway 165d38c
fix typo in tool desc
mattdholloway de994ca
updated description to be more generic for accecss note
mattdholloway 4652d60
amended error handling
mattdholloway ce8880f
Update pkg/github/context_tools.go
mattdholloway f92b4e0
add additional tool to get team members
mattdholloway 4429b1f
Merge branch 'teams-tool' of https://github.com/github/github-mcp-ser…
mattdholloway 15e5e10
update tool desc for get_team_members to include warning about auth
mattdholloway 8c59077
added new scope info
mattdholloway c590779
Merge branch 'main' into teams-tool
mattdholloway File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"annotations": { | ||
"title": "Get team members", | ||
"readOnlyHint": true | ||
}, | ||
"description": "Get member usernames of a specific team in an organization. Limited to organizations accessible with current credentials", | ||
"inputSchema": { | ||
"properties": { | ||
"org": { | ||
"description": "Organization login (owner) that contains the team.", | ||
"type": "string" | ||
}, | ||
"team_slug": { | ||
"description": "Team slug", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"org", | ||
"team_slug" | ||
], | ||
"type": "object" | ||
}, | ||
"name": "get_team_members" | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"annotations": { | ||
"title": "Get teams", | ||
"readOnlyHint": true | ||
}, | ||
"description": "Get details of the teams the user is a member of. Limited to organizations accessible with current credentials", | ||
"inputSchema": { | ||
"properties": { | ||
"user": { | ||
"description": "Username to get teams for. If not provided, uses the authenticated user.", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"name": "get_teams" | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.