Skip to content

andyWang1688/sql-query-mcp

MCP Data & Storage

A general-purpose MCP server that lets AI work with multiple databases within clear boundaries. Supports PostgreSQL and MySQL today with schema discovery, sampling, read-only queries, and query-plan inspection.

Python Latest v0.4.1 · 1mo ago Security brief →

Features

  • Exposes a controlled MCP interface for AI to discover database schemas
  • Runs read‑only SQL queries (short and long‑running) via managed endpoints
  • Provides asynchronous query handling with start, fetch, cancel APIs
  • Supports exporting PostgreSQL/MySQL query results to CSV/XLSX files
  • Allows importing local CSV/XLSX data into existing tables

Recent releases

View all 8 releases →
No immediate action
v0.2.0 New feature

Controlled table file imports

No immediate action
v0.1.2 Bug fix

Rerunnable releases

No immediate action
v0.1.1 New feature

Automated PyPI release

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

About

Stars
6
Forks
0
Languages
Python Dockerfile

Install & Platforms

Install via
pipx

Beta — feedback welcome: [email protected]