Self-hosted clients
Use the same Truffl connection from LibreChat or another client that supports remote HTTP and OAuth.
Google Antigravity
Connect a self-hosted LibreChat server
- Use a LibreChat deployment with an external HTTPS address. Merge this configuration into librechat.yaml.
- Restart LibreChat, select the server in a chat with a tool-capable model, and connect. LibreChat registers through OAuth discovery. The callback for this entry is your LibreChat origin followed by /api/mcp/truffl/oauth/callback. Confirm that origin on the Truffl consent screen.
- Select the workspace and permissions for this client. Keep the registration with the issuer that created it.
mcpServers:
truffl:
type: streamable-http
url: https://build.trufflinnovations.in/api/mcp/truffl
requiresOAuth: trueRegister another client
Use a remote Streamable HTTP client with browser sign-in, S256 PKCE and resource indicators. Discover the authorization server from the connector’s protected-resource metadata. Its registration_endpoint accepts a JSON POST.
For a public client send {"redirect_uris":["https://your-app.example/oauth/callback"],"grant_types":["authorization_code","refresh_token"],"response_types":["code"],"token_endpoint_auth_method":"none"}. Save the returned client_id for this connector. Use your actual HTTPS callback with an explicit path. For a native client on the unified endpoint, use its supported loopback callback and PKCE.
Registering an app gives it a client ID. Each user then chooses an eligible workspace and explicitly approves the required permissions. Use a server-side or native MCP connection for tool requests.
Verify access and revocation
- In a fresh chat, ask Evals for evidence from one reviewed call in the selected workspace. Check a known detail against the call in Truffl.
- Open that connector’s connections in Truffl Settings, revoke this app and repeat the request in a fresh chat. It should require authorization again. Any separately approved connector should still work.