Electric MCP Server

March 27, 2025 ยท View on GitHub

An ElectricSQL Model Context Protocol (MCP) server.

Setup

Install:

mix deps.get

Start:

mix run --no-halt

Endpoints

Events:

  • http://localhost:4000/sse

Messages:

  • http://localhost:4000/message

Manual testing

elixir scripts/client.exs

Adding to Claude

uv tool install mcp-proxy

Example claude_desktop_config.json:

{
  "mcpServers": {
    "electric": {
      "command": "/absolute/path/to/mcp-proxy",
      "args": [
        "http://localhost:4000/sse"
      ]
    }
  }
}

Contents

  1. 1Setup
  2. 2Endpoints
  3. 3Manual testing
  4. 4Adding to Claude