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
serializeQueryEngineName.ts•482 B
/**
* Normalize the snapshot messages related to the interaction with Query Engine.
*/
export function serializeQueryEngineName(message: string) {
const normalizedName = 'query-engine-NORMALIZED'
if (process.env.PRISMA_CLI_QUERY_ENGINE_TYPE === 'binary') {
return message.replace(/query-engine binary/g, normalizedName)
}
// process.env.PRISMA_CLI_QUERY_ENGINE_TYPE is 'library' by default
return message.replace(/query-engine-node-api library/g, normalizedName)
}