Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
dotenv-5-only-root.test.ts717 B
import { defaultTestConfig } from '@prisma/config' import { jestContext, jestStdoutContext } from '@prisma/get-platform' import { loadEnvFile } from '@prisma/internals' const ctx = jestContext.new().add(jestStdoutContext()).assemble() it('should not load root .env file', async () => { ctx.fixture('dotenv-5-only-root') await loadEnvFile({ printMessage: true, config: defaultTestConfig() }) expect(ctx.mocked['process.stdout.write'].mock.calls.join('\n')).toMatchInlineSnapshot(`""`) expect(ctx.mocked['process.stderr.write'].mock.calls.join('\n')).toMatchInlineSnapshot(` "Environment variables loaded from .env " `) expect(process.env.DOTENV_ROOT_SHOULD_BE_UNDEFINED).toEqual(undefined) })

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