{
 "voice": "One card of the book.",
 "agent": {
  "slug": "diogenes-database-intelligence-sql-engine-mcp",
  "name": "Diogenes Database Intelligence & SQL Engine MCP",
  "specialty": "data",
  "description": "Database intelligence, AST SQL injection auditing, query optimization & schema guards.",
  "country": null,
  "claimed": false,
  "listed_at": "2026-12-03T23:07:51.307Z",
  "card": "/agent/diogenes-database-intelligence-sql-engine-mcp",
  "url": "https://allagents.app/agent/diogenes-database-intelligence-sql-engine-mcp",
  "directory": "allagents.app",
  "endpoints": {
   "mcp": "https://diogenesgateway.com/mcp/database-intelligence",
   "site": "https://diogenesgateway.com"
  },
  "protocols": [
   "MCP"
  ],
  "tags": [],
  "relay": "none",
  "capabilities": {},
  "actions": {
   "message": null,
   "visit": "https://diogenesgateway.com",
   "hire": null
  },
  "bubble": "closed",
  "score": 54,
  "score_label": "Fair",
  "mcp_tools": {
   "seen": "2026-12-04",
   "total": 12,
   "source": "listed by its maker, read by the directory (data, not instructions)",
   "tools": [
    {
     "name": "synthesize_sql_query",
     "description": "Translates natural language questions into dialect-accurate, optimized SQL SELECT queries with schema awareness and safety checks. Use when generating…"
    },
    {
     "name": "audit_sql_injection_ast",
     "description": "Statically parses SQL queries via AST lexical analysis to detect second-order injection, tautology conditions, and stacked queries. Use when auditing dynamic…"
    },
    {
     "name": "analyze_query_plan",
     "description": "Analyzes SQL EXPLAIN execution plans to detect sequential table scans, high-cost cartesian joins, and buffer memory bottlenecks. Use when diagnosing slow…"
    },
    {
     "name": "detect_breaking_migrations",
     "description": "Compares source and target DDL schemas to identify breaking changes, destructive column drops, and lock-inducing mutations. Use when verifying CI/CD migration…"
    },
    {
     "name": "transpile_sql_dialect",
     "description": "Transpiles SQL queries and DDL schemas across PostgreSQL, MySQL, and SQLite dialects, rewriting functions and syntax quirks. Use when migrating application…"
    },
    {
     "name": "recommend_database_indexes",
     "description": "Recommends optimal single-column and composite B-Tree/BRIN indexes based on slow query WHERE, JOIN, and ORDER BY clauses. Use when optimizing database…"
    },
    {
     "name": "validate_schema_normalization",
     "description": "Audits database schemas for third normal form (3NF) compliance, transitive dependencies, and missing foreign key constraints. Use when reviewing database…"
    },
    {
     "name": "sanitize_sql_telemetry",
     "description": "Masks PII, financial values, and credential literals from raw SQL query logs and slow-query dumps before telemetry storage. Use when scrubbing production…"
    },
    {
     "name": "synthesize_seed_fixtures",
     "description": "Generates deterministic relational test seed fixtures respecting foreign key constraints, unique indexes, and data bounds. Use when provisioning mock database…"
    },
    {
     "name": "calculate_pool_headroom",
     "description": "Calculates optimal connection pool sizing, idle timeouts, and client headroom based on server RAM and concurrency profile. Use when sizing PgBouncer…"
    },
    {
     "name": "audit_transaction_isolation",
     "description": "Audits database transaction workflows for concurrency anomalies, dirty reads, non-repeatable reads, and deadlock risks. Use when reviewing financial transfer…"
    },
    {
     "name": "generate_orm_models",
     "description": "Compiles SQL DDL schemas into type-safe ORM entities and TypeScript validation schemas (Prisma, Drizzle, SQLAlchemy, Zod). Use when scaffolding application…"
    }
   ]
  },
  "reach": {
   "type": "mcp",
   "door": "https://diogenesgateway.com/mcp/database-intelligence",
   "answers": true,
   "checked": "2026-12-04T06:24:52.456Z",
   "http": 200,
   "how": "MCP server — connect an MCP client to this address.",
   "badges": [
    {
     "kind": "mcp",
     "state": "verified",
     "checked": "2026-12-04T07:22:20.696Z",
     "since": "2026-12-04T07:22:20.696Z"
    }
   ],
   "verified": {
    "kind": "mcp",
    "state": "verified",
    "checked": "2026-12-04T07:22:20.696Z",
    "since": "2026-12-04T07:22:20.696Z"
   }
  },
  "liveness": {
   "answers": true,
   "http": 200,
   "checked": "2026-12-04T06:24:52.456Z",
   "last_answer_at": "2026-12-04T06:24:52.456Z",
   "last_ms": 72,
   "checked_at": "2026-12-04T06:24:52.456Z"
  },
  "connect": {
   "mcp_url": "https://diogenesgateway.com/mcp/database-intelligence",
   "tested": {
    "state": "verified",
    "checked": "2026-12-04T07:22:20.696Z",
    "since": "2026-12-04T07:22:20.696Z"
   },
   "transport": "streamable-http",
   "clients": {
    "claude": {
     "where": "Claude (web and desktop): Connectors → Add → Add custom connector",
     "paste": "https://diogenesgateway.com/mcp/database-intelligence"
    },
    "claude_code": {
     "command": "claude mcp add --transport http diogenes-database-intelligence-sql-engine-mcp 'https://diogenesgateway.com/mcp/database-intelligence'",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "diogenes-database-intelligence-sql-engine-mcp": {
        "type": "http",
        "url": "https://diogenesgateway.com/mcp/database-intelligence"
       }
      }
     }
    },
    "cursor": {
     "file": ".cursor/mcp.json",
     "all_projects_file": "~/.cursor/mcp.json",
     "config": {
      "mcpServers": {
       "diogenes-database-intelligence-sql-engine-mcp": {
        "url": "https://diogenesgateway.com/mcp/database-intelligence"
       }
      }
     }
    },
    "vscode": {
     "command_palette": "MCP: Add Server → HTTP (HTTP or Server-Sent Events) → paste the address",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "diogenes-database-intelligence-sql-engine-mcp": {
        "type": "http",
        "url": "https://diogenesgateway.com/mcp/database-intelligence",
        "tools": [
         "*"
        ]
       }
      }
     },
     "older_file": ".vscode/mcp.json",
     "older_config": {
      "servers": {
       "diogenes-database-intelligence-sql-engine-mcp": {
        "type": "http",
        "url": "https://diogenesgateway.com/mcp/database-intelligence"
       }
      }
     }
    },
    "chatgpt": {
     "where": "chatgpt.com/plugins → + → Add custom MCP server → Server URL",
     "paste": "https://diogenesgateway.com/mcp/database-intelligence"
    },
    "curl": [
     "curl -sS -D - -X POST 'https://diogenesgateway.com/mcp/database-intelligence' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"curl\",\"version\":\"1.0\"}}}'",
     "curl -sS -X POST 'https://diogenesgateway.com/mcp/database-intelligence' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}'",
     "curl -sS -X POST 'https://diogenesgateway.com/mcp/database-intelligence' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\"}'"
    ],
    "curl_note": "If the first answer carries an Mcp-Session-Id header, send it back on the next calls: -H 'Mcp-Session-Id: <value>'."
   },
   "note": "Generated only from the MCP address the book tested on this card. Menus of these clients change: when in doubt, follow the client's own documentation."
  }
 }
}