MCP client for QueryShield — secure SQL proxy for AI agents
Project description
queryshield-mcp
MCP client for QueryShield — a secure SQL proxy that sits between AI agents and customer databases. Agents call a single endpoint; QueryShield translates NL → SQL via Claude, validates at the AST level (no DDL/DML), enforces per-agent row-level security, and audit-logs every query.
Install
pip install queryshield-mcp
Configure
Provision an agent API key at https://queryshield.dev, then add to your MCP client config:
{
"queryshield": {
"command": "queryshield-mcp",
"env": {
"QUERYSHIELD_API_KEY": "qs_..."
}
}
}
Self-hosting? Set QUERYSHIELD_BASE_URL to point at your deploy.
Tools
query_database(database_alias, question, max_rows)— natural-language queryquery_database_sql(database_alias, sql, max_rows)— structured SELECTget_audit_log(limit)— recent attempts for the calling agent
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file queryshield_mcp-1.0.0.tar.gz.
File metadata
- Download URL: queryshield_mcp-1.0.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b15e3f62996f7fd8c9cec4e058022c093bca996a63db991b2481dc1406d786e
|
|
| MD5 |
97f5b889ff6b0bd4220003dd7bbe0483
|
|
| BLAKE2b-256 |
df74912f967dcf13b8f46cea9567540bb4798261131255f9d48c39e99351b1c5
|
File details
Details for the file queryshield_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: queryshield_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7519da0ca044940e6c8d1bb9a02ecd82d14d9b2ab13331f5eb7b06e78d48cac2
|
|
| MD5 |
26bfc32a204f9962d021118ad98a5c4b
|
|
| BLAKE2b-256 |
e7234776b9b691f12676024cb904e8abb96716274fb4a9660faf627d4c6f564d
|