Skip to main content

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 query
  • query_database_sql(database_alias, sql, max_rows) — structured SELECT
  • get_audit_log(limit) — recent attempts for the calling agent

License

MIT


mcp-name: io.github.bch1212/queryshield

Release files for queryshield-mcp 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for queryshield-mcp 1.0.1
File Size Uploaded
queryshield_mcp-1.0.1.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for queryshield-mcp 1.0.1
File Interpreter ABI Platform
queryshield_mcp-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / queryshield_mcp-1.0.1.tar.gz

Download URL queryshield_mcp-1.0.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a048b550e2e48c37c7ede66f3a3c7d03668511a2b1959be96706851803c6ebe8
BLAKE2b-256 checksum
How to use checksums
efedf85f387d38f101a844c30a15ee3d594431bb8a748260f91fea6f2e0ccecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / queryshield_mcp-1.0.1-py3-none-any.whl

Download URL queryshield_mcp-1.0.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
254c4f71698e8153cfb5698e0f89b67c9988edaa23442752d7816904211f18aa
BLAKE2b-256 checksum
How to use checksums
84d86909085f60394a60af57fa102125c9caa7ed758cfc095b37ff8b23226a5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page