数据库查询服务

MCP服务器为您的数据库提供查询服务,支持从多种MCP客户端访问数据库。

  • by haxzie
  • TypeScript
  • 本地部署
  • 27 星标
  • 更新于
在 GitHub 查看 haxzie/sequel-mcp

使用说明

@续集/mcp

用于数据库的MCP服务器。从您最喜欢的MCP客户端查询您的数据库。

用法

将MCP服务器安装到客户端

npx -y @sequelsh/mcp@latest install

安装特定的数据库MCP服务器

npx -y @sequelsh/mcp@latest install -d postgresql

支持的数据库

npx -y @sequelsh/mcp@latest install -d <database>
  • [X] PostgreSQL postgresql
  • [X] MySQL mysql
  • [X] ClickHouse clickhouse

支持的MCP客户端

npx -y @sequelsh/mcp@latest install -c <client>
  • [X] 克劳德 claude
  • [X] 光标 cursor
  • [X] WindSurf windsurf

为发展而设立

此项目使用Bun,因此请确保已安装Bun

安装依赖项

bun install

构建

bun run build

运行MCP安装

bun run mcp:install