Skip to main content
Glama

Prisma MCP Server

Official
by prisma
README.md762 B
# Studio CLI Test Package Temporary package for testing the new `prisma studio` CLI command. ## Setup 1. Install dependencies: ```bash pnpm install ``` 2. Create a `.env` file from the example: ```bash cp .env.example .env ``` 3. Add your PostgreSQL connection string to `.env`: ``` DATABASE_URL=postgresql://user:password@host:port/database ``` ## Testing Run the Studio command: ```bash pnpm studio ``` Or with debug mode: ```bash pnpm studio:debug ``` ## Expected Output The command should: 1. Connect to your PostgreSQL database via the adapter 2. Introspect the database schema 3. Output JSON with table/column information 4. Return "ok!" ## Cleanup To remove this test package: ```bash rm -rf sandbox/studio-test ```

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prisma/prisma'

If you have feedback or need assistance with the MCP directory API, please join our Discord server