SSE Server Authorization #92
Replies: 4 comments 3 replies
-
@robert-jackson-glean Unfortunately it currently just supports authorization via the headers. And there is no other way than to inline them. If it's a server that is available in some platform like composio you can add a connection there and just enter url in the config. |
Beta Was this translation helpful? Give feedback.
-
Yeah, right now I'm working on creating a private server (though we might end up with a public demo version? I'm not 100% sure). I'm trying to aim to support the latest spec version (2025-03-25) with the authorization details, and really would prefer to test in my favorite editor 😝 (instead of a VSCode-a-like). |
Beta Was this translation helpful? Give feedback.
-
RE: Composio, they don't really follow the authorization parts of the spec (my coworker and I did a deep dive of how they have it working the other day). They create a unique endpoint URL for each user, this way the tools listing shown is guaranteed to be unique to the user without authorization first. Then upon first tool invocation, they do the authorization step. I believe this is done because the original spec didn't account for the SSE server returning a 401 and the client automatically handling the OAuth flow. As far as I can tell, the latest spec specifically allows us to avoid needing a custom endpoint per user, I'd rather have URLs for my hosted MCP server to be like
|
Beta Was this translation helpful? Give feedback.
-
@robert-jackson-glean This is implemented with v4.10.0 Please see the #99 discussion Let me know if you are having any issues |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed in the README that this plugin now supports SSE based servers as well as STDIO, great work!!! I am working on setting up an SSE based server for some work projects and wanted to try it out.
I have a couple of high level questions though:
op
(1Password's CLI) to execute and return it or just load it from an environment (that I could configure).Beta Was this translation helpful? Give feedback.
All reactions