TokenToSeaMCP Hub
中文 Console

OceanBase MCP Server

yuanoOo

Lists tables, reads data and runs SQL on OceanBase databases through a controlled interface.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add oceanbase --env OB_DATABASE='<OB_DATABASE>' --env OB_HOST='<OB_HOST>' --env OB_PASSWORD='<OB_PASSWORD>' --env OB_PORT='<OB_PORT>' --env OB_USER='<OB_USER>' -- uv --directory path/to/oceanbase_mcp_server run oceanbase_mcp_server

Environment variables

  • OB_DATABASE
  • OB_HOST
  • OB_PASSWORD
  • OB_PORT
  • OB_USER

Replace the placeholders with your own credentials and keep them out of version control.