ma

mark3labs/mcphost

A CLI host application that enables Large Language Models (LLMs) to interact with external tools through the Model Context Protocol (MCP).

#CLI#Large Language Models#Model Context Protocol
Publishermark3labs/mcphost
Submitted date4/19/2025

Overview ๐ŸŒŸ

MCPHost is a CLI host application that enables Large Language Models (LLMs) to interact with external tools through the Model Context Protocol (MCP). It supports models like Claude 3.5 Sonnet, Ollama, Google Gemini, and OpenAI-compatible models.

How to Use

  • Install via go install and configure using a JSON file (~/.mcp.json).
  • Specify the model with --model (e.g., ollama:mistral, anthropic:claude-3-5-sonnet-latest).
  • Interact with tools dynamically using MCP servers.

Key Features

  • Multi-model support (Claude, Ollama, Gemini, OpenAI).
  • Dynamic tool integration via MCP servers.
  • Configurable context management with adjustable message history.
  • Interactive commands (/tools, /history, /quit).

Use Cases

  • Tool-augmented LLM interactions (databases, filesystems).
  • Consistent context management across conversations.
  • Local & cloud-based AI workflows with flexible model choices.

MCPHost bridges LLMs with external tools, enabling powerful, context-aware AI applications. ๐Ÿš€

Visit More

View All