🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

queryshield-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

queryshield-mcp

MCP client for QueryShield — secure SQL proxy for AI agents

pipPyPI
Version
1.0.1
Weekly downloads
70
Maintainers
1

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

Keywords

agent

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts