import { formatTable } from '../utils/formatTable'
import { version } from '../utils/getVersionFromPackageJson'
/**
* Adds `Prisma CLI Version : x.x.x` at the bottom of the error output.
*/
export function addVersionDetailsToErrorMessage(message: string) {
const rows = [['Prisma CLI Version', version]]
return `${message}
${formatTable(rows)}`
}
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