Github
Learn how to use Klavis to connect your AI application to Github MCP Server
Prerequisites
To get the most out of this guide, you’ll need to:
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. GitHub OAuth Flow (Optional)
If you want to enable your MCP server to access private GitHub information
Option 1: API Call
Option 2: Browser Redirect
Simply copy and paste the following URL into your web browser, replacing <YOUR_INSTANCE_ID>
with your actual instance ID: