database_mcp_create
Generates an MCP server for the Product's own users and agents, over the tables and columns you choose: each tool is a get, list, search, traverse, insert or update on one table. It never runs as the Product's role. Helm7 creates two database roles for it, one for public tools and one for signed-in users, and grants them only the columns the tools name; every request runs in its own transaction as one of them, with the caller's claims set so row_filter and your own row level security both apply. Returns the server's URL. Free; search tools embed the query at cost.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>",
"databaseId": "<databaseId>",
"tools": "<tools>"
},
"name": "database_mcp_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | What the server is called in an MCP client, e.g. "Acme catalogue". | |
| tools | Yes | The tools to offer. At least one. | |
| confirm | No | Required for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would. | |
| dry_run | No | Return the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before. | |
| productId | Yes | Product identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d. | |
| databaseId | Yes | Database identifier, from product_get or database_get. | |
| idempotency_key | No | Replaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money. |