create_database
Create Database
Create a new Prisma Postgres database within an existing project. The database will be provisioned in the specified region and connection details will be returned.
Ask your agent in plain language. Each of these maps to a real tool on the server.
create_database
Create a new Prisma Postgres database within an existing project. The database will be provisioned in the specified region and connection details will be returned.
create_connection
Create a new connection string for a Prisma Postgres database. This generates new credentials that can be used to connect to the database.
get_project
Retrieve details of a specific project by its ID, including its associated databases and their connection information.
list_databases
Discover accessible Prisma Postgres database IDs, names, regions, and projects. Optionally filter by a project ID from list_projects. Omit cursor and limit to retrieve all pages.
transfer_project
Transfer a project (including all its databases) to another user's workspace. The recipient must have provided an OAuth access token that grants workspace access. This is typically used in partner provisioning flows.
delete_connection
Delete a connection string from a Prisma Postgres database. Any applications using this connection will lose access.
list_workspaces
List all workspaces accessible to the authenticated user. Workspaces are organizational containers for projects and databases on the Prisma Data Platform.
get_database_usage
Retrieve Prisma Postgres operation and storage usage for a date range. Legacy query-count and egress fields remain absent when the provider does not report them.
get_database
Retrieve detailed information about a specific Prisma Postgres database, including its connection strings, direct connection credentials, endpoints, and project association.
create_project
Create a new project with a default Prisma Postgres database. A project is a container for databases. When a region is provided, a default database is provisioned unless createDefaultDatabase is false.
list_connections
List connections for a specific Prisma Postgres database, including direct, pooled, and Accelerate endpoints. Secret connection strings may only be returned when created.
delete_database
Permanently delete a Prisma Postgres database. This action is irreversible and will destroy all data, connections, and backups associated with the database.
get_database_backups
Retrieve recent backup metadata for a Prisma Postgres database, including retention and whether more backups exist. The API does not expose a continuation cursor for this endpoint.
get_current_user
Identify the authenticated Prisma user, workspace, and credential type. Service tokens may have a workspace without a user.
delete_project
Permanently delete a Prisma project and its resources. Discover the project with list_projects and verify ownership before deletion.
list_regions
Discover Prisma Postgres region IDs and availability before provisioning a database.
list_projects
Discover accessible Prisma projects with their IDs, names, workspace, and default region. Use these project IDs when managing databases.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Manage Prisma Postgres projects, databases, connections, backups, and usage with the public REST API. Discover authorized workspaces and available regions, provision databases, transfer projects through controlled partner flows, and identify the authenticated principal.
Common questions about connecting Prisma to AI agents with Metorial.