Token导航 LogoToken导航

MCP Server · 数据服务

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.

stdio官方级别未说明来源级核验工具 12@obiwan90/edgedb-mcp-server@latest
数据分析TypeScriptCursor

快速开始

作者 / 组织
obiwan90
提供方
obiwan90
运行时
Node.js

工具数量

12

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

0

仓库热度

收录来源

2 个

MCP.so

选型结论

Edgedb MCP Server 属于数据服务类 MCP Server,公开资料标注 12 个工具,通过stdio 本地进程接入,适配 Cursor,有可以直接复制的安装命令;接入前先确认权限范围。

分类

数据服务

传输方式

stdio

认证方式

无需认证

部署方式

公开资料未说明

安装与配置

安装命令

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

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 12 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

@obiwan90/edgedb-mcp服务器

EdgeDB MCP Server是一个基于模型上下文协议(MCP)的工具,为EdgeDB数据库提供查询和管理功能。它可以用作命令行工具,也可以作为库集成到其他项目中。

特性

  • 数据库管理工具

- 连接到数据库(支持DSN和实例名称) - 列出可用数据库 - 创建新数据库 - 切换当前数据库 - 获取当前数据库信息

  • 查询工具

- 执行EdgeQL查询 - 使用参数执行EdgeQL查询 - 查找单个记录 - 查找多条记录(具有过滤、排序、分页功能)

  • 架构管理工具

- 列表类型(可选包括系统类型) - 获取类型详细信息 - 比较模式结构

安装

临时执行(不安装)

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

全球安装

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

作为项目依赖

npm install @obiwan90/edgedb-mcp-server

用法

命令行用法

# If installed globally
edgedb-mcp-server

# Or via npx for temporary execution
npx -y @obiwan90/edgedb-mcp-server

整合为图书馆

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { registerAllTools } from "@obiwan90/edgedb-mcp-server/build/tools/index.js";
import { registerAllResources } from "@obiwan90/edgedb-mcp-server/build/resources/index.js";

// Initialize MCP server
const server = new McpServer({
    transport: new StdioServerTransport(),
    name: "EdgeDB MCP Server",
    description: "Providing EdgeDB database services through MCP protocol",
    version: "1.0.0"
});

// Register resources and tools
registerAllResources(server);
registerAllTools(server);

// Start the server
(async function() {
    try {
        const transport = new StdioServerTransport();
        await server.connect(transport);
        console.log("MCP server connected, waiting for client requests...");
    } catch (error) {
        console.error("Server startup failed:", error);
        process.exit(1);
    }
})();

环境变量

  • EDGEDB_DSN -EdgeDB数据库连接字符串
  • EDGEDB_INSTANCE -EdgeDB实例名称
  • DEBUG -启用调试模式(真/假)
  • LOG_LEVEL -日志级别(默认值:info)

项目开发

目录结构

src/
├── config/           # Configuration management
├── resources/        # MCP resource definitions
├── services/         # Service layer (EdgeDB connection management)
├── tools/            # MCP tool definitions
│   ├── database.ts   # Database management tools
│   ├── query.ts      # Query tools
│   ├── schema.ts     # Schema management tools
│   └── index.ts      # Tool exports
├── types/            # Type definitions
├── utils/            # Utility functions
└── index.ts          # Application entry point

建设项目

# Clone the project
git clone https://github.com/obiwan90/mcp-server-edgedb.git
cd mcp-server-edgedb

# Install dependencies
npm install

# Build the project
npm run build

# Start the service
npm start

光标集成

要将此MCP服务器与游标编辑器集成,请执行以下步骤:

  1. 编辑Cursor的MCP配置文件(~/.cursor/mcp.json)
  2. 添加以下配置:
"edgedb-server": {
  "command": "npx",
  "args": [
    "-y",
    "@obiwan90/edgedb-mcp-server@latest"
  ]
}
"edgedb-server": {
  "command": "npx",
  "args": [
    "-y",
    "@obiwan90/edgedb-mcp-server@latest",
    "--instanceName",
    "your-instance-name"
  ]
}
  1. 重新启动光标编辑器
  2. 现在,您可以在Cursor中使用EdgeDB工具!通过命令面板(Cmd+Shift+P)搜索“EdgeDB”或通过聊天界面访问它们。
Cursor dialog box input:

mcp_edgedb-server_connectEdgeDB(instanceName="your-instance-name")

许可证

该项目根据 MIT许可证.

工具与能力

工具数量

12

资源数量

0

提示词数量

0

能力标签

数据库管理TypeScript本地部署EdgeDB工具MCP协议查询工具模式管理

支持客户端

Cursor

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

用自然语言查库

不用手写 SQL,直接问数据,让模型组织查询语句。

数据巡检

定期拉指标、做对比,把异常项整理成一段说明。

打通业务数据

把数据库、数仓和接口接进同一个上下文,减少导出再上传。

选择建议

值得选的地方

  • 工具数量 12 个,一次接入能覆盖的操作比单点工具更全。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 公开说明写得比较完整,接入前能看清能力边界。

先想清楚的地方

  • stdio 方式要求本地装好 Node.js,换机器要重新装一遍。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在数据服务场景里让模型直接调用外部能力的人。
  • 已经在用 Cursor 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Edgedb MCP Server

MCP.so · 本页

12stdio有2 个2026-05-17
Memory 9d25f64e

MCP World

9未说明未标注1 个2026-05-17
Prisma MCP Server

MCP World

0stdio有3 个2026-05-17
Astr Bot

MCP World

0stdio有1 个2026-05-17
Getzep MCP

MCP World

9stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Edgedb MCP Server 怎么安装?

公开资料给出的安装命令是 npx -y @obiwan90/edgedb-mcp-server@latest {},运行环境为 Node.js。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Edgedb MCP Server 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Node.js;保存后完全退出客户端再打开,配置才会生效。

Edgedb MCP Server 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Edgedb MCP Server 需要 API Key 吗?

公开资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

Edgedb MCP Server 支持哪些客户端?

公开资料标注支持 Cursor;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP