oceanbase-mcp-server MCP Server

A Model Context Protocol (MCP) server that enables secure interaction with OceanBase databases. This server allows AI assistants to list tables, read data, and execute SQL queries through a…

Local serverstdio

What is the oceanbase-mcp-server MCP Server?

oceanbase-mcp-server is an MCP project maintained in the yuanooo/oceanbase_mcp_server repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that enables secure interaction with OceanBase databases. This server allows AI assistants to list tables, read data, and execute…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares OB_HOST, OB_PORT, OB_USER, OB_PASSWORD, OB_DATABASE. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the oceanbase-mcp-server MCP Server

{
  "mcpServers": {
    "oceanbase": {
      "command": "uv",
      "args": [
        "--directory",
        "path/to/oceanbase_mcp_server",
        "run",
        "oceanbase_mcp_server"
      ],
      "env": {
        "OB_HOST": "localhost",
        "OB_PORT": "2881",
        "OB_USER": "your_username",
        "OB_PASSWORD": "YOUR_OB_PASSWORD",
        "OB_DATABASE": "your_database"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
OB_HOSTDeclared in the maintainer’s client configuration.Check documentation
OB_PORTDeclared in the maintainer’s client configuration.Optional
OB_USERDeclared in the maintainer’s client configuration.Check documentation
OB_PASSWORDDeclared in the maintainer’s client configuration.Check documentation
OB_DATABASEDeclared in the maintainer’s client configuration.Check documentation