Sponsored by Deepsite.site

Chat Relay Mcp

Created By
akshatmalik-bruha month ago
Chat Relay MCP is a local-first MCP server that lets you continue AI conversations seamlessly across IDEs like Cursor and Antigravity. It stores conversation history, architecture decisions, and important context in a local SQLite database so you can restore sessions instantly without re-explaining your entire project. Open source, lightweight, fully local, and designed for fast AI workflow handoffs between tools.
Overview

🌐 Chat Relay MCP

npm version License: MIT MCP Protocol

Chat Relay MCP is a high-fidelity Model Context Protocol server designed to bridge the gap between AI-powered IDEs. It provides a persistent, local-first bridge to sync chat sessions, AI memories, and project context across Cursor, Antigravity, VS Code, and more.

NOTE

Compatibility: Tested and optimized for Cursor and Antigravity.

✨ Key Features

  • Persistent Continuity: Automatically saves and syncs AI memories across separate sessions using a local SQLite database.
  • Cross-IDE Handoff: Effortlessly transfer conversation context between different IDE (e.g., from Cursor to Antigravity).
  • Zod-Validated Integrity: Strict schema validation ensures AI-generated data is clean, structured, and free from hallucinations.
  • Local-First Privacy: All data stays on your machine. No external cloud dependencies or third-party storage.

🚀 Quick Start

To use Chat Relay, you need to add it to your IDE's MCP configuration.

1. Configuration for Cursor

  1. Open Cursor Settings (Gear icon or Cmd/Ctrl + Shift + J).
  2. Navigate to General -> MCP.
  3. Click on + Add New MCP Server.
  4. Set the name to chat-relay.
  5. Set the type to command.
  6. Paste the following into the Command field:
    npx -y chat-relay-mcp
    

2. Configuration for Antigravity

  1. Open Antigravity Settings.
  2. Go to Advanced -> MCP Settings.
  3. Click Edit Config File.
  4. Ensure your configuration includes the chat-relay entry inside the mcpServers block:
{
  "mcpServers": {
    "chat-relay": {
      "command": "npx",
      "args": ["-y", "chat-relay-mcp"]
    }
  }
}

🛠️ Tools Available

The relay exposes a suite of tools that your AI can use to manage context:

ToolDescription
create_sessionInitialize a new context tracking session with a unique ID.
save_messagesBatch save conversation history to the persistent database.
add_memoryStore specific facts or architectural decisions for long-term recall.
get_sessionGenerate a comprehensive Handoff Prompt to transfer context to another IDE.
list_sessionsRetrieve a directory of active context-sharing sessions.
delete_sessionSecurely wipe all data associated with a specific session.

💻 Local Development

If you want to modify the server or run it from source:

  1. Clone the repository:

    git clone https://github.com/akshatmalik-bruh/ClientRelayMcp.git
    cd ClientRelayMcp
    
  2. Install dependencies:

    npm install
    
  3. Build the server:

    npm run build
    
  4. Run in dev mode:

    npm run dev
    

📜 License

Distributed under the MIT License. See LICENSE for more information.


Built by Akshat Malik

Server Config

{
  "mcpServers": {
    "chat-relay": {
      "command": "npx",
      "args": [
        "-y",
        "chat-relay-mcp"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Tavily Mcp
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
ChatWiseThe second fastest AI chatbot™
Amap Maps高德地图官方 MCP Server
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Playwright McpPlaywright MCP server
DeepChatYour AI Partner on Desktop
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
CursorThe AI Code Editor
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。