MCP ExplorerExplorer

Mcphost Server

@JinsonWuon 10 months ago
1 MIT
FreeCommunity
AI Systems
MCP server for ollama, openai, and anthropic bridging

Overview

What is Mcphost Server

mcphost-server is an MCP server designed for bridging communication between various AI platforms such as Ollama, OpenAI, and Anthropic, facilitating seamless requests and responses.

Use cases

Use cases include developing chatbots that utilize multiple AI engines, conducting research that requires comparing outputs from different models, and creating applications that leverage the strengths of various AI platforms.

How to use

To use mcphost-server, clone the repository from GitHub, set up the necessary environment, and run the server to start handling requests between the supported AI models.

Key features

Key features include easy integration with multiple AI services, efficient request handling, and the ability to bridge different AI models for enhanced communication.

Where to use

mcphost-server can be used in AI development environments, research projects, and applications that require interaction between different AI systems.

Content

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

  1. Clone the repository

  2. Copy the example environment file and configure it, see .env for configuration in details:

    cp .example.env .env
    
  3. Build the project:

    go build
    
  4. 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.json configuration file
  • Command-line flags

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers