Skip to main content
Glama

Sandbox MCP

MIT License
78
  • Linux
  • Apple
javascript.json1.15 kB
[ { "request": { "index_js": "console.log(\"Hello from JavaScript!\");" }, "response": { "text": "Hello from JavaScript!\n" } }, { "request": { "index_js": "const fs = require('fs');\nconst content = fs.readFileSync('test_file.txt', 'utf8');\nconsole.log(content);", "files": [ { "filename": "test_file.txt", "content": "This is a test file for JavaScript sandbox." } ] }, "response": { "text": "This is a test file for JavaScript sandbox.\n" } }, { "request": { "index_js": "const nonExistentFunction = require('non-existent-module');\nconsole.log(\"This won't execute\");" }, "response": { "text": "Cannot find module 'non-existent-module'", "isError": true } }, { "request": { "index_js": "console.log(process.version);\nconsole.log(process.env.HOME);" }, "response": { "text": "/sandbox" } }, { "request": { "index_js": "throw new Error('Test error');" }, "response": { "text": "Error: Test error", "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