Skip to main content
LibreChat connects to Variable as an MCP server, added from LibreChat’s MCP settings. LibreChat registers itself with Variable automatically, and each person signs in to Variable with their own account the first time they use it.

Before you start

  • MCP is enabled for your Variable account. Check the MCP URL row in Company settings. If it shows Not enabled, email us.
  • Your LibreChat instance is served over HTTPS. Variable only sends sign-ins back to an https:// address, or to a plain http:// loopback address (localhost, 127.0.0.1 or [::1]) for a LibreChat running on your own machine. A LibreChat served over plain HTTP on any other hostname can’t connect.

Add Variable

1

Open the MCP settings

In LibreChat’s side panel, open MCP Settings and select Add MCP.
2

Enter Variable's details

Name it Variable and enter https://app.variable.global/mcp as the MCP Server URL. Set Transport to Streamable HTTPS.
3

Leave authentication on auto-detect

Set Authentication to None (Auto-detect). LibreChat finds Variable’s sign-in and registers itself, so there is nothing to fill in.
4

Create the server

Tick I trust this application, then select Create.
5

Connect your Variable account

Select Variable for a conversation. When LibreChat opens Variable, sign in, pick the account to connect, and select Allow.
6

Test it

Ask “list my Variable accounts”.
Don’t choose API Key, or OAuth with a client ID and secret. Variable issues neither, so LibreChat can’t connect with them.

Share it with other LibreChat users

You can share the Variable server with other people on your LibreChat instance. Sharing gives them the server, not your Variable access: each person signs in to Variable with their own account the first time they use it, and sees only the Variable accounts they belong to.

Troubleshooting

For anything else, see the general troubleshooting table.