MCP Hosting
The MCP Hosting layer runs and manages MCP servers directly within Obot. It handles deployment, lifecycle management, and runtime isolation for MCP servers.
Runtime Types
- Node.js (npx): Run npm-packaged MCP servers via STDIO
- Python (uvx): Run PyPI-packaged MCP servers via STDIO
- Containerized: Run Docker containers with HTTP/SSE transport
Server Types
- Single-user: Each user gets their own isolated instance with separate credentials
- Multi-user: A shared instance serves multiple users with shared or per-user credentials
- Remote: External MCP servers accessed via HTTP, not hosted by Obot
- Composite: Combines multiple servers into a single virtual server with curated tools
Deployment Environments
Docker
When running Obot with Docker, MCP servers are deployed as sibling containers:
- Obot communicates with the Docker daemon to manage containers
- Servers run alongside the Obot container
- Suitable for development and small deployments
- See Docker Deployment for setup details
Kubernetes
For production deployments, Obot can deploy MCP servers to Kubernetes:
- Servers run as pods in the cluster
- Supports resource limits, network policies, and scaling
- See MCP Deployments in Kubernetes for configuration details
Authentication
Obot handles OAuth 2.1 flows for MCP servers that require authentication:
- OAuth credentials stored securely with encryption at rest
- Automatic token refresh
- Per-user credential isolation
- Supports custom OAuth configurations
See MCP Server OAuth Configuration for details on configuring OAuth for MCP servers.
Learn More
- MCP Servers - Adding and configuring MCP servers
- Installation - Deployment environments and setup