Mcp Database

52 tools. 17 can modify or destroy data without limits.

5 destructive tools with no built-in limits. Policy required.

Last updated:

17 can modify or destroy data
35 read-only
52 tools total

Community server · catalogue entry verified 03/07/2026

How to control Mcp Database ↓

What Mcp Database exposes to your agents

Read (35) Write / Execute (12) Destructive / Financial (5)
Critical Risk

The most dangerous Mcp Database tools

17 of Mcp Database's 52 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Mcp Database

PolicyLayer is an MCP gateway — it sits between your AI agents and Mcp Database, and nothing reaches the server without passing your rules. These are the rules we recommend:

Deny destructive operations
{
  "execute_sql": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Blocked by default. Requires approval."
      }
    ]
  }
}

Destructive tools should never be available to autonomous agents without human approval.

Rate limit write operations
{
  "ldap_add": {
    "limits": [
      {
        "counter": "ldap_add_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "describe_table": {
    "limits": [
      {
        "counter": "describe_table_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Mcp Database — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON MCP DATABASE →

Instant setup, no code required.

All 52 Mcp Database tools

READ 35 tools
Read describe_table Get detailed schema information for a table Read describe_view Get view definition Read explain_query Get query execution plan using EXPLAIN Read get_foreign_keys Get all foreign keys for a table Read get_indexes Get all indexes for a table Read get_table_size Get table size information (size, row count) Read get_table_stats Get detailed table statistics (row count, sizes) Read ldap_compare Compare an attribute value of an LDAP entry Read ldap_list_folders Get a flat list of all folders (OUs, containers, domains) in the LDAP directory Read ldap_search Search LDAP directory entries Read ldap_search_folder_structure Search for folder structure in LDAP directory (organizational units, containers, domains) and return hierarchi Read list_schemas List all schemas in the database Read list_tables List all tables in the database Read list_views List all views in a schema Read mongo_count Count documents in a MongoDB collection Read mongo_find Find documents in a MongoDB collection Read mongo_find_one Find one document in a MongoDB collection Read mongo_get_collection_stats Get statistics for a MongoDB collection Read mongo_get_database_stats Get statistics for the MongoDB database Read mongo_get_indexes Get indexes for a MongoDB collection Read mongo_list_collections List all collections in the database Read query Execute a SELECT SQL query and return results Read redis_dbsize Get number of keys in current database Read redis_exists Check if a key exists Read redis_get Get value of a Redis key Read redis_hget Get value from a hash field Read redis_hgetall Get all fields and values from a hash Read redis_info Get Redis server information Read redis_keys Find all keys matching a pattern Read redis_lrange Get range of elements from a list Read redis_smembers Get all members of a set Read redis_ttl Get time to live of a key Read redis_type Get type of a Redis key Read redis_zrange Get range of members from a sorted set Read search_tables Search tables by name pattern

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Mcp Database

Can an AI agent delete data through the Mcp Database MCP server? +

Yes. The Mcp Database server exposes 5 destructive tools including execute_sql, ldap_delete, mongo_delete_many. These permanently remove resources with no undo. PolicyLayer blocks destructive tools by default so they never reach the upstream server.

How do I prevent bulk modifications through Mcp Database? +

The Mcp Database server has 10 write tools including ldap_add, ldap_modify, mongo_create_index. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Mcp Database.

How many tools does the Mcp Database MCP server expose? +

52 tools across 4 categories: Destructive, Execute, Read, Write. 35 are read-only. 17 can modify, create, or delete data.

How do I enforce a policy on Mcp Database? +

Register the Mcp Database MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Mcp Database tool call.

Deterministic rules across all 52 Mcp Database tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

52 Mcp Database tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.