development
location
documentation
public
AI
open source
What is Klavis AI is open source MCP integrations for AI Applications.?
Klavis AI provides hosted, high quality, secure MCP servers for AI applications, eliminating auth management and client-side code. It offers instant integration with Python and TypeScript SDKs, built-in authentication, production-ready infrastructure, and access to over 100 tools across various platforms.
Documentation
What is Klavis AI?
Klavis AI is open source MCP integrations for AI Applications. Our API provides hosted, high quality, secure MCP servers, eliminating auth management and client-side code.\n\n## β¨ Key Features
π Instant Integration: Get started in minutes with our Python and TypeScript SDKs, or simply REST API
π Built-in Authentication: Secure OAuth flows and API key management
β‘ Production-Ready: Hosted infrastructure that scales to millions of users
π οΈ 100+ Tools: Access to CRM, GSuite, Github, Slack, databases, and many more
π Multi-Platform: Works with any LLM provider (OpenAI, Anthropic, Gemini, etc.) and any AI agent framework (LangChain, Llamaindex, CrewAI, AutoGen, etc.)
π§ Self-Hostable: Open-source MCP servers you can run yourself
If you already have an MCP client implementation in your codebase:
Python Example
from klavis import Klavis
from klavis.types import McpServerName, ConnectionType
klavis_client = Klavis(api_key="your-klavis-key")
# Create a YouTube MCP server instance
youtube_server = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.YOUTUBE,
user_id="user123", # Change to user id in your platform
platform_name="MyApp" # change to your platform
)
print(f"Server created: {youtube_server.server_url}")
Many MCP servers require authentication. Klavis handles this seamlessly:
server = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.GMAIL,
user_id="user123",
platform_name="MyApp"
)\n\n# Option 1 - OAuth URL is provided in server.oauth_url, redirect user to OAuth URL for authentication
import webbrowser
webbrowser.open(server.oauth_url)
# Option 2 - or for API key services
klavis_client.mcp_server.set_auth_token(
instance_id=server.instance_id,
auth_token="your-service-api-key"
)
π Self-Hosting
Want to run MCP servers yourself? All our servers are open-source:
git clone https://github.com/klavis-ai/klavis.git
cd klavis
# Run a specific MCP server
cd mcp_servers/github
docker build -t klavis-github .
docker run -p 8000:8000 klavis-github