Overview
mcp-oceanbase is a server for the OceanBase database and its associated tools, designed to facilitate database management and operations.
To use mcp-oceanbase, set up the server environment as per the documentation provided in the GitHub repository, and utilize the tools for managing OceanBase databases.
- Integration with OceanBase database tools - Support for database management operations - User-friendly interface for database interactions
- Managing large-scale databases with OceanBase.
- Performing database operations efficiently.
- Utilizing tools for data analysis and reporting.
Add to your AI client
Use these steps to connect mcp-oceanbase in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-oceanbase-oceanbase": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-oceanbase-oceanbase"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-oceanbase-oceanbase": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-oceanbase-oceanbase"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-oceanbase-oceanbase": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-oceanbase-oceanbase"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-oceanbase-oceanbase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-oceanbase-oceanbase"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-oceanbase-oceanbase": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-oceanbase-oceanbase"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-oceanbase-oceanbase": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-oceanbase-oceanbase"
]
}
}
}