MCP Host
@intelligent-systems-lab
关于 MCP Host
概览
What is MCP Host?
MCP Host is a Python implementation of a Model Context Protocol (MCP) host that connects to Ollama LLM backends and MCP servers, enabling LLMs to use tools from connected servers. It runs as a CLI application on any system with Python and Ollama.
How to use MCP Host?
Install Python and ensure Ollama is running locally or remotely. Create a JSON configuration file (default config.json) defining MCP servers and the Ollama provider, then run python mcp_host.py. During a session, type queries and use special commands like tools or exit.
Key features of MCP Host
- Connects to any number of MCP-compatible servers
- Supports both stdio and SSE transport types
- Seamless integration with local Ollama models
- Enables LLMs to execute tools from connected servers
- Simple CLI with configuration via JSON file
- Debug mode and message‑window control
Use cases of MCP Host
- Extend a local Ollama LLM with live weather data from a weather server
- Allow an LLM to interact with file systems or databases through MCP servers
- Build a multi‑tool assistant that queries multiple remote APIs in one session
- Prototype MCP server integrations without a full‑scale application
FAQ from MCP Host
What LLM providers does MCP Host support?
Currently only Ollama is supported as the LLM provider.
Can I connect to MCP servers over the network?
Yes, MCP Host supports SSE (Server‑Sent Events) transport for remote servers, configured with a URL.
What transport types are supported for MCP servers?
MCP Host supports both stdio (local subprocess) and sse (HTTP‑based) transports.
Is MCP Host free to use?
Yes, it is an open‑source Python project with no licensing fees. You only need to run your own Ollama instance.
How do I see which tools are available from connected servers?
During a chat session, type the special command tools to list all available tools. Use servers to list connected servers.
其他 分类下的更多 MCP 客户端

Prism – Contract Deadline Reader
Built AI, Inc.Give your AI agent a contract reader. Prism reads leases, mortgages, insurance policies and HOA documents and returns every deadline with its exact date, what happens if it is missed, and the sentence it came from. Remot
Unyly
unyly.orgUnyly is the largest MCP catalog — 80,000+ servers indexed from the Official Registry, Smithery, PulseMCP, Glama and npm, normalized into one place. Click Install and Unyly generates the config and adds the server to the
小红书MCP服务
jobsonlook小红书MCP服务 x-s x-t js逆向
tinyagents
albertvillanovaTiny Agents: LLM + MCP Tools
MCP Web Client
jinruoxinchenMCP Web Client project
评论