modelscope·@samber/go-playground-mcp
暂无描述。
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.
后端服务,实现了模型控制面板协议,可连接到 Apache Doris 数据库,允许用户执行 SQL 查询、管理元数据,并且有可能利用大语言模型(LLMs)完成自然语言到 SQL 的转换等任务。
实现模型上下文协议(MCP)的 Node.js 服务器,用于文件系统操作,允许人工智能系统在指定的允许路径内读取、写入、编辑文件和管理目录。
暂无描述。
暂无描述。
暂无描述。
暂无描述。