Unable to make requests to mastra API server
Hi! I've made a new MCP server in mastra. Currently able to connect to it and call tools using port 4111 when running bun mastra dev. However, I am unable to connect to it when I run bun start on port 3000.
I've attached a photo. Not too sure if the implementation from line 11 onwards is correct. Any help would be appreciated!

3 Replies
Managed to solve this using the
@hono/mcp package.
š Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10864
š If you're experiencing an error, please provide a minimal reproducible example whenever possible to help us resolve it quickly.
š Thank you for helping us improve Mastra!
Hey Russell, the http server should have worked but glad you are unblocked now!