MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB, and Qdrant vector search access.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Universal MCP server for readonly-first access to Oracle Database, Microsoft SQL Server, PostgreSQL, MySQL/MariaDB, SQLite, MongoDB, and Qdrant vector search.
This project is designed for AI tools that support the Model Context Protocol. Projects can install it, provide a YAML config, and expose safe database tools to their AI client.
Oracle connections use the Node.js oracledb Thin mode by default, so Oracle Instant Client is not required for most databases. Some Oracle databases use NCHAR character sets that Thin mode cannot handle; those databases require Oracle Thick mode with Oracle Client libraries.
By default, commands run from a project directory automatically use:
mcp-db.local.yml, then mcp-db.yml, then mcp-db.yaml.env$out and $merge blocking in readonly modeDockerfile, published to GHCR on release)1. Install the package
Node / TypeScript projects (local install):
.NET, Python, or other non-Node projects (global install):
2. Run the setup wizard
The wizard asks which AI clients and databases to configure, then asks for one connection string per database (the same string your DB host, hosting provider, or existing app config already gives you) and writes all config files automatically.
3. Test your connections
That's it β your AI client is now connected to your databases.
Skip the wizard with explicit flags:
Overwrite existing config entries:
Start an HTTP MCP endpoint instead of stdio:
All examples assume the AI CLI is started from your application project root.
Recommended automatic setup:
The generated .mcp.json uses npx so it works whether the package is installed globally or locally.
npm install -g mcp-db-connect)mcp-db-connect is in PATH and can be used directly:
.mcp.json:
npm install --save-dev mcp-db-connect)Use npx so Claude Code can find the binary inside node_modules/.bin:
.mcp.json:
Recommended automatic setup:
Project .codex/config.toml:
The .mcp-tools/db-connect/package.json file created by the wizard uses mcp-db-connect from npm. Run the install command above once per project.
Recommended automatic setup:
Project .gemini/settings.json:
Recommended automatic setup:
Project .kimi/mcp.json:
Kimi CLI can also manage global MCP servers with kimi mcp add, but the project-local file above keeps this database MCP scoped to one project.
For clients that accept the common MCP JSON format:
Use .mcp-db-connect/mcp.json:
Use this endpoint for MCP clients or agents that support Streamable HTTP:
Health check:
SQLite has no host/port/username β file is a path to the database file (relative paths resolve against the process's working directory), and :memory: is also accepted for an ephemeral in-process database.
MongoDB stores the selected port inside the URI saved in .env, for example:
Default Oracle setup uses clientMode: thin and does not need Oracle Instant Client:
Oracle Instant Client is not required. If the database has NCHAR/NVARCHAR2 columns with NLS_NCHAR_CHARACTERSET = AL16UTF16, the connector automatically rewrites the query to cast those columns to VARCHAR2 server-side so Thin mode can handle them.
Oracle, MSSQL, PostgreSQL, and MySQL/MariaDB also accept a raw connection string instead of host/port/database/username:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-db-connect)<a href="https://allmcps.com/mcp/mcp-db-connect"><img src="https://allmcps.com/api/badge/mcp-db-connect?style=directory" alt="MCP DB Connect on AllMCPs" /></a>