AI Skill Hub 推荐使用:开源MCP工具:Terminal UI for SQL databases 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
开源MCP工具:Terminal UI for SQL databases 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
开源MCP工具:Terminal UI for SQL databases 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/kopecmaciej/vi-sql
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--mcp---terminal-ui-for-sql-databases": {
"command": "npx",
"args": ["-y", "vi-sql"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 开源MCP工具:Terminal UI for SQL databases 执行以下任务... Claude: [自动调用 开源MCP工具:Terminal UI for SQL databases MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__mcp___terminal_ui_for_sql_databases": {
"command": "npx",
"args": ["-y", "vi-sql"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
---
Terminal UI for SQL databases built with passion for the terminal — Browse schemas, run queries, edit rows, inspect query plans, and expose your session to AI tools via a built-in MCP server.
<a href="./assets/query_autocomplete.png"><img src="./assets/query_autocomplete.png"></a>
![]() |
![]() |
![]() |
- Multi-tab SQL editor — syntax highlighting, autocomplete, query history, and $EDITOR integration - Table data view — filter, sort, inline edit, add/delete rows, follow foreign keys, find references - Vim mode — hjkl navigation and sequence keys (gg, dd, gd, gr) across the entire UI - Schema browser — tables, structure, indexes, DDL; create, rename, and drop objects via keybindings - EXPLAIN / EXPLAIN ANALYZE — query plan viewer with cost and timing breakdown - Import / Export — CSV, JSON, SQL INSERT, and Markdown - MCP server — AI assistants (Claude, Cursor, etc.) can browse your schema and draft queries in the editor; query execution is opt-in - Encrypted connections — AES-256-GCM encryption; supports OS keyring, master password, or env var - Themes — multiple built-in themes, fully customizable via YAML
curl -fsSL https://vi-sql.com/install.sh | sh
Pin a specific version:
VI_SQL_VERSION=v0.0.3 curl -fsSL https://vi-sql.com/install.sh | sh
Or download a binary directly from the releases page.
Requires Go 1.25+.
git clone https://github.com/kopecmaciej/vi-sql.git
cd vi-sql
make build
curl -fsSL https://vi-sql.com/uninstall.sh | sh
The script prompts before removing each artifact: the binary, config directory, log file, and any keyring entry.
Run vi-sql and enter your connection details on the welcome screen, or connect directly with a DSN:
vi-sql --connect postgres://user:pass@localhost/mydb
vi-sql --connect mysql://user:pass@localhost/mydb
vi-sql --connect file:/home/user/data.db
Or by saved connection name:
vi-sql --connection-name mydb
Jump straight to a table:
vi-sql --jump public/users
Config and data paths vary by OS. Run vi-sql --paths to see the exact locations on your system (config, keybindings, styles, icons, log).
该项目提供了一个开源的MCP工具,支持终端UI操作SQL数据库,开发者可以使用Go语言编写自定义插件,提高开发效率和用户体验。
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
总体来看,开源MCP工具:Terminal UI for SQL databases 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | vi-sql |
| 原始描述 | 开源MCP工具:Terminal UI for SQL databases。⭐13 · Go |
| Topics | gogolangmcpneovimsql |
| GitHub | https://github.com/kopecmaciej/vi-sql |
| License | NOASSERTION |
| 语言 | Go |
收录时间:2026-06-03 · 更新时间:2026-06-03 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端