MCP.so
Sign In

MCP Golang Http Server

@davidferlay

Basic information

Category

Other

License

MIT license

Transports

stdio

Author

davidferlay

About MCP Golang Http Server

A simple MCP server exposed via SSE with examples tools, resources and prompts

#mcp-golang-http-server#sse#golang

MCP Golang Http Server config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

MCP Golang Http Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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 --baseurl flag
  • Supports the --omitPort flag 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

Frequently asked questions

1

What runtime or dependencies are required?

The server requires Go to build and run. It depends on the mark3labs/mcp-go library internally.

2

What transport does this server use?

It uses SSE (Server-Sent Events) transport, specified via the `--transport` flag.

3

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`.

4

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.

5

Where does the source code come from?

The server is a modified version of the everything example from the mark3labs/mcp-go repository.

Comments

More Other MCP servers