https://github.com/JinsonWu/mcphost-server
MCP server for ollama, openai, and anthropic bridging
https://github.com/JinsonWu/mcphost-server
Last synced: about 2 months ago
JSON representation
MCP server for ollama, openai, and anthropic bridging
- Host: GitHub
- URL: https://github.com/JinsonWu/mcphost-server
- Owner: JinsonWu
- License: mit
- Created: 2025-04-03T07:01:42.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-06-04T03:52:49.000Z (5 months ago)
- Last Synced: 2025-06-04T10:31:02.184Z (5 months ago)
- Language: Go
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - **mcphost-server** - MCP server for ollama, openai, and anthropic bridging `go` `mcp` `server` `ai` `go install JinsonWu/mcphost-server@latest` (⚙️ DevOps)
- awesome-mcp-servers - **mcphost-server** - MCP server for ollama, openai, and anthropic bridging `go` `mcp` `server` `ai` `go install JinsonWu/mcphost-server@latest` (DevOps)
README
# 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](https://github.com/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
1. Clone the repository
2. Copy the example environment file and configure it, see .env for configuration in details:
```bash
cp .example.env .env
```
3. Build the project:
```bash
go build
```
4. Run the server:
```bash
./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.json` configuration file
- Command-line flags