
MCP OAuth
User permissions can now be passed to the MCP server, allowing fine grain permissions on a per-user basis for DIY use cases outside Omni.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Okay, I guess I'll hop in and get going. Um, so I'm going to show off uh userbased permissions for the MCP server. We've been been getting more demand for this. So my demo is that I'm on my uh Gustav Omni Co user and I only have the users topic. And if I go to my users and I impersonate as my alternative user, uh you'll see that I should have different topics.
So I have the events topics and the users topics. So I have two users with different uh topic access and I want that to be respected by the MCP server which u historically did not uh respect that. So for the first test case, I'm going to be using MTP as the user with both topics. So if I say Omni, show me count of events, it's going to go and fetch the events topic and then go and get the the total count of events.
So let's just validate that. Yeah, looks like it got the events topic. And then for the data, it's calling the events topic, asking for count. Just going to run that query. Okay, that looks just about right. So now what we're going to do is we're going to change the uh user to the one that's restricted. So let's come in here and change our user ID really quickly.
Um, and let's reboot Claude to pick up that change. Show me account of events. It's going to go and pick the topic. Uh, it's going to try to get event data and it's going to come back with users because that's the only topic it has access to. And now it'll either do one of two things. It'll either show a count of uh users.
Okay, in this case it says like I can't generate that query for you because there's no event data in the users table. So it's, you know, going to try again and this time it just gave you a count of users. Um, and if we try to get sneaky and we say let's just call the get data tool with topic ID as events.
Um, we're going to see if we can, you know, try to force it to pick the events topic when it's the user that doesn't have access. So, it's calling the events topic and it's going to say, I can't do that. Like, that topic just doesn't exist um for this user. So, that's the demo. Uh, we have a lot of customers asking about using this uh in their embedded AI use cases.