mcp-golang-http-server
@davidferlay
关于 mcp-golang-http-server
A simple MCP server exposed via SSE with examples tools, resources and prompts
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is mcp-golang-http-server?
A simple MCP server exposed via SSE (Server-Sent Events) with example tools, resources, and prompts. It is based on the example from the mark3labs/mcp-go GitHub repository. The server is built with Go and is intended for developers experimenting with or testing the Model Context Protocol.
How to use mcp-golang-http-server?
Build the binary with go build . and run it with ./mcp-golang-http-server --transport sse --baseurl http://localhost. For a public deployment, use --baseurl https://mcp.example.com and optionally add the --omitPort flag to exclude the port from the URL.
Key features of mcp-golang-http-server
- Exposes MCP via SSE transport
- Includes example tools, resources, and prompts
- Built using the mark3labs/mcp-go library
- Configurable base URL via the
--baseurlflag - Supports the
--omitPortflag for cleaner URLs
Use cases of mcp-golang-http-server
- Testing MCP clients against a live SSE endpoint
- Demonstrating how to implement a Go-based MCP server
- Prototyping and experimenting with tools, resources, and prompts
- Serving as a reference implementation for MCP over HTTP
FAQ from mcp-golang-http-server
What runtime or dependencies are required?
The server requires Go to build and run. It depends on the mark3labs/mcp-go library internally.
What transport does this server use?
It uses SSE (Server-Sent Events) transport, specified via the --transport flag.
How do I configure the server’s base URL?
Use the --baseurl flag when running the server, for example --baseurl http://localhost or --baseurl https://mcp.example.com.
Is there a way to omit the port from the URL?
Yes, add the --omitPort flag to exclude the port from the server’s URL.
Where does the source code come from?
The server is a modified version of the everything example from the mark3labs/mcp-go repository.
其他 分类下的更多 MCP 服务器
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
评论