io.github.wenRou21/sqlbot-mcp-proxy
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.wenRou21/sqlbot-mcp-proxy show me sales by region for last quarter"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SQLBot MCP Proxy
MCP server proxy for SQLBot. It exposes SQLBot datasource discovery, table metadata, natural-language Text-to-SQL questions, and local fallback report generation as MCP tools.
Requirements
Docker
A running SQLBot service
SQLBot API keys
Related MCP server: TalkDB
Recommended Codex Config
Users do not need to download this repository manually. Add this single MCP server to Codex config and replace the SQLBot URL and keys:
[mcp_servers.sqlbot]
command = "docker"
args = [
"run",
"--rm",
"-i",
"-e",
"SQLBOT_MCP_PROXY_BASE_URL",
"-e",
"SQLBOT_MCP_PROXY_ACCESS_KEY",
"-e",
"SQLBOT_MCP_PROXY_SECRET_KEY",
"ghcr.io/wenrou21/sqlbot-mcp-proxy:0.1.0"
]
enabled = true
startup_timeout_sec = 120
[mcp_servers.sqlbot.env]
SQLBOT_MCP_PROXY_BASE_URL = "http://183.196.108.32:18088"
SQLBOT_MCP_PROXY_ACCESS_KEY = "<YOUR_SQLBOT_ACCESS_KEY>"
SQLBOT_MCP_PROXY_SECRET_KEY = "<YOUR_SQLBOT_SECRET_KEY>"Then restart Codex completely.
If SQLBot is reachable through another public or LAN address, replace SQLBOT_MCP_PROXY_BASE_URL with that address, for example https://sqlbot.example.com or http://192.168.1.10:18088.
Prompt Template
Please configure SQLBot MCP for Codex.
MCP image:
ghcr.io/wenrou21/sqlbot-mcp-proxy:0.1.0
My SQLBot URL:
http://183.196.108.32:18088
My SQLBot access key:
<YOUR_SQLBOT_ACCESS_KEY>
My SQLBot secret key:
<YOUR_SQLBOT_SECRET_KEY>
Add this MCP to Codex config:
- MCP name: sqlbot
- command: docker
- args: ["run", "--rm", "-i", "-e", "SQLBOT_MCP_PROXY_BASE_URL", "-e", "SQLBOT_MCP_PROXY_ACCESS_KEY", "-e", "SQLBOT_MCP_PROXY_SECRET_KEY", "ghcr.io/wenrou21/sqlbot-mcp-proxy:0.1.0"]
- startup_timeout_sec: 120
- SQLBOT_MCP_PROXY_BASE_URL: use the SQLBot URL above
- SQLBOT_MCP_PROXY_ACCESS_KEY: use the access key above
- SQLBOT_MCP_PROXY_SECRET_KEY: use the secret key above
After configuration, remind me to fully restart Codex.
After restart:
- Check available datasources with sqlbot_list_datasources.
- Use sqlbot_list_tables and sqlbot_describe_table before asking data questions.
- Use sqlbot_ask_data for Text-to-SQL questions.
- Use sqlbot_generate_report when I ask for an analysis report or chart.Quick Docker Test
You can test the image outside Codex:
docker run --rm -i \
-e SQLBOT_MCP_PROXY_BASE_URL=http://183.196.108.32:18088 \
-e SQLBOT_MCP_PROXY_ACCESS_KEY=your-access-key \
-e SQLBOT_MCP_PROXY_SECRET_KEY=your-secret-key \
ghcr.io/wenrou21/sqlbot-mcp-proxy:0.1.0Tools
sqlbot_list_datasources: list SQLBot datasources visible to the configured API keysqlbot_list_tables: list checked SQLBot metadata tables for a datasourcesqlbot_describe_table: describe checked fields for a SQLBot metadata tablesqlbot_ask_data: ask SQLBot a natural-language data questionsqlbot_generate_report: generate an analysis report and chart, with a local SVG fallback
Environment Variables
Name | Default | Description |
|
| SQLBot service base URL |
| empty | SQLBot API access key |
| empty | SQLBot API secret key |
| empty | Fallback access key name |
| empty | Fallback secret key name |
|
| Container used for fallback key lookup |
|
| HTTP mode host |
|
| HTTP mode port |
|
| HTTP mode JSON-RPC path |
|
| SQLBot HTTP request timeout |
|
| Directory for generated fallback SVG reports |
Advanced HTTP Mode
Most MCP clients should use stdio. For clients that can send JSON-RPC over HTTP, start:
docker run --rm -p 8787:8787 \
-e SQLBOT_MCP_PROXY_BASE_URL=http://183.196.108.32:18088 \
-e SQLBOT_MCP_PROXY_ACCESS_KEY=your-access-key \
-e SQLBOT_MCP_PROXY_SECRET_KEY=your-secret-key \
-e SQLBOT_MCP_PROXY_HTTP_HOST=0.0.0.0 \
ghcr.io/wenrou21/sqlbot-mcp-proxy:0.1.0 --httpHealth check:
curl http://127.0.0.1:8787/healthPublish
Confirm package metadata in
package.json.Publish an OCI image:
docker build -t ghcr.io/wenrou21/sqlbot-mcp-proxy:0.1.0 .
docker push ghcr.io/wenrou21/sqlbot-mcp-proxy:0.1.0Publish MCP Registry metadata:
mcp-publisher login github
mcp-publisher publishThe mcpName in package.json must exactly match name in server.json.
Available Tools
5 toolssqlbot_ask_dataC
Ask SQLBot a natural-language data question through the existing Text-to-SQL pipeline.
Inputs: question (required), lang, access_key, return_img, +5 more.
sqlbot_describe_tableC
Describe checked fields for a SQLBot metadata table.
Inputs: table_name (required), datasource_id (required), access_key, secret_key.
sqlbot_generate_reportA
Generate a SQLBot data report with analysis, conclusion, and chart. Falls back to a local SVG chart/report when SQLBot chart generation fails or times out.
Inputs: question (required), lang, access_key, secret_key, +4 more.
sqlbot_list_datasourcesB
List SQLBot datasources available to the configured SQLBot API key.
Inputs: oid, access_key, secret_key.
sqlbot_list_tablesC
List checked SQLBot metadata tables for a datasource.
Inputs: datasource_id (required), access_key, secret_key.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
All five tools have clearly distinct purposes: asking questions, describing table fields, generating reports, listing datasources, and listing tables. No overlap in functionality.
All tool names follow a consistent 'sqlbot_verb_noun' pattern using snake_case, e.g., ask_data, describe_table, generate_report. The naming is uniform and predictable.
With 5 tools, the set is well-scoped for a proxy that provides core SQLBot functionalities: data querying, metadata exploration, and reporting. Not too few or too many.
The tool surface covers essential operations: datasource and table discovery, natural language querying, table description, and report generation. Minor gap: no tool for modifying resources (e.g., updating datasources), but the set is comprehensive for typical use cases.
Maintenance
Related MCP Connectors
Query, explore, and manage your databases through natural conversation.
Ask your databases questions in plain English, run read-only SQL and set up data alerts.
Ask questions in plain language, get answers from your business database. No SQL required.
Ask plain-English questions of your database: answers, the SQL that ran, and the rows.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables natural language database querying through GPT-powered SQL generation and execution with metadata-driven validation and intermediate representation.-
- AlicenseNot gradedqualityDmaintenanceEnables natural language querying of databases with multi-turn conversations, auto-generated charts, and proactive monitoring via scheduled queries and alerts.1MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to query databases using natural language, with automatic schema discovery and SQL compilation.613 npm3,238Apache 2.0

Bollard MCPofficial
AlicenseAqualityDmaintenanceEnables safe, AI-driven database interactions with schema discovery, intent validation, and session memory, supporting multiple databases.1429 PyPI2AGPL 3.0