Straight usage of @mastra/server
Is it ok to use @mastra/server to serve my agents on the web to mastra client? Instead of the whole mastra CLI?
I guess it can also support mastra client in frontend.
Am i missing something?
2 Replies
Tags deployer and client sdk
Hi @yairtheyair ! You can use
mastra build and then only deploy the .mastra/output folder. Then you should be able to run the mastra app using node: `node --import=./instrumentation.mjs --import=@opentelemetry/instrumentation/hook.mjs ./index.mjs