-
Pre-submission Checklist
Question Category
Your QuestionI'm working on converting that from go-mcp to mcp/go-sdk for evcc.io. The mcp server is embedded in a bigger application and only it's streamable HTTP returned: func NewHandler(host http.Handler, baseUrl, basePath string) (http.Handler, error) {
srv := mcp.NewServer(&mcp.Implementation{Name: "evcc", Version: util.Version}, nil)
return mcp.NewStreamableHTTPHandler(func(*http.Request) *mcp.Server {
return srv
}, nil)
} From the docs, it's not clear to me if I need to actually |
Beta Was this translation helpful? Give feedback.
Answered by
jba
Aug 9, 2025
Replies: 1 comment 1 reply
-
You don't need to call |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PR is #274.