mysqlsh_load_dump
Load a MySQL Shell dump using util.loadDump(). Restores data from a dump created by dumpInstance, dumpSchemas, or dumpTables. Supports parallel loading.
This record as markdown: /tools/io-github-neverinfamous-mysql-mcp/mysqlsh-load-dump.md
What mysqlsh_load_dump does on Mysql Mcp
AI agents use mysqlsh_load_dump to create or update resources in Mysql Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mysql Mcp environment.
Why mysqlsh_load_dump is rated Medium
Loading/restoring a dump writes large amounts of data into the database. While it can overwrite existing data (which could be considered destructive), the primary intent is restoration/import — a Write operation. However, if it overwrites existing schemas or tables, it could destroy current data.
From the tool's definition 'Restores data from a dump created by dumpInstance, dumpSchemas, or dumpTables. Supports parallel loading.'
Attacks that exploit this kind of access
The rule that runs mysqlsh_load_dump safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Mysql Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For mysqlsh_load_dump, this is the rule to start with:
mysqlsh_load_dump stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Mysql Mcp, apply this rule, and every mysqlsh_load_dump call is checked against it from then on.
Questions about mysqlsh_load_dump
Load a MySQL Shell dump using util.loadDump(). Restores data from a dump created by dumpInstance, dumpSchemas, or dumpTables. Supports parallel loading. It is categorised as a Write tool in the Mysql Mcp MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Mysql MCP server in PolicyLayer and add a rule for mysqlsh_load_dump: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mysql Mcp. Nothing to install.
mysqlsh_load_dump is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the mysqlsh_load_dump rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for mysqlsh_load_dump. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
mysqlsh_load_dump is provided by the Mysql MCP server (oci:docker.io/writenotenow/mysql-mcp:v1.0.0). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Mysql, and thousands of servers like it.
This server
Across the catalogue