Allows AI agents to query and explore over 100 different databases using existing DBCode connections.
Также известен как dbcodeio/public, @dbcode/mcp
- Звёзды
- 366
- Инструменты
- —
- Загрузки, 30 дней
- 359
- Последняя версия
- 1.0.1
- Последний коммит
- 10 нояб. 2026 г.
- Лицензия
- —
Что такое DBCode MCP?
DBCode — это MCP server. Allows AI agents to query and explore over 100 different databases using existing DBCode connections.
Сводка сгенерирована из README проекта
О DBCode MCP server
Querying and exploring your existing database connections through an AI agent is what DBCode enables. It allows developers to interact with over 100 different database types, such as PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MongoDB, ClickHouse, and Snowflake, using the connections already configured in your DBCode extension.
To use this server, you must have the DBCode extension installed in editors like VS Code, Cursor, Windsurf, Antigravity, or Kiro, along with Node.js 22.14 or newer. The server runs locally and can either work through an open editor or read your saved connections directly if no editor is active. You can specify a particular application like Cursor or VSCodium using the --app argument if you use DBCode across multiple editors. This setup works with clients including Claude Desktop, Gemini CLI, GitHub Copilot CLI, and Codex.
Что вы можете с ним делать
- 1Querying diverse database typesAsk an AI agent to run queries against specific databases like MongoDB or Snowflake using your existing setup.
- 2Managing multiple editor connectionsDirect an AI agent to use the specific database connections associated with a particular IDE.
- 3Exploring databases without an active editorLet an AI agent access your saved database credentials even when you do not have a code editor open.
Взято из README проекта. Каждый вариант использования проверен на соответствие цитате из него.
Как установить DBCode MCP
Форматы проверены 10 ноя 2026Установка DBCode MCP в Claude Code
$ claude mcp add dbcode -- npx -y @dbcode/mcpУстановка DBCode MCP в Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}Установка DBCode MCP в VS Code
.vscode/mcp.json
{
"servers": {
"dbcode": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}Установка DBCode MCP в Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}Установка DBCode MCP в Codex
~/.codex/config.toml
[mcp_servers.dbcode] command = "npx" args = ["-y", "@dbcode/mcp"]
Установка DBCode MCP в Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}Автоматические проверки
Запущено 13 нояб. 2026 г.Полный отчёт →Прошло наши автоматизированные проверки. Это не аудит безопасности: изучите код и предоставьте серверу минимально необходимый доступ. Как работают проверки
- Связанный и доступный исходный репозиторийПройдено
- Open source лицензия (OSI)No licenseПроблема
- Коммит или релиз за последний годПройдено
- Имя пакета не похоже на популярный пакетПройдено
- Удаленная конечная точка использует HTTPSНе проверялось
- Деструктивные инструменты помеченыНе проверялось
- Нет скрытых инструкций для моделиПройдено
- Нет критических уязвимостей в пакете и зависимостяхПройдено
README
Открыть на GitHubDBCode MCP server
Let your AI agent query your databases through DBCode, using the connections you already have in DBCode.
DBCode works with 100+ databases, including PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MongoDB, ClickHouse and Snowflake.
Requirements
- The DBCode extension, installed in VS Code, Cursor, Windsurf, Antigravity or Kiro. Install DBCode.
- Node.js 22.14 or newer.
Setup
Claude Code
claude mcp add dbcode -- npx -y @dbcode/mcp
Codex
codex mcp add dbcode -- npx -y @dbcode/mcp
GitHub Copilot CLI
Add this to ~/.copilot/mcp-config.json:
{
"mcpServers": {
"dbcode": {
"type": "local",
"command": "npx",
"args": ["-y", "@dbcode/mcp"],
"tools": ["*"]
}
}
}
Gemini CLI, Claude Desktop, Cursor, Windsurf and other clients
Add this to the client's MCP configuration (for Gemini CLI, ~/.gemini/settings.json; for Claude Desktop, claude_desktop_config.json):
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": ["-y", "@dbcode/mcp"]
}
}
}
Cursor, VS Code, Windsurf, Antigravity and Kiro can also connect DBCode to their built-in agent without this package. See DBCode's MCP docs.
How it works
The package finds the newest DBCode installed on your machine and starts its MCP server. When an editor with DBCode is open, the agent works through it. With no editor open, the server reads your saved DBCode connections directly.
If you use DBCode in more than one editor, choose which editor's connections the agent sees with --app:
"args": ["-y", "@dbcode/mcp", "--app", "Cursor"]
Values (not case-sensitive): Code, Code - Insiders, Cursor, Windsurf, VSCodium, Antigravity IDE, Antigravity, Kiro.
Вопросы о DBCode MCP
Как добавить DBCode MCP в Claude Code?
Выполните claude mcp add dbcode -- npx -y @dbcode/mcp в терминале. Добавьте --scope user, чтобы сервер был доступен во всех проектах.
Как добавить DBCode MCP в Cursor?
Откройте ~/.cursor/mcp.json и добавьте сервер в mcpServers, используя конфигурацию Cursor из раздела установки выше.
Which databases are supported by DBCode?
It supports over 100 databases including PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MongoDB, ClickHouse, and Snowflake.
What are the system requirements for the DBCode MCP server?
You need the DBCode extension installed in an editor like VS Code or Cursor, and Node.js version 22.14 or newer.
How can I specify which editor's connections the agent should use?
You can use the --app flag followed by the editor name, such as Cursor or Code, to choose which editor's connections are visible.