obshell-mcp

August 14, 2025 ยท View on GitHub

license

English | Chinese

obshell-mcp

A MCP server for obshell provided by the OceanBase Community.

Quick Start

  1. Install uv (Python package manager), see the uv repo for install methods.
  2. uvx obshell-mcp to start the mcp server.

cursor

Go to Cursor -> Preferences -> Cursor Settings -> MCP -> Add new global MCP Server to include the following configuration:

{
  "mcpServers": {
    "obshell-mcp": {
      "command": "uvx",
      "args": [
        "obshell-mcp",
      ],
    }
  }
}

or if you want to start the server with sse, you can add the following configuration:

{
  "mcpServers": {
    "obshell-mcp": {
      "command": "uvx",
      "args": [
        "obshell-mcp",
        "--sse",
        "8000"
      ],
    }
  }
}

Environment Variables

The following environment variables can be configured:

VariableDescriptionDefault Value
OBSHELL_HOSTThe host of the obshell server127.0.0.1
OBSHELL_PORTThe port of the obshell server2886
CLUSTER_NAMEThe name of the obclustercluster
SYS_PASSWORDThe password of the root user of sys tenantpassword

Contributing

Issues and Pull Requests are welcome to improve this project.

License

See LICENSE for more information.