echo
echo copied to clipboard
Add Echo MCP tool
Hi!
I added a reference to the echo-mcp tool.
I created this lib to automatically convert any Echo API to an MCP Tool that can be called by any agent.
The setup is really simple:
e := echo.New()
// Existing API routes
e.GET("/ping", func(c echo.Context) error {
return c.JSON(http.StatusOK, map[string]string{"message": "pong"})
})
// Add MCP support
mcp := server.New(e)
mcp.Mount("/mcp")
e.Start(":8080")