๐คน A MCP server to execute Go code in Go Playground and generate shareable URLs
{
"mcpServers": {
"go-playground-mcp": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
๐คน A MCP server to execute Go code in Go Playground and generate shareable URLs
Is it safe?
No package registry to scan.
No authentication โ any process on your machine can connect.
MIT. View license โ
Is it maintained?
Last commit 9 days ago. 5 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience โ it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt โ returns 0-100 signal.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Go Playground Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server that integrates with the Go Playground API to execute Go code and generate shareable URLs.
The server can be used with any MCP-compatible client. The server provides five tools:
run_go_code - Execute Go code and return resultsshare_go_code - Share Go code and get a URLrun_and_share_go_code - Execute code and get both results and share URLread_go_playground_url - Read Go code from an existing Go Playground URLexecute_go_playground_url - Execute Go code from an existing Go Playground URLAdd this to your MCP client configuration:
{
"mcpServers": {
"go-playground": {
"command": "npx",
"args": ["-y", "go-playground-mcp"]
}
}
}
// Read code from https://go.dev/play/xyz123
const result = await mcpClient.callTool("read_go_playground_url", {
url: "https://go.dev/play/xyz123"
});
// Execute code from https://go.dev/play/xyz123
const result = await mcpClient.callTool("execute_go_playground_url", {
url: "https://go.dev/play/xyz123",
withVet: true
});
The new URL-based tools support these Go Playground URL formats:
https://go.dev/play/<snippet-id>https://go.dev/play/p/<snippet-id>https://play.golang.org/p/<snippet-id>Don't hesitate ;)
git clone https://github.com/samber/go-playground-mcp.git
cd go-playground-mcp
npm install
npm run build
# Development mode
npm run dev
# Production mode
npm run build
npm start
Add this to your MCP client configuration:
{
"mcpServers": {
"go-playground": {
"command": "node",
"args": ["dist/index.js"]
}
}
}
Give a โญ๏ธ if this project helped you!
Copyright ยฉ 2025 Samuel Berthe.
This project is MIT licensed.