技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
gigamori/mcp-run-sql-connectorx

gigamori/mcp-run-sql-connectorx

🐍 ☁️ 🏠 🍎 🪟 🐧 - Execute SQL via ConnectorX and stream results to CSV or Parquet files, supporting PostgreSQL,…
在 GitHub 查看 ↗直链 · 无中转页
官方说明🐍 ☁️ 🏠 🍎 🪟 🐧 - Execute SQL via ConnectorX and stream results to CSV or Parquet files, supporting PostgreSQL, MariaDB, BigQuery, Redshift, SQL Server and more.
配置模板(请按你的客户端调整)
claude mcp add mcp-run-sql-connectorx -- npx -y mcp-run-sql-connectorx
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
1 ★ · gigamori/mcp-run-sql-connectorx · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 1 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 gigamori/mcp-run-sql-connectorx;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

run-sql-connectorx

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

An MCP server that executes SQL via **ConnectorX** and streams the result to **CSV** or **Parquet** in
PyArrow RecordBatch chunks.
* **Output formats**: csv or parquet
* **CSV**: UTF-8, header row is always written
* **Parquet**: PyArrow defaults; schema mismatch across batches raises an error
* **Return value**: the string "OK" on success, or "Error: " on failure
* On failure the partially written output file is deleted
* **CSV token counting (optional)**: per-line token counting via tiktoken (o200k_base) with a warning threshold
Why this library?
- **Efficient streaming**: handles large results in Arrow RecordBatch chunks
- **Token-efficient for MCP**: exchanges data via files instead of inline payloads
- **Cross-database via ConnectorX**: one tool works across many backends
- **Robust I/O**: CSV header handling, Parquet schema validation, safe cleanup on errors
Supported data sources (ConnectorX)
ConnectorX supports many databases. Common examples include:
- **PostgreSQL**
- **MySQL / MariaDB**
- **SQLite**
- **Microsoft SQL Server**
- **Amazon Redshift**
- **Google BigQuery**
For the complete and up-to-date list of supported databases and connection-token (conn) formats, see the official docs:
- ConnectorX repository:
- Database connection tokens:
Getting Started
is the **connection token** (*conn*) used by ConnectorX—SQLite, PostgreSQL, BigQuery, and more.
CLI options
- --conn (required): ConnectorX connection token (conn)
- --csv-token-threshold (default 0): when > 0, enable CSV per-line token counting using tiktoken(o200k_base); the value is a warning threshold
Further reading
* ConnectorX repository:
* Connection-token formats for each database:
Running from *mcp.json*
To launch the server from an MCP-aware client such as **Cursor**, add the following snippet to
.cursor/mcp.json at the project root:
Behaviour and Limits
* **Streaming**: Results are streamed from ConnectorX in RecordBatch chunks; the default
batch_size is 100 000 rows.
* **Empty result**:
* CSV – an empty file is created
* Parquet – an empty table is written
* **Error handling**: the output file is removed on any exception.
* **CSV token counting (when --csv-token-threshold > 0)**:
- Counted text: exactly what csv.writer writes (including header row when present, delimiters, quotes, and newlines), UTF-8
- Streaming approach: tokenized with tiktoken(o200k_base) per written CSV line
Call output
The tool returns a single text message.
- On success:
- Parquet: OK
- CSV:
- If --csv-token-threshold = 0: OK
- If --csv-token-threshold > 0: OK N tokens (or OK N tokens. Too many tokens may impair processing. Handle appropriately when N >= threshold)
来源
awesome · https://github.com/gigamori/mcp-run-sql-connectorx
按领域浏览
MCP 服务
Traction
1 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引