context7 icon indicating copy to clipboard operation
context7 copied to clipboard

Smithery: convert server to native HTTP for better remote performance

Open arjunkmrm opened this issue 1 year ago • 3 comments

Hi 👋 Arjun from the Smithery team here! Your server is one of the top ones in our platform with close to 30K uses a month. Currently your STDIO server is hosted and served via HTTP for end users of our platform, but this limits the maximum concurrent connections to 50 users.

We recommend converting this to a native HTTP server to scale this up much higher and provide a better user experience! We have a convenient function in our sdk that can help wrap your server to run with the streamable HTTP transport (https://github.com/smithery-ai/sdk/tree/main/typescript/sdk). It could still run in STDIO by default so it doesn't break existing installations. Let me know if this is something you would be interested in! Happy to make a PR

arjunkmrm avatar May 27 '25 14:05 arjunkmrm

Hey Arjun, this is Enes from the Context7 team.

We currently have a PR: https://github.com/upstash/context7/pull/208 Would this work for you guys?

Since Windsurf doesn’t support the HTTP stream transport protocol yet, we were planning to create two separate endpoints. One for HTTP and one for SSE. Let us know what you think.

enesgules avatar May 27 '25 16:05 enesgules

hey Enes, that would work. I made a PR: https://github.com/upstash/context7/pull/233

arjunkmrm avatar May 27 '25 18:05 arjunkmrm

Thanks @arjunkmrm for #238

enesgules avatar May 29 '25 21:05 enesgules