mcp-database-server

mcp-database-server

0

The MCP Database Server is designed to facilitate database access for Claude, supporting SQLite, SQL Server, and PostgreSQL. It provides various database tools and flexible setup options, catering to both direct usage and local development needs.

MCP Database Server

This project is an MCP (Model Context Protocol) server that provides database access capabilities to Claude, offering support for SQLite, SQL Server, and PostgreSQL databases.

Features

  • Supports three main database systems: SQLite, SQL Server, and PostgreSQL.
  • Offers various tools such as read_query, write_query, create_table, drop_table, and more to interact with databases.
  • Provides flexibility with direct usage or local development setup for integration.

Installation

  1. Clone the repository and navigate to the directory.
  2. Install dependencies using npm.
  3. Build the project.

Usage

The server can be used directly with Claude through a global NPM package installation or through local development setup.

Available Database Tools

Features tools like executing queries, creating and altering tables, and exporting query results.

Requirements

  • Node.js 18+
  • SQL Server 2012 or later for SQL Server connectivity.
  • PostgreSQL 9.5 or later for PostgreSQL connectivity.