Mcphost Server
MCP server for ollama, openai, and anthropic bridging
Installation
npx mcphost-serverAsk AI about Mcphost Server
Powered by Claude · Grounded in docs
I know everything about Mcphost Server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
MCPHOST-SERVER
A server bridging solution for MCPHOST that enables easy communication with local LLM (Ollama) through HTTP requests. This project is originated from mark3labs/mcphost and adds server capabilities for enhanced functionality.
Added Features
- Server mode for HTTP-based communication with local LLM for interactive requests
- Environment-based configuration
Getting Started
-
Clone the repository
-
Copy the example environment file and configure it, see .env for configuration in details:
cp .example.env .env -
Build the project:
go build -
Run the server:
./mcphost-server
Usage
Server Mode
The server mode is enabled by default and provides HTTP endpoints for interacting with the local LLM. The server will start on the configured port (default: 8115).
Command Line Mode
To use the command-line interface, set server_mode = false in the main.go file and rebuild the project.
Configuration
The application can be configured through:
- Environment variables (see
.example.env) mcp.jsonconfiguration file- Command-line flags
