Edgedb MCP Server

edgedb mcp server

Local serverstdio

What is the Edgedb MCP server?

edgedb mcp server. Exposed over MCP by the edgedb mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

EdgeDB MCP Server is a tool based on the Model Context Protocol (MCP) that provides query and management capabilities for EdgeDB databases. It can be used as a command-line tool or integrated as a library into other projects.

  • Database Management Tools —
  • Connect to databases (supports DSN and instance name)
  • List available databases
  • Create new databases
  • Switch current database
  • Get current database information

Adding it to your client

@obiwan90/edgedb-mcp-server on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration

You will need one environment variable: EDGEDB_DSN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the edgedb mcp server does with a few real requests.

When to reach for it

Plenty of database access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. It is maintained by obiwan90; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

How to install the Edgedb MCP server

{
  "mcpServers": {
    "edgedb": {
      "command": "npx",
      "args": ["-y", "@obiwan90/edgedb-mcp-server"],
      "env": {
        "EDGEDB_DSN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
EDGEDB_DSNEndpoint or connection string the server talks to.Yes

Frequently asked questions

It connects Edgedb to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Edgedb directly.