MCP Server Quickstart
GitHub
Learn how to use Klavis to connect your AI application to GitHub MCP Server
No-Code
Connect to enterprise-grade MCP servers instantly!
For Developer
Follow the instructions below to integrate GitHub MCP server to your AI application using our API or SDK.
Prerequisites
1. Create a GitHub MCP Server
Use the following endpoint to create a new remote GitHub MCP server instance:
Request
Response
serverUrl specifies the endpoint of the GitHub MCP server, which you can connect with the MCP client of your application.
instanceId is used for authentication and identification of your server instance. After you complete the next steps, this token allows the MCP server to access user’s private GitHub information.
2. Implement OAuth Authorization
Redirect users to the OAuth authorization flow:
You can also specify scope and redirect_url in the authUrl, and we also support white-label. Check the API reference for more details.
Watch the Example
Explore MCP Server Tools
Tools Information
Tools Information
Tool Name | Description |
---|---|
github_get_me | Get details of the authenticated user |
github_get_issue | Gets the contents of an issue within a repository |
github_search_issues | Search for issues and pull requests |
github_list_issues | List and filter repository issues |
github_get_issue_comments | Get comments for a GitHub issue |
github_create_issue | Create a new issue in a GitHub repository |
github_add_issue_comment | Add a comment to an issue |
github_update_issue | Update an existing issue in a GitHub repository |
github_get_pull_request | Get details of a specific pull request |
github_list_pull_requests | List and filter repository pull requests |
github_get_pull_request_files | Get the list of files changed in a pull request |
github_get_pull_request_status | Get the combined status of all status checks for a pull request |
github_get_pull_request_comments | Get the review comments on a pull request |
github_get_pull_request_reviews | Get the reviews on a pull request |
github_merge_pull_request | Merge a pull request |
github_update_pull_request_branch | Update a pull request branch with the latest changes from the base branch |
github_create_pull_request_review | Create a review on a pull request review |
github_create_pull_request | Create a new pull request |
github_update_pull_request | Update an existing pull request in a GitHub repository |
github_search_repositories | Search for GitHub repositories |
github_get_file_contents | Get contents of a file or directory |
github_list_commits | Get a list of commits of a branch in a repository |
github_create_or_update_file | Create or update a single file in a repository |
github_create_repository | Create a new GitHub repository |
github_fork_repository | Fork a repository |
github_create_branch | Create a new branch |
github_push_files | Push multiple files in a single commit |
github_search_code | Search for code across GitHub repositories |
github_search_users | Search for GitHub users |
github_get_code_scanning_alert | Get a code scanning alert |
github_list_code_scanning_alerts | List code scanning alerts for a repository |
github_get_commit | Get details for a commit from a repository |
github_list_branches | List branches in a GitHub repository |
github_list_recent_stargazers | Get a comprehensive list of users who have recently starred a specified GitHub repository |