What are the prerequisites?
You need Node.js, `yarn` or `npm`, `@prisma/client` installed as a peer dependency, a valid `prisma/schema.prisma` file, and a running database (e.g., PostgreSQL, MySQL, SQLite).
@nikomatt69
基本情報
概要はまだありません
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"cadcamfun-db-mcp-server": {
"command": "npx",
"args": [
"prisma",
"generate"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。
It provides a Model Context Protocol (MCP) server that acts as an interface to a database managed by Prisma ORM, allowing MCP-compatible clients (like AI assistants) to query resources and execute CRUD tools on Prisma models.
Install cadcamfun-db-mcp-server and @prisma/client, set the DATABASE_URL environment variable (and optionally TRANSPORT_TYPE, PORT), generate Prisma Client (npx prisma generate), then call createPrismaMcpServer() and server.start() with the desired transport type (stdio or sse). Connect your MCP client to the running server.
resource://users/{id})stdio and sse (HTTP) transport modesYou need Node.js, `yarn` or `npm`, `@prisma/client` installed as a peer dependency, a valid `prisma/schema.prisma` file, and a running database (e.g., PostgreSQL, MySQL, SQLite).
Set the `TRANSPORT_TYPE` environment variable to `sse` for Server‑Sent Events over HTTP (defaults to `stdio`). If using `sse`, you can also set `PORT` (default `8080`).
Configure the MCP client with either the `stdio` command (e.g., `npx cadcamfun-db-mcp-server`) or the SSE URL (`http://localhost:8080/sse`). Example `mcp.json` snippets are provided in the README.
Yes. Fork the package or modify `src/resources.ts` and `src/tools.ts`, then rebuild with `yarn build`.
`DATABASE_URL` is required. Optional variables include `TRANSPORT_TYPE`, `PORT`, `MAIN_APP_URL`, and `LOG_LEVEL`. Do not commit sensitive variables to version control.
A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
A Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma

Model Context Protocol Servers
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
コメント