mcphost

mcphost

CLI host application that enables large language models to interact with external tools via the Model Context Protocol (MCP).

MCPDevOpen source
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 1.6k
Source
mcp-github

Overview

mcphost is a command-line interface host application that uses the Model Context Protocol (MCP) to allow large language models (such as Claude, OpenAI, Google Gemini, and Ollama) to interact with external tools. The application supports multiple models and provides a consistent command interface and context management capabilities. Users can configure API keys and other parameters via configuration files or environment variables. Ideal for developers needing to integrate language models with external tools.

Capabilities

  • Supports multiple large language models
  • Concurrent connections to multiple MCP servers
  • Dynamic tool discovery and integration
  • Configurable message history window
  • OAuth authentication support

Use cases

Automated script generationInteraction with external data sourcesMulti-model conversational systemsCustom security policies

Setup

Requires: Go 1.23 或更高版本API KeyOllama 安装(如果使用 Ollama 模型)
go install github.com/mark3labs/mcphost@latest

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How do I install mcphost?

Use the command `go install github.com/mark3labs/mcphost@latest`.

Which models are supported?

Supports Claude, OpenAI, Google Gemini, and Ollama models.

Related skills