Go Playground MCP Server
A Model Context Protocol (MCP) server that integrates with the Go Playground API to execute Go code and generate shareable URLs.
🧙 Features
- Run Go Code: Execute Go code in the Go Playground sandbox
- Share Code: Generate shareable URLs for Go code snippets
- Run and Share: Execute code and get both results and share URL in one operation
- MCP Integration: Full Model Context Protocol compliance
🏃♂️ Usage
The server can be used with any MCP-compatible client. The server provides three 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 URL
Add this to your MCP client configuration:
🤝 Contributing
- Ping me on Twitter @samuelberthe (DMs, mentions, whatever :))
- Fork the project
- Fix open issues or request new features
Don't hesitate ;)
Install
- Clone this repository:
- Install dependencies:
- Build the project:
Running the Server
Add this to your MCP client configuration:
👤 Contributors
💫 Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2025 Samuel Berthe.
This project is MIT licensed.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables execution of Go code in the Go Playground sandbox and generation of shareable URLs for code snippets. Provides tools to run Go code, share code via URLs, or perform both operations simultaneously.
Related MCP Servers
- AsecurityFlicenseAqualityCreate sandboxed local development environments directly from Github and execute tests, see coverage and more! Supports Python, Node, Bun and many test runners.Last updated -426
- -securityFlicense-qualityProvides isolated Docker environments for code execution, enabling users to create and manage containers, execute multi-language code, save and reproduce development environments, ensuring security and isolation.Last updated -11
- AsecurityAlicenseAqualityFacilitates searching and accessing programming resources across platforms like Stack Overflow, MDN, GitHub, npm, and PyPI, aiding LLMs in finding code examples and documentation.Last updated -638AGPL 3.0
- -securityFlicense-qualityProvides code generation and completion capabilities using the DeepSeek API, with support for tool chaining and cost optimization.Last updated -3