Feedback

MCPHost 🤖 — by mark3labs

@mark3labs Claim

Basic information

Runtime
go
Category
License
MIT license
Author
mark3labs
Submitted by
Community
Quality
70
Stars
974

About MCPHost 🤖 — by mark3labs

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

MCPHost 🤖 is a MCP client in the Agent Framework category listed in the AddMCP.net directory, published by mark3labs. Runtime: go. License: MIT license. The repository has 974 GitHub stars. Source code is hosted on github.com.

MCPHost 🤖 — by mark3labs config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

MCPHost 🤖 — by mark3labs tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCPHost 🤖?

MCPHost is a CLI host application that enables Large Language Models (LLMs) to interact with external tools through the Model Context Protocol (MCP). It runs on any system with Go 1.23+ and supports Anthropic Claude 3.5 Sonnet, Ollama models, Google Gemini, and any OpenAI-compatible model with function-calling support.

How to use MCPHost 🤖?

Install with go install github.com/mark3labs/mcphost@latest. Configure MCP servers in ~/.mcp.json (or pass a custom path with --config). Run mcphost with an optional -m flag to choose a model (e.g., mcphost -m ollama:qwen2.5:3b). Set API keys via environment variables or CLI flags. While chatting, use /help, /tools, /servers, or /history to manage the session.

Key features of MCPHost 🤖

  • Interactive conversations with multiple model providers
  • Support for multiple concurrent MCP servers
  • Dynamic tool discovery and integration
  • Tool calling capabilities for both cloud and local models
  • Configurable message history window (default: 10)
  • Consistent command interface across model types
  • STDIO and SSE MCP server configuration

Use cases of MCPHost 🤖

  • Connect a Claude or Ollama model to a SQLite database via an MCP server
  • Give a local LLM access to filesystem operations through a filesystem MCP server
  • Let a Gemini model retrieve and execute external API tools in real time
  • Run a single CLI to test and compare different LLMs with the same tool chain

Frequently asked questions

1 What models does MCPHost support?

It supports Anthropic Claude 3.5 Sonnet, any Ollama model with function calling, Google Gemini models, and any OpenAI-compatible local or online model with function calling support.

2 How do I add an MCP server?

Edit ~/.mcp.json (or the file passed with --config). For STDIO servers, provide a command and args. For SSE servers, provide a url and optional headers. The host will automatically discover and integrate the server’s tools.

3 What is the license?

MCPHost is released under the MIT License.

4 Is there a limit on conversation history?

You can set the number of messages kept in context using the --message-window flag (default is 10). There is no hard limit on total conversation length, but the window controls what is sent to the model.

5 How do I set API keys?

Export ANTHROPIC_API_KEY, GOOGLE_API_KEY, or OPENAI_API_KEY as environment variables, or pass them via the respective --*-api-key CLI flags.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬