MCP Dbs MCP Server

MCP TypeScript SDK for database connections

Local serverstdio

What is the MCP Dbs MCP Server?

MCP Dbs lets Claude, Cursor and other MCP clients work with MCP Dbs directly. MCP TypeScript SDK for database connections.

What MCP Dbs does

A Model Context Protocol (MCP) implementation for connecting to and working with various database systems.

Practical notes

  • Maintained by cuongtl1992.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
connect-databaseConnect to a database
disconnect-databaseDisconnect from a database
execute-queryExecute a query and return results
execute-updateExecute a query without returning results
connectionIdThe connection ID
querySQL query or MongoDB command (as JSON string)
params(Optional) Array of parameters for the query. For MongoDB, the first parameter is the collection name.

How to install the MCP Dbs MCP Server

{
  "mcpServers": {
    "mcp-dbs": {
      "command": "node",
      "args": [
        "/path/to/your/mcp-dbs/dist/cli.js",
        "--stdio"
      ],
      "env": {
        "MCP_MONGODB_URI": "mongodb://localhost:27017",
        "MCP_MONGODB_DATABASE": "your-database-name"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
MCP_MONGODB_URIDeclared in the maintainer’s client configuration.Check documentation
MCP_MONGODB_DATABASEDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use MCP Dbs to connect-database.”
  • “Use MCP Dbs to disconnect-database.”
  • “Use MCP Dbs to execute-query.”

Frequently asked questions

MCP TypeScript SDK for database connections Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.