Skip to main content

Connect LibreChat to MintMCP

Connect your LibreChat instance to MCP servers managed by MintMCP.

Prerequisites

  • LibreChat running (Docker or standalone)
  • Admin access to LibreChat configuration files
  • A MintMCP account with access to at least one MCP server

Get your MCP URL

  1. Go to MCP store in MintMCP
  2. Click the MCP server you want to connect
  3. Go to the MCP Client Setup tab
  4. Copy the MCP URL
MCP URL in the client setup tab

Configure LibreChat

Add your MCP server to librechat.yaml:

mcpServers:
my-server:
type: streamable-http
url: https://app.mintmcp.com/s/abc123/mcp
timeout: 60000

Replace the url with your MCP URL from MintMCP.

For Docker, ensure the config is mounted in docker-compose.yml:

services:
api:
volumes:
- ./librechat.yaml:/app/librechat.yaml:ro

Then restart LibreChat:

docker-compose restart

Authenticate

  1. Open LibreChat in your browser
  2. Start a new chat
  3. Find the MCP dropdown below the text input
  4. Select your MCP server
MCP server dropdown in LibreChat
  1. Complete the MintMCP OAuth flow
MintMCP authentication screen
  1. A green popup confirms the connection

Verify the connection

With your MCP server selected, ask LibreChat to use a tool from the server.