MGS3034: MCP client script failed
The message following the code names the failed part of the request or includes the Buzz compiler/runtime diagnostic.
What to do
- Supply exactly one of
scriptorpath, and pass arguments throughargs. - Define
main(args: [str])and return a JSON-encodable value. The return is underjson; text fromstd.printis understdout. - Call
magus\describe.module("magus")for the signatures. Label arguments after the first, and annotate every parameter. - Fix any nested
BZZ####compiler or import diagnostic first. - File imports, native FFI, and host modules outside the allowlist are refused.
The allowlist is
magusplusstd,math,crypto,serialize,buffer, and the WASM host modules exceptenv.magus\cmdandmagus\pryare not offered. - A timed-out script hit the call bound. Bounded at 10 minutes when called
directly; a host that supports MCP tasks can run it as a task without that
bound. Otherwise run the script through the
magus buzzCLI. - A script that only reshapes JSON another tool already returned belongs on
the
buzztool, which refusesimport "magus". - If the worker reports an invalid response, report it as a Magus bug with the diagnostic and server version.