- Explore MCP Servers
- mcp-go-sse-server
Mcp Go Sse Server
What is Mcp Go Sse Server
mcp-go-sse-server is a simple MCP server that utilizes Server-Sent Events (SSE) to provide real-time data streaming. It includes example tools, resources, and prompts for users.
Use cases
Use cases for mcp-go-sse-server include applications that need to read data from a PostgreSQL database and publish it to a NATS channel, as demonstrated in the provided example.
How to use
To use mcp-go-sse-server, build the project using ‘go build .’ and run it with the command ‘./mcp-go-sse-server --transport sse --baseurl http://localhost’ or with a specified base URL. An example implementation can be found on the ‘nats-postgres’ branch.
Key features
Key features of mcp-go-sse-server include real-time data streaming via SSE, easy setup with Go, and example implementations for integrating with PostgreSQL and NATS.
Where to use
mcp-go-sse-server can be used in web applications that require real-time updates, such as dashboards, live notifications, and data monitoring systems.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Go Sse Server
mcp-go-sse-server is a simple MCP server that utilizes Server-Sent Events (SSE) to provide real-time data streaming. It includes example tools, resources, and prompts for users.
Use cases
Use cases for mcp-go-sse-server include applications that need to read data from a PostgreSQL database and publish it to a NATS channel, as demonstrated in the provided example.
How to use
To use mcp-go-sse-server, build the project using ‘go build .’ and run it with the command ‘./mcp-go-sse-server --transport sse --baseurl http://localhost’ or with a specified base URL. An example implementation can be found on the ‘nats-postgres’ branch.
Key features
Key features of mcp-go-sse-server include real-time data streaming via SSE, easy setup with Go, and example implementations for integrating with PostgreSQL and NATS.
Where to use
mcp-go-sse-server can be used in web applications that require real-time updates, such as dashboards, live notifications, and data monitoring systems.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
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://localhostgo 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
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










