librechat.md

LibreChat MCP setup

MCP host
from"LibreChat"

LibreChat is an open-source, self-hosted chat UI that can call MCP tools. Admins define servers under mcpServers in librechat.yaml; users with permission can add remote servers from the MCP Settings panel. With MCP Apps turned on, a tool result that ships a UI shows an Open app button and loads the view in a sandboxed frame.

Source and setup verified on 2026-11-03

Communication
LibreChatchatwebMCP

Quick facts

Type
MCP host (self-hosted web app)
Config
librechat.yaml → mcpServers (restart to apply)
Transports
stdio (yaml only), streamable-http, SSE
MCP Apps (inline UI)
Supported, opt-in
Limits
Apps do not render in shared conversations
setup.md
# 1. Add servers to librechat.yaml

Put each server under mcpServers. A server with a command is treated as stdio.

# 2. Set the type for remote servers

A URL without a type falls back to SSE. Set type: streamable-http explicitly; LibreChat recommends it for multi-user deployments.

# 3. Restart LibreChat

Changes to librechat.yaml only apply after a restart.

# 4. Optional: let users add their own

Users with permission can add remote servers (name, URL, transport, auth) from MCP Settings. Local stdio servers can only be defined in librechat.yaml.

# LibreChat → librechat.yaml
mcpServers:
  obsidian:
    command: npx
    args:
      - -y
      - mcp-obsidian
      - /path/to/obsidian/vault
  my-remote-server:
    type: streamable-http
    url: https://example.com/mcp

Always confirm the latest setup instructions with the maintainer before installing.

>Questions

Does LibreChat support MCP Apps?

Yes. When MCP Apps are enabled, the tool call shows an Open app button that loads the view in a sandboxed frame. An app cannot run a tool or send a message until you approve the prompt it raises.

Can users add stdio servers from the LibreChat UI?

No. Servers added from MCP Settings must be remote URLs (streamable-http or SSE). Local stdio servers have to be defined by an admin in librechat.yaml.

Why does my remote server connect over SSE?

If url starts with http:// or https:// and type is missing, LibreChat defaults to SSE. Add type: streamable-http.