LibreChat MCP Servers logo

LibreChat MCP Servers

by wally-kroeker

This repository provides Model Context Protocol (MCP) server implementations designed to extend LibreChat's functionalities via the Supergateway bridge. It offers a framework for integrating various tools and services into LibreChat's agent system.

View on GitHub

Last updated: N/A

What is LibreChat MCP Servers?

This project provides a set of MCP server implementations that can be integrated with LibreChat using Supergateway. Supergateway acts as a bridge, converting stdio-based MCP servers to SSE (Server-Sent Events), allowing them to communicate with LibreChat in a Docker environment. MCP servers provide tools and functionalities that can be utilized by the Agent.

How to use LibreChat MCP Servers?

To use these MCP servers, you need a running LibreChat installation, Docker, and Docker Compose. Create a directory for your MCP server, add a Dockerfile to build the server, update the docker-compose.override.yml file to add the service, and update the librechat.yaml file to configure the MCP server. Supergateway is used to bridge the stdio MCP server to SSE.

Key features of LibreChat MCP Servers

  • Stdio to SSE bridging via Supergateway

  • Dockerized deployment for easy integration

  • Consistent port numbering for easy configuration

  • Environment variable usage for secure secrets management

  • Modular design for adding new MCP servers

Use cases of LibreChat MCP Servers

  • Integrating search APIs (e.g., Brave Search) with LibreChat

  • Adding custom tools and functionalities to LibreChat agents

  • Connecting various LLMs to LibreChat through MCP servers

  • Creating a scalable architecture for extending LibreChat's capabilities

  • Implementing secure and isolated MCP server deployments

FAQ from LibreChat MCP Servers

What is MCP?

MCP stands for Model Context Protocol, a standard for communication between language models and external tools.

What is Supergateway?

Supergateway is a tool that converts stdio-based MCP servers to SSE, making them compatible with LibreChat.

Why use Docker?

Docker provides a consistent and isolated environment for running MCP servers, simplifying deployment and management.

How do I add a new MCP server?

Create a new directory under mcp/, add a Dockerfile and README.md, update docker-compose.override.yml, and update librechat.yaml.

What ports should I use?

Use port 8003 for Brave Search and reserve ports 8004-8099 for future MCP servers.