ThinAir Data MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
**The only MCP database server for PostgreSQL, MySQL, and SQL Server in one session** — 26 tools across 4 tiers — schema introspection, cross-database compare, query firewall, PII scanning, N+1 detection, and runtime connection management. Read-only data access by design.
** 26 tools** · PostgreSQL · MySQL · SQL Server · Read-only data access, schema discovery, profiling, SQL safety, anomaly detection
Part of ThinAir
ThinAir Data is part of the ThinAir platform for fleet visibility, analytics, operational search, reporting, and AI-assisted decision support.
Hosted product vs this repository
- data.thinair.co is the hosted ThinAir product.
- This repository is the thin public MCP package/pointer for developers and AI-agent clients.
- Production use may require a ThinAir account, API key, OAuth connection, or hosted workspace.
What It Does
ThinAir Data is a Model Context Protocol (MCP) server that gives AI agents secure, **read-only** access to your databases — no custom backend required. Designed for read-only production access when configured correctly. ThinAir Data enforces read-only behavior through SQL guards, database-session read-only mode where supported, and optional per-connection firewall rules. You should still use least-privilege database credentials and avoid exposing sensitive tables unless required.
- **Multi-database** — PostgreSQL, MySQL, SQL Server in a single session. Cross-database compare with one tool call.
- **Read-only by design** — SQL guards, database-session read-only mode where supported, and optional per-connection firewall rules.
- **Dialect-aware** — every tool understands SELECT TOP 10 (mssql) vs LIMIT (others) and routes syntax correctly per connection.
- **Tiered capability** — 26 tools across 4 tiers: schema introspection, query execution + history, EXPLAIN/optimization, anomaly detection, PII scanning, N+1 detection, query firewall, cross-DB compare, and runtime connection management (add/remove).
- **Connections are managed at runtime** — added per-tenant via the add_connection tool after sign-in. Never an env var or install-time config.
Product Links
- **Product:** https://data.thinair.co
- **Connect a database:** https://data.thinair.co/connect
- **Docs:** https://data.thinair.co/docs/getting-started
- **Pricing:** https://data.thinair.co/checkout
- **ThinAir:** https://thinair.co
Agent Discovery
Autonomous agents and directory crawlers can discover this server's capabilities
without parsing this README. All three surfaces are live and served by the hosted
product:
| Surface | URL | Carries |
|---------|-----|---------|
| Agent card (A2A) | https://data.thinair.co/.well-known/agent-card.json | Protocol version, endpoint, transport, auth schemes, and all 26 skills |
| Skills index | https://data.thinair.co/.well-known/skills.json | Machine-readable catalog of the 26 tools |
| LLM guide | https://data.thinair.co/llms.txt | Plain-text orientation for language models |
The MCP endpoint itself is https://data.thinair.co/mcp (streamable-http; OAuth 2.1
keyless, or Authorization: Bearer).
Tools (selected — full list of 26 in docs)
| Tool | Tier | Description |
|------|------|-------------|
| list_connections | discover | List connected databases with names + dialects |