MCP.so
登录

MCPHOST-SERVER

@JinsonWu

关于 MCPHOST-SERVER

MCP server for ollama, openai, and anthropic bridging

基本信息

分类

AI 与智能体

许可证

MIT

运行时

go

传输方式

stdio

发布者

JinsonWu

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCPHOST-SERVER?

MCPHOST-SERVER is a server bridging solution for MCPHOST that enables easy communication with a local LLM (Ollama) through HTTP requests. It is a fork of mark3labs/mcphost that adds server capabilities for enhanced functionality.

How to use MCPHOST-SERVER?

Clone the repository, copy .example.env to .env and configure it, then build with go build and run with ./mcphost-server. The server starts on the configured port (default 8115) in server mode by default. To use the command-line interface, set server_mode = false in main.go and rebuild.

Key features of MCPHOST-SERVER

  • HTTP-based server mode for interactive LLM requests
  • Environment-based configuration via .env file
  • Support for mcp.json configuration file
  • Command-line flags for configuration
  • Default listen port 8115

Use cases of MCPHOST-SERVER

  • Exposing local Ollama LLM capabilities through HTTP endpoints
  • Integrating MCPHOST with external applications via REST API
  • Running LLM interactions in a server context without a CLI
  • Testing or prototyping MCP tools with a local LLM backend

FAQ from MCPHOST-SERVER

How do I start the MCPHOST-SERVER?

Run ./mcphost-server after building the project. The server will start in server mode on the configured port.

How do I change the port or other settings?

Edit the .env file (copy from .example.env) or use command-line flags. The default port is 8115.

Can I use the command-line interface instead of the server?

Yes. Set server_mode = false in main.go, rebuild the project, and then run ./mcphost-server to use CLI mode.

What LLM does MCPHOST-SERVER work with?

It is designed to work with a local LLM via Ollama.

How do I configure MCPHOST-SERVER?

Use environment variables (via .env file), a mcp.json configuration file, or command-line flags. See .example.env for details.

评论

AI 与智能体 分类下的更多 MCP 服务器