import { mysqlClient, postgresClient } from './database'
async function main() {
// First query to PostgreSQL - works fine
const postgresData = await postgresClient.user.findFirst()
console.log('PostgreSQL query succeeded:', postgresData)
// Second query to MySQL - fails with error
const mysqlData = await mysqlClient.user.findFirst()
console.log('MySQL query succeeded:', mysqlData)
process.exit(0)
}
void main()
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