What is Getting started with Knit-MCP servers for efficient workflow management.?
This document provides a comprehensive overview of setting up and operating Knit-MCP servers. The process involves logging into the platform, creating a server, and selecting the necessary tools and applications to facilitate your workflow.
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