Mern Chat MCP Server

Mern Chat MCP Server

Enables interaction with a MERN chat application, providing tools to register and login users, manage chats (including group chats), and send/receive messages.

Category
Visit Server

README

mern_chat_app MCP server

Generated from https://github.com/yogsgehlot/Mern-Chat-App (commit 21caed2360bb39358ee031eb29e521a1a1ae1c90).

Setup

  1. pip install -e . (or pip install -r requirements.txt if provided separately).
  2. Copy .env.example to .env and fill in the values below, or have your deployment platform inject them as environment variables directly - nothing here contains real credentials.
  3. Run: python server.py

Required environment variables

Variable Secret? Purpose
MERN_CHAT_APP_BASE_URL no Base URL of the running mern_chat_app API instance

Transport

Two transports, selected via MCP_TRANSPORT:

  • stdio (default) - the standard subprocess transport most MCP hosts use.

  • streamable-http - hosts this server over HTTP/HTTPS at /mcp, so it can run as a standalone network service. Configure with:

    • HOST (default 0.0.0.0), PORT (default 8000)
    • MCP_TLS_CERTFILE / MCP_TLS_KEYFILE - set both to serve HTTPS directly; otherwise plain HTTP is served (fine behind a TLS-terminating proxy/ingress).

    Example: MCP_TRANSPORT=streamable-http PORT=8000 python server.py

Tools

  • register_user - Register a new user account and receive a JWT token in the response.
  • login_user - Authenticate a user with email and password and receive a JWT token in the response.
  • search_users - Search or list all users except the authenticated user; requires JWT Bearer token from login or registration (user-login auth, not a static API key).
  • access_chat - Create or fetch a one-to-one chat with another user; requires JWT Bearer token from login or registration.
  • fetch_chats - Fetch all chats for the authenticated user sorted by most recently updated; requires JWT Bearer token from login or registration.
  • create_group_chat - Create a new group chat; requires JWT Bearer token. The users field must be a JSON-stringified array of user ObjectId strings, not a native JSON array.
  • rename_group_chat - Rename an existing group chat; requires JWT Bearer token from login or registration.
  • remove_from_group - Remove a user from a group chat; requires JWT Bearer token from login or registration.
  • add_to_group - Add a user to a group chat; requires JWT Bearer token from login or registration.
  • get_chat_messages - Retrieve all messages for a chat; requires JWT Bearer token from login or registration.
  • send_message - Send a new message in a chat and update the chat latestMessage; requires JWT Bearer token from login or registration.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured