Explore
Contribute
Sign In

Explore

  1. Explore
  2. /
  3. Databases & Storage
  4. /
  5. MCP Database Server

MCP Database Server

MCP Database Server

souhardyak

Comprehensive database server supporting PostgreSQL, MySQL, and SQLite with natural language SQL query capabilities. Enables AI agents to interact with databases through both direct SQL and natural language queries.

7 Tools

Requires Configuration
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

OverviewTools (7)ConfigManual installation
Docker Hub⁠Github repository⁠

You can install this MCP server using:

​

Note: You should still configure the server and specify required secrets after installing it.

See client instructions below for how to connect the MCP Toolkit gateway to each client.

https://claude.ai/download⁠

Connect the MCP Toolkit gateway to Claude Desktop using:

​

Once connected, you can install this MCP server using:

​

Note: You should still configure the server and specify required secrets after installing it.

Restart Claude Desktop for the changes to take effect.

  1. Open Claude Settings.
  2. Select the Developer tab.
  3. Select the Edit Config button.
  4. Add database-server to the mcpServers section:
{
  "mcpServers": {
    "database-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DATABASE_URL",
      - souhardyak/mcp-db-server@sha256:5a365d70ecf0ee7a45988515e1296dc38ada1977ae045c357f7c18f15117ea5f
      ],
      "env": {
        "DATABASE_URL": "{{database-server.database_url}}"
      }
    }
  }
}

https://www.continue.dev/⁠

Connect the MCP Toolkit gateway to Continue.dev using:

​

Once connected, you can install this MCP server using:

​

Note: You should still configure the server and specify required secrets after installing it.

  1. In your global .continue folder (~/.continue on Mac/Linux, %USERPROFILE%.continue on Windows), create a a folder called mcpServers.
  2. Create a new file named database-server.yaml in the mcpServers folder.
  3. Write the following contents to database-server.yaml and save.
name: Docker MCP MCP Database Server
version: 1.0.1
schema: v1

mcpServers:
  - name: MCP Database Server
    command: docker
    args:
      - run
      - --rm
      - -i
      - -e
      - DATABASE_URL
      - souhardyak/mcp-db-server@sha256:5a365d70ecf0ee7a45988515e1296dc38ada1977ae045c357f7c18f15117ea5f
    env:
      DATABASE_URL: "{{database-server.database_url}}"

https://www.cursor.com/downloads⁠

Connect the MCP Toolkit gateway to Cursor using:

​

Once connected, you can install this MCP server using:

​

Note: You should still configure the server and specify required secrets after installing it.

  1. Open Cursor Settings.
  2. Select the MCP Tools tab.
  3. Select the New Custom MCP button.
  4. Add database-server to the mcpServers section:
{
  "mcpServers": {
    "database-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DATABASE_URL",
      - souhardyak/mcp-db-server@sha256:5a365d70ecf0ee7a45988515e1296dc38ada1977ae045c357f7c18f15117ea5f
      ],
      "env": {
        "DATABASE_URL": "{{database-server.database_url}}"
      }
    }
  }
}

https://code.visualstudio.com/⁠

Define the MCP Toolkit gateway as a server in the MCP Visual Studio Code user settings. Learn more⁠

"mcp": {
  "servers": {
    "MCP_DOCKER": {
      "command": "docker",
      "args": [
        "mcp",
        "gateway",
        "run"
      ],
      "type": "stdio"
    }
  }
}

Once connected, you can install this MCP server using:

​

Note: You should still configure the server and specify required secrets after installing it.

https://docs.docker.com/ai/gordon/⁠

Connect the MCP Toolkit gateway to Gordon using:

​

Once connected, you can install this MCP server using:

​

Note: You should still configure the server and specify required secrets after installing it.

Manual installation

You can install the MCP server using:

​

Installation for

Related servers

© 2025 Docker, Inc. All rights reserved. | Terms of Service | Subscription Service Agreement | Privacy | Legal