Skip to main content

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 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

queryshield_mcp-1.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

queryshield_mcp-1.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file queryshield_mcp-1.0.1.tar.gz.

File metadata

  • Download URL: queryshield_mcp-1.0.1.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

Hashes for queryshield_mcp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a048b550e2e48c37c7ede66f3a3c7d03668511a2b1959be96706851803c6ebe8
MD5 f301bf28bec3453755cd73e136266a6e
BLAKE2b-256 efedf85f387d38f101a844c30a15ee3d594431bb8a748260f91fea6f2e0ccecf

See more details on using hashes here.

File details

Details for the file queryshield_mcp-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for queryshield_mcp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 254c4f71698e8153cfb5698e0f89b67c9988edaa23442752d7816904211f18aa
MD5 e90eafc96afe6b341f6d807d7936fa4d
BLAKE2b-256 84d86909085f60394a60af57fa102125c9caa7ed758cfc095b37ff8b23226a5b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page