You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update README.md with comprehensive HTTP Streams transport documentation (#6)
- Add HTTP Streams as the default transport option
- Create dedicated Transport Options section with detailed comparison
- Update all examples to show HTTP Streams as default
- Add links to detailed documentation for each transport
- Update Docker examples to reflect new default
- Add comprehensive transport comparison table
- Include documentation section with links to all guides
Co-authored-by: openhands <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+87-7Lines changed: 87 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# MCP Server Framework
2
2
3
-
A simple, reusable Model Context Protocol (MCP) server framework written in Go. This framework supports both STDIO and Server-Sent Events (SSE) transports and can be used as both a library and a standalone executable.
3
+
A simple, reusable Model Context Protocol (MCP) server framework written in Go. This framework supports multiple transport mechanisms including HTTP Streams (MCP-compliant), SSE (Server-Sent Events), and STDIO transports and can be used as both a library and a standalone executable.
4
4
5
5
## Features
6
6
7
-
- 🚀 **Multiple Transports**: Support for STDIO and SSE (Server-Sent Events)
7
+
- 🚀 **Multiple Transports**: Support for HTTP Streams (MCP-compliant), SSE (Server-Sent Events), and STDIO
8
8
- 📦 **Library & Standalone**: Use as a Go library or run as a standalone server
9
9
- 🧪 **Well Tested**: Comprehensive test coverage
10
10
- 🔄 **JSON-RPC 2.0**: Full JSON-RPC 2.0 protocol support
@@ -18,11 +18,14 @@ A simple, reusable Model Context Protocol (MCP) server framework written in Go.
18
18
### As a Standalone Server
19
19
20
20
```bash
21
-
#STDIO transport (default)
22
-
go run cmd/mcp-server/main.go
21
+
#HTTP Streams transport (default)
22
+
go run cmd/mcp-server/main.go -addr=8080
23
23
24
24
# SSE transport
25
25
go run cmd/mcp-server/main.go -transport=sse -addr=8080
0 commit comments