Skip to main content
Glama

Sandbox MCP

MIT License
78
  • Linux
  • Apple
go.json1.22 kB
[ { "request": { "main_go": "package main\n\nimport \"fmt\"\n\nfunc main() {\n\tfmt.Println(\"hello!\")\n}", "go_mod": "module example\n\ngo 1.19\n" }, "response": { "text": "hello!\n" } }, { "request": { "main_go": "package main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\tdata, err := ioutil.ReadFile(\"hello.txt\")\n\tif err != nil {\n\t\tfmt.Fprintf(os.Stderr, \"Error reading file: %v\\n\", err)\n\t\tos.Exit(1)\n\t}\n\tfmt.Print(string(data))\n}", "go_mod": "module example\n\ngo 1.19\n", "files": [ { "filename": "hello.txt", "content": "hello!" } ] }, "response": { "text": "hello!" } }, { "request": { "main_go": "package main\n\nimport \"invalid/package\"\n\nfunc main() {\n\tfmt.Println(\"This won't compile\")\n}", "go_mod": "module example\n\ngo 1.19\n" }, "response": { "text": "package invalid/package is not in std", "isError": true } } ]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pottekkat/sandbox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server