Skip to main content
Glama

Code Execution Server

script.lua322 B
wrk.method = "POST" wrk.headers["Content-Type"] = "application/json" wrk.body = [[ { "code": "\ndef sum(a, b):\n return a+b\n\noutput = sum(1,2)\nprint(output)" } ]] function response(status, header, body) if status ~= 200 then print("Status: " .. status) print("Body: " .. body) end end

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/sjtu-sai-agents/mcp_sandbox'

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