@obiwan90/edgedb-mcp-server

by obiwan90

202 downloads
Not rated
GitHub

About

@obiwan90/edgedb-mcp-server is a Model Context Protocol (MCP) server 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.

Details

Author
obiwan90
Downloads
202
Categories
Other

- Connect to databases using DSN or instance name
- List, create, and switch databases
- Execute EdgeQL queries with optional parameters
- Find single or multiple records with filtering, sorting, pagination
- List types, get type details, and compare schema structures
- Supports debug mode and configurable log levels

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name @obiwan90/edgedb-mcp-server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Run temporarily with npx -y @obiwan90/edgedb-mcp-server@latest, or install globally (npm install -g @obiwan90/edgedb-mcp-server) and run edgedb-mcp-server. It can also be integrated as a library by importing registerAllTools and registerAllResources. Environment variables EDGEDB_DSN or EDGEDB_INSTANCE are used to configure the database connection.

connectEdgeDB

listDatabases

currentDatabase

createDatabase

useDatabase

executeEdgeQL

executeEdgeQLWithParams

findOne

findMany

listTypes

describeType

compareSchemas

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "@obiwan90/edgedb-mcp-server": {
            "edgedb-server": {
                "command": "npx",
                "args": [
                    "-y",
                    "@obiwan90/edgedb-mcp-server@latest"
                ]
            }
        }
    }
}

McpServers

{
    "edgedb-server": {
        "command": "npx",
        "args": [
            "-y",
            "@obiwan90/edgedb-mcp-server@latest"
        ]
    }
}

@obiwan90/edgedb-mcp-server

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.

Features

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

- Query Tools
- Execute EdgeQL queries
- Execute EdgeQL queries with parameters
- Find single records
- Find multiple records (with filtering, sorting, pagination)

- Schema Management Tools
- List types (optionally including system types)
- Get type details
- Compare schema structures

Installation

Temporary Execution (without installation)

npx -y @obiwan90/edgedb-mcp-server@latest

Global Installation

npm install -g @obiwan90/edgedb-mcp-server

As a Project Dependency

npm install @obiwan90/edgedb-mcp-server

Usage

Command Line Usage

```bash
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.