How it works
Call the MCP endpoint with the application key and the person’s id inX-NeuralTrust-End-User. Nothing is configured up front: the same key runs as
the application when that header is absent and as that person when it is present,
call by call. A request that names someone uses their vaulted credentials, their
consent flow, their tool-list notifications. Two applications never share a
user’s accounts even when they use the same ids.
When a tool needs a server the person has not connected, the call fails with
consent required, carrying a ready-made connect link for that person. Show it;
they authorise the upstream once; the credential is vaulted under them. The
SDK also mints the link ahead of time, so you can offer
Connect GitHub before the first call, and reads each person’s connection state
— connected, needs reconnect, not connected — to render it in your UI.
Show a connect link only to the person it was minted for. The link carries their
identity: whoever opens it links an account under that id.