M
Mastra•3d ago
Russell

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!
No description
3 Replies
Russell
RussellOP•3d ago
Managed to solve this using the @hono/mcp package.
No description
Mastra Triager
Mastra Triager•3d ago
šŸ“ 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!
Abhi Aiyer
Abhi Aiyer•3d ago
Hey Russell, the http server should have worked but glad you are unblocked now!

Did you find this page helpful?