MCP Database

v1.0.0Databasesstable

A modular MCP server that enables interaction with multiple database types including PostgreSQL, MySQL, SQLite, Redis, MongoDB, and LDAP. It provides tools for executing queries, managing SQL commands, and exploring database schemas with configurable

mcp-databasemcpai-integration
Share:
32
Stars
0
Downloads
0
Weekly
0/5

What is MCP Database?

MCP Database is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to modular mcp server that enables interaction with multiple database types including postgresql, mysql, sqlite, redis, mongodb, and ldap. it provides tools for executing queries, managing sql commands, ...

A modular MCP server that enables interaction with multiple database types including PostgreSQL, MySQL, SQLite, Redis, MongoDB, and LDAP. It provides tools for executing queries, managing SQL commands, and exploring database schemas with configurable

This server falls under the Databases category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A modular MCP server that enables interaction with multiple

Use Cases

Query and manage databases through standard protocols.
Execute SQL operations and retrieve structured data.
LicenseNOASSERTION
Languagejavascript
Versionv1.0.0
UpdatedApr 11, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-database

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MCP Database

The Fireproof MCP database server provides a JSON document store with full CRUD operations accessible through the Model Context Protocol. It is built on Fireproof, a local-first embedded database, and exposes create, read, update, delete, and query operations to AI clients. Developers use it to give Claude or other MCP clients persistent, structured storage without standing up an external database service.

Prerequisites

  • Node.js 18 or later installed
  • npm for installing dependencies and building the project
  • An MCP client such as Claude Desktop
  • Git for cloning the repository
1

Clone the repository

Clone the mcp-database-server repository from GitHub to your local machine.

git clone https://github.com/fireproof-storage/mcp-database-server.git && cd mcp-database-server
2

Install dependencies

Install the Node.js dependencies required to build and run the server.

npm install
3

Build the project

Compile the TypeScript source into the build directory that the server executable references.

npm run build
4

Add to your MCP client configuration

Edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS (or %APPDATA%/Claude/claude_desktop_config.json on Windows) and point it at the compiled entry point.

{
  "mcpServers": {
    "fireproof": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-database-server/build/index.js"]
    }
  }
}
5

Restart Claude Desktop and verify

Fully quit and reopen Claude Desktop. Ask it to create a document to confirm the database server is connected and accepting operations.

MCP Database Examples

Client configuration

Claude Desktop configuration pointing at the locally built Fireproof MCP server. Replace the path with the absolute path to your cloned repository.

{
  "mcpServers": {
    "fireproof": {
      "command": "node",
      "args": ["/Users/you/mcp-database-server/build/index.js"]
    }
  }
}

Prompts to try

Use natural language to interact with the Fireproof document store through your MCP client.

- "Create a new document with the fields name='Alice' and role='engineer'"
- "Read the document with id abc123"
- "Update document xyz789 and set its status field to completed"
- "Query all documents sorted by the createdAt field"
- "Delete the document with id old-record-001"

Troubleshooting MCP Database

Claude Desktop cannot find the server — 'spawn ENOENT' or similar error

Ensure you are using the absolute path to the built index.js file in the args array. Run 'pwd' inside the mcp-database-server directory and prepend that path to 'build/index.js'. The path must not be relative.

npm run build fails with TypeScript errors

Ensure you ran 'npm install' first to pull all type definitions. Check that your Node.js version is 18 or later with 'node --version'. If errors persist, delete node_modules and package-lock.json and run 'npm install' again.

Need to debug MCP communication issues

Run 'npm run inspector' to launch the browser-based MCP Inspector tool. This lets you send raw JSON-RPC messages and inspect responses without going through Claude Desktop, making it much easier to isolate protocol-level problems.

Frequently Asked Questions about MCP Database

What is MCP Database?

MCP Database is a Model Context Protocol (MCP) server that modular mcp server that enables interaction with multiple database types including postgresql, mysql, sqlite, redis, mongodb, and ldap. it provides tools for executing queries, managing sql commands, and exploring database schemas with configurable It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MCP Database?

Follow the installation instructions on the MCP Database GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with MCP Database?

MCP Database works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MCP Database free to use?

Yes, MCP Database is open source and available under the NOASSERTION license. You can use it freely in both personal and commercial projects.

Browse More Databases MCP Servers

Explore all databases servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-database": { "command": "npx", "args": ["-y", "mcp-database"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MCP Database?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides