Files
kit/example-config.yml
T
2025-06-24 16:29:44 +03:00

46 lines
1.2 KiB
YAML

# Example MCPHost Configuration with Simplified Schema
# This demonstrates the new simplified local/remote/builtin server configuration
mcpServers:
# Local MCP server - runs a command locally
filesystem-local:
type: "local"
command: ["npx", "@modelcontextprotocol/server-filesystem", "/tmp"]
environment:
DEBUG: "true"
LOG_LEVEL: "info"
# Builtin MCP server - runs in-process for optimal performance
filesystem-builtin:
type: "builtin"
name: "fs"
options:
allowed_directories: ["/tmp", "/home/user/documents"]
allowedTools: ["read_file", "write_file", "list_directory"]
# Minimal builtin server - defaults to current working directory
filesystem-cwd:
type: "builtin"
name: "fs"
# Another local server with different command
sqlite:
type: "local"
command: ["uvx", "mcp-server-sqlite", "--db-path", "/tmp/example.db"]
environment:
SQLITE_DEBUG: "1"
# Remote MCP server - connects via StreamableHTTP
websearch:
type: "remote"
url: "https://api.example.com/mcp"
# Another remote server
weather:
type: "remote"
url: "https://weather-mcp.example.com"
# Application settings
model: "anthropic:claude-sonnet-4-20250514"
max-steps: 10
debug: false