https://github.com/davidferlay/mcp-go-sse-server
A simple MCP server exposed via SSE with examples tools, resources and prompts
https://github.com/davidferlay/mcp-go-sse-server
Last synced: 2 months ago
JSON representation
A simple MCP server exposed via SSE with examples tools, resources and prompts
- Host: GitHub
- URL: https://github.com/davidferlay/mcp-go-sse-server
- Owner: davidferlay
- License: mit
- Created: 2025-03-25T09:22:59.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-27T15:15:18.000Z (7 months ago)
- Last Synced: 2025-03-27T16:27:25.760Z (7 months ago)
- Language: Go
- Homepage:
- Size: 4.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - **mcp-go-sse-server** - A simple MCP server exposed via SSE with examples tools, resources and prompts `go` `mcp` `server` `go install davidferlay/mcp-go-sse-server@latest` (⚙️ DevOps)
- awesome-mcp-servers - **mcp-go-sse-server** - A simple MCP server exposed via SSE with examples tools, resources and prompts `go` `mcp` `server` `go install davidferlay/mcp-go-sse-server@latest` (DevOps)
README
# mcp-go-sse-server
A simple MCP server exposed via SSE with examples tools, resources and prompts.
Modified example from https://github.com/mark3labs/mcp-go/blob/main/examples/everything/main.go
Run with:
- `go build . && ./mcp-go-sse-server --transport sse --baseurl http://localhost`
- `go build . && ./mcp-go-sse-server --transport sse --baseurl https://mcp.example.com --omitPort`
A real use-case example implementing tools to read from a postgres database and write to a nats channel can be found on branch [`nats-postgres`](https://github.com/davidferlay/mcp-go-sse-server/tree/nats-postgres)