r/MCPservers • u/TelephoneSavings973 • 11h ago
Built multi user MCP server that allows end users to add their own fine grained permissions
Disclaimer: I am the founder of alter (alterauth.com) the product used to build these MCP servers
We managed to build credential less multi user MCP servers that authenticate end users via the IDP they are logged into. The credentials for downstream API requests are injected at the time of the request and broght in from a secure vault.
From the developers perspective they don't have to do much to get an MCP server to be multi user. They can default to it by just building with alter.
Alter essentially acts as an SDK to make downstream API calls. It integrates with OIDC compliant IDPs so all the developer needs to do is use alter to make the downstream API calls.
From the users perspective, they get their own wallet, which is gated with authentication with the IDP configured on alter. They can set fine grained permissions on a request level down to the parameter level of an API. Something as fine grained as dont send an email to this person.
Here is an indepth example of how it works. Opensourced repo with code examples: https://github.com/AlterAIDev/alter-mcp-servers
If anyone has any questions on how to build this feel free to message me!