Read-only MCP gateway and local developer assistant for OceanBase.
Read-only MCP gateway and local developer assistant for OceanBase. Exposed over MCP by the oceanbase mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
OceanBase MCP is a strictly read-only MCP server for OceanBase. It lets OpenCode and other MCP clients inspect schemas, metadata, query plans, ER relationships, and limited sample data without exposing write capability.
The server ships on npm as @sevoniva/oceanbase-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Everything the assistant can do here goes through one of these:
Area — 中文Metadata — 表结构、DDL、索引、约束、分区、统计信息和 Oracle 对象元数据。Deployment — stdio、本地 OpenCode、HTTP、Docker、Kubernetes、systemd 和 Nginx 示例。Workflow — 中文Topic — 中文Tools — 工具列表OpenCode — 接入 OpenCodeCLI — CLIConfiguration — 配置说明Architecture — 架构说明Security — 安全基线Examples — 示例索引You will need one environment variable: OB_CONFIG_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the database access group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Oceanbase's toolset — Area, Metadata, Deployment and 11 more — is a fair guide to whether it matches your workflow. It is maintained by GitHub Actions; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| Area | 中文 |
| Metadata | 表结构、DDL、索引、约束、分区、统计信息和 Oracle 对象元数据。 |
| Deployment | stdio、本地 OpenCode、HTTP、Docker、Kubernetes、systemd 和 Nginx 示例。 |
| Workflow | 中文 |
| Topic | 中文 |
| Tools | [工具列表](docs/zh-CN/tools.md) |
| OpenCode | [接入 OpenCode](docs/zh-CN/opencode.md) |
| CLI | [CLI](docs/zh-CN/cli.md) |
| Configuration | [配置说明](docs/zh-CN/configuration.md) |
| Architecture | [架构说明](docs/zh-CN/architecture.md) |
| Security | [安全基线](docs/zh-CN/security.md) |
| Examples | [示例索引](examples/README.zh-CN.md) |
| Version | 中文 |
| v0.3.0 | 建立只读 MCP 网关、OceanBase MySQL/Oracle 连接、基础 SQL 策略、表元数据和脱敏样例数据。 |
{
"mcpServers": {
"oceanbase-1": {
"command": "npx",
"args": ["-y", "@sevoniva/oceanbase-mcp"],
"env": {
"OB_CONFIG_PATH": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| OB_CONFIG_PATH | Filesystem location the server is allowed to use. | Optional |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.