A CLI host application that enables LLMs to interact with external tools
Description: CLI host application enabling LLMs to interact with external tools through standardized protocols
Overview: MCPHost is a Go-based CLI application that serves as a host in client-server architecture, managing connections between Large Language Models (Claude 3.5 Sonnet and Ollama models) and external tools.
Category: Developer Tools / LLM Integration
Key Features:
Requirements:
Installation:
go install github.com/mark3labs/mcphost@latest
Configuration Example:
{
"mcpServers": {
"sqlite": {
"command": "uvx",
"args": ["mcp-server-sqlite", "--db-path", "/tmp/foo.db"]
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
}
}
}
Usage Commands:
mcphost -m [provider:model]
/help
- Show available commands/tools
- List available tools/servers
- List configured servers/history
- Display conversation history/quit
- Exit applicationSupported Models:
The application automatically creates a configuration file at ~/.mcp.json
if none exists, and supports custom configuration paths via the --config
flag.