• ACTIVE
  • SECURE
  • READY
  • HUMAN

How to authenticate your AI with LibreChat credentials

Connect your AI to your LibreChat instance once. After that, it handles the session tokens so you don't have to re-login constantly.

Ask AI about this page

Short answer

How do I log my AI into LibreChat?

The AI uses your email and password to establish a secure session. This keeps your connection alive without manual intervention. You'll see how the authentication flow works below.

The authentication outcomes.

Session status results.

What happens once the connection is established.

ACTIVE

Persistent sessions

The AI uses the login tool to grab session tokens. This keeps your agent logged in and ready to work.

SECURE

Encrypted credentials

Your password stays protected. The AI only uses the credentials to maintain the active connection to LibreChat.

READY

Immediate access

Once the login succeeds, your agent can immediately start interacting with your LibreChat environment.

HUMAN

Manual re-auth

If your session expires or credentials change, you'll need to step in and provide the new details manually.

The workflow

What your AI does when the login request arrives.

The AI handles the heavy lifting of managing your session tokens.

  1. Credential submission

    The AI takes your email and password to initiate the handshake with your LibreChat instance.

    login
  2. Token acquisition

    The agent receives and stores the session tokens required to stay authenticated.

    login
  3. Session maintenance

    The AI uses the active token to prove it is you during subsequent requests.

    login
  4. Error handling

    If the login fails due to wrong credentials, the AI reports the error so you can fix it.

    login

Try it

Copy these to start.

Use these prompts to trigger the authentication process.

Starting points

These are simple ways to kick off the process. Replace the bracketed info with your actual LibreChat details.

LibreChat Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_2Y5OcBZjfHKkJsGbCGI3uDOzGTusTgIZgBtbs3a3/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — LibreChat capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "librechat-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_2Y5OcBZjfHKkJsGbCGI3uDOzGTusTgIZgBtbs3a3/mcp"
    }
  }
}
Copy into chat04
  • Log me into my LibreChat instance at [URL] using [email] and [password].

  • Can you authenticate my session for LibreChat with these credentials: [email] and [password]?

  • Please use the LibreChat login tool to get me signed in.

  • Check if my LibreChat session is still active using my credentials.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect LibreChat once, then ask.

Click the link to connect your instance. Your login info stays encrypted on our side, and you can find the full technical details on the Connector page.

Connect LibreChat to your AI

FAQ

How the authentication behaves.

  • 01

    Does the AI store my password in plain text?

    No. Your credentials are encrypted and used only to facilitate the login process.

  • 02

    Can the AI change my LibreChat password?

    No. The login tool only allows for authentication, not for modifying account security settings.

  • 03

    What happens if my session expires?

    The AI will notify you that the session is invalid, and you will need to run the login command again.

  • 04

    Can the AI delete my LibreChat account?

    No. This MCP does not have any tools for account deletion or user management.

  • 05

    Do I need to log in every time I send a message?

    No. Once the AI successfully logs in, it maintains the session token for you.

  • More questions about LibreChat? See everything the LibreChat Connector can do

Connect LibreChat to Claude, Cursor, ChatGPT & more