mcp-host

Stale
GitHub Go MIT

Description

A CLI host application that enables any LLM to interact with external tools through the Model Context Protocol.

Key Features

  • MCP host - Drives the LLM and MCP server conversation loop from the terminal
  • Multi-model - Compatible with OpenAI, Anthropic, Ollama, and other LLM providers
  • Multi-server - A single instance can attach to many MCP servers and merge their tools
  • Tool discovery - Lists every available tool on startup with interactive invocation
  • Simple config - One YAML/JSON file describes models and server endpoints

Use Cases

💡 Debug MCP toolchains interactively from the terminal
💡 Quickly prototype multi-MCP workflows without writing a host app
💡 Run agent workflows offline alongside Ollama
💡 Drive Agent integration tests from CI

Categories

Quick Start

# Install mcp-host
go install github.com/mark3labs/mcphost@latest

# Point at a config referencing your MCP servers
mcp-host --config ./config.yaml --model gpt-4o

Related Projects