@@ -28,10 +28,11 @@ OceanBase MCP is read-only by design. It has no write tool, rejects write/contro
2828- Local stdio MCP server for OpenCode desktop/local workflows.
2929- Streamable HTTP MCP server for shared or remote deployments.
3030- Multiple profiles for dev, staging, production, tenants, or clusters.
31- - Schema/table allowlist, denied system schemas, denied sensitive columns, and masked sample rows.
31+ - Schema/table allowlist, denied system schemas, denied sensitive columns, hard row/response caps, and masked sample rows.
3232- Source IP allowlist with exact IP and CIDR entries through ` OB_MCP_ALLOWED_IPS ` .
33- - HTTP bearer token, Host allowlist, body limit, and rate limiting.
33+ - HTTP bearer token policies , Host allowlist, body limit, endpoint auth , and rate limiting.
3434- Health endpoint, Prometheus metrics, JSON audit logs, and config diagnostics.
35+ - Database grant verification through a read-only permission check tool.
3536- Docker, Docker Compose, Kubernetes, Nginx, systemd, and local macOS/Linux/Windows client examples.
3637- GitHub Actions for CI, tagged releases, GHCR multi-architecture images, and offline image archives.
3738
@@ -63,6 +64,8 @@ OB_MCP_READ_ONLY=true
6364OB_ALLOWED_SCHEMAS=app_schema
6465OB_ALLOW_SELECT_STAR=false
6566OB_ENFORCE_READ_ONLY_TX=true
67+ OB_MAX_ROWS=100
68+ OB_MAX_RESULT_BYTES=1048576
6669OB_MCP_HOST=127.0.0.1
6770OB_MCP_AUTH_TOKEN_FILE=/run/secrets/ob_mcp_auth_token
6871OB_MCP_ALLOWED_IPS=127.0.0.1,10.0.0.0/8
@@ -76,6 +79,7 @@ Use `OB_MCP_HOST=0.0.0.0` only behind TLS/reverse proxy or a trusted network bou
7679| --- | --- |
7780| ` ob_list_profiles ` | List configured profiles with secrets redacted. |
7881| ` ob_config_diagnostics ` | Report deployment and policy checks. |
82+ | ` ob_verify_permissions ` | Check current database grants for write/admin privileges. |
7983| ` ob_ping ` | Verify the OceanBase connection. |
8084| ` ob_policy_explain ` | Explain whether SQL would be allowed. |
8185| ` ob_query ` | Run strict read-only SQL. |
0 commit comments