This page explains how to connect Codex to an already running ShardingSphere-MCP HTTP Server.
http://127.0.0.1:18088/mcp, or the actual MCP Server address you configured.Use Codex CLI to add ShardingSphere-MCP:
codex mcp add shardingsphere --url http://127.0.0.1:18088/mcp
Verify that it has been added:
codex mcp list
Alternatively, write the configuration directly to ~/.codex/config.toml:
[mcp_servers.shardingsphere]
url = "http://127.0.0.1:18088/mcp"
If the MCP Server address is not the default value, replace the URL with the actual address.
Describe database tasks directly in a Codex session, for example:
<logic-database>.orders table.orders table.orders.phone and preview it without execution.When SQL execution or rule changes are involved, review the preview content before confirming execution.
