mcp-database-server

Query SQLite, SQL Server, PostgreSQL and MySQL databases from Claude via MCP.

Local

Install

See setup instructions on executeautomation.github.io

What it does

This MCP server gives Claude a set of tools for working with relational databases: SQLite, SQL Server, PostgreSQL and MySQL. You pick a database by passing connection arguments when the server starts — a file path for SQLite, or host, database, user and password flags for the network databases, with optional port, SSL and connection-timeout settings.

The provided tools cover reading data with SELECT queries, running INSERT, UPDATE and DELETE statements, and creating, altering or dropping tables. There are also helpers to list tables, describe a table's schema, export query results as CSV or JSON, and record or list short business insights in a memo.

It is aimed at developers and analysts who want Claude to inspect or modify a database during a conversation rather than switching tools. Installation is through npm, either globally or from a local build, and it is configured as an MCP server in Claude Desktop's config file.

Things to keep in mind:

  • It is documented for Claude Desktop, so other MCP clients are not covered.
  • Node.js 18+ is required, plus SQL Server 2012+ or PostgreSQL 9.5+ for those backends.
  • MySQL on Amazon RDS can use AWS IAM authentication with configured AWS credentials.
  • Dropping a table requires an explicit confirmation flag.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
408
Last push
Aug 27, 2025
License
MIT
Archived
No

Other MySQL MCP servers

Compare servers
  • Open-source desktop SQL workspace with an MCP server for AI coding agents.

    • BigQuery
    • ClickHouse
    • DuckDB
    Updated
  • Instant REST and MCP APIs over PostgreSQL or MySQL without writing a backend

    • MySQL
    • PostgreSQL
    Updated
  • Git-versioned codebase index that coding agents read before acting.

    • MySQL
    • PostgreSQL
    Updated
  • SQL query engine for files, databases, and apps, with MCP access for LLMs.

    • MySQL
    • Notion
    • SQLite
    Updated
  • Keyboard-first SQL client for PostgreSQL, MySQL, SQL Server, SQLite and ClickHouse.

    • ClickHouse
    • MySQL
    • PostgreSQL
    Updated
  • MCP server for exploring and querying MySQL from AI clients

    • MySQL
    Updated

FAQ

What license does mcp-database-server use?
MIT
Does mcp-database-server run locally or remotely?
It runs locally.
Is mcp-database-server an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/mcp-database-server"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options