cadcamfun-db-mcp-server

cadcamfun-db-mcp-server

0

Prisma MCP Server is a versatile server for MCP-compatible clients, facilitating interaction with databases managed by Prisma ORM through resource querying and tool execution. It supports various modes of transport and can be extended with custom resources and tools.

Prisma MCP Server

This package provides a Model Context Protocol (MCP) server for interfacing with a database managed by Prisma ORM. It allows MCP-compatible clients to interact with the database by querying resources and executing tools.

Features

  • Resource Loading: Prisma models are exposed as MCP resources.
  • Tool Execution: Supports CRUD operations on Prisma models.
  • Database Interaction: Translates MCP requests to Prisma Client database queries.
  • Configurable Transport: Supports stdio and sse transport modes.
  • Extensible: Custom resources and tools can be added.

Prerequisites

  • Node.js, Yarn or npm, Prisma Client, and a running database instance are required.

Setup in Consuming Project

  • Configure Prisma schema and environment variables.
  • Generate Prisma Client before running the server.

Connecting with Claude Desktop

  • Configure transport method and start the server for connection.

Available Resources & Tools

  • Exposes MCP resources and tools for Prisma models such as users, projects, and tools.