Install
$ agentstack add mcp-dwrtz-mcp-go ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
[](https://pkg.go.dev/github.com/dwrtz/mcp-go)
Model Context Protocol SDK for Go
A Go implementation of the Model Context Protocol (MCP).
Overview
This SDK provides a comprehensive implementation of MCP in Go, allowing developers to:
- Create MCP clients to connect to MCP servers
- Build MCP servers that provide context and capabilities
- Handle all core MCP features: resources, prompts, tools, and more
- Support for both stdio and SSE transport
Examples
The SDK includes several example implementations:
Standard stdio Examples
See the [example client](examples/client/main.go) that runs the example servers:
- [prompts](examples/server/prompts/main.go)
- [tools](examples/server/tools/main.go)
- [resources](examples/server/resources/main.go)
SSE Transport Examples
See the SSE (Server-Sent Events) transport examples:
- [SSE server](examples/sse/server/main.go)
- [SSE client](examples/sse/client/main.go)
Running the Examples
Run the stdio-based examples with different servers:
make run-client-promptsmake run-client-toolsmake run-client-resources
Run the SSE examples (in separate terminals):
- Start the SSE server:
make run-sse-server - Start the SSE client:
make run-sse-client
The SSE examples accept command-line flags:
- Server:
--addrto specify listen address (default ":8080") - Client:
--serverto specify server address (default "localhost:8080")
Development Status
This SDK is currently in development. While core functionality is implemented, some features are still in progress:
- [ ]
notifications/cancelledfor request cancellation - [ ]
notifications/progressfor long-running operations - [ ]
logging/setLevelandnotifications/messagefor logs - [x] SSE transport
- [ ] Advanced examples
License
[MIT License](LICENSE)
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: dwrtz
- Source: dwrtz/mcp-go
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.