python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

Equivalent of stdio ENV vars in SSE

Open JorgeRuizITCL opened this issue 1 year ago • 1 comments

What is the equivalent of environment variables or CLI arguments to customize each SSE connection?

I haven't found anything, and not being able to send additional parameters that are accessible from the context makes it difficult to host a single SSE server that is flexible and reusable.

I’ve seen that the FastMCP client allows sending headers, but there’s no way to access them from the context, so they can’t be used to parameterize the connection.

At the moment, it seems that using SSE limits the user to have a single configuration, a single api key, a single user that can perform remote actions, a single database to connect to.

JorgeRuizITCL avatar Apr 04 '25 05:04 JorgeRuizITCL

I'm hoping that linking this PR to multiple issues will get the maintainers' attention :-)

samirbajaj avatar Apr 09 '25 23:04 samirbajaj