Skip to main content
Prerequisites Before you begin, create an account and get your API Key.

Getting started

Connect to GitHub to manage repositories, track issues, and collaborate on code through AI agents.
  • API
  • UI
  • Open Source
1

Install the SDKs (optional)

pip install klavis
2

Create a Strata MCP Server with GitHub

from klavis import Klavis
from klavis.types import McpServerName

klavis_client = Klavis(api_key="YOUR_API_KEY")

response = klavis_client.mcp_server.create_strata_server(
    servers=[McpServerName.GITHUB],
    user_id="user123"
)

API Reference

Full Strata API endpoints
3

Authenticate

import webbrowser

# Open OAuth authorization page
webbrowser.open(response.oauth_urls[McpServerName.GITHUB])
🎉 Your GitHub MCP Server is ready! Once authentication is complete, you can use your MCP server URL with any MCP-compatible client.

Available Tools

Tool NameDescription
github_search_repositoriesSearch for repositories on GitHub
github_get_repositoryGet repository information
github_list_repository_issuesList issues in a repository
github_get_issueGet specific issue details
github_create_issueCreate a new issue
github_update_issueUpdate an existing issue
github_list_pull_requestsList pull requests in a repository
github_get_pull_requestGet specific pull request details
github_create_pull_requestCreate a new pull request
github_list_commitsList commits in a repository
github_get_commitGet specific commit details
github_get_file_contentsGet file contents from a repository
github_create_fileCreate a new file in a repository
github_update_fileUpdate an existing file
github_delete_fileDelete a file from a repository
github_list_branchesList branches in a repository
github_create_branchCreate a new branch
github_list_releasesList releases in a repository
github_create_releaseCreate a new release
For more details about tool input schema, use the get_tools API.

Next Steps

I