Repository navigation
Scope MCP client access to specific threads/projects (+ refresh tokens for remote MCP) #37427
rickytaber
started this conversation in
Ideas
Replies: 1 comment
|
The local gate you built is pretty much the shape a native version could take. A few things that helped me with a similar setup:
I work at Permit. This post covers the split between the OAuth scope and the per-call check on specific resources for MCP servers, which is the gap you're describing: https://www.permit.io/blog/authorization-strategies-for-model-context-protocol-mcp |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Moved here from #37422, as suggested.
Use case. We run a backend service (on another server) that needs to wake one dedicated T3 Code thread when something happens (e.g. a support conversation needs attention), and read that thread's result. Today the only way to do this is a bearer session or the remote MCP via T3 Connect/OAuth.
Problem.
orchestration:read+orchestration:operate) also lets it read every thread and project, and start/stop threads anywhere. There is no way to say "this client may only message and read thread X (and its sub-threads)", or "only threads in project Y", or "only threads this client created". The "only threads this link started" limit exists for linked environments in Supervised mode, but not for regular MCP clients.Request.
t3_thread_waitloops.Workaround today. A small local MCP gate that holds the full token and only exposes fixed tools for two thread ids. It works, but a native scoped token would be safer and simpler.
Thanks for T3 Code!
All reactions