mcp-database-server
Query SQLite, SQL Server, PostgreSQL and MySQL databases from Claude via MCP.
Install
See setup instructions on executeautomation.github.ioWhat 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 serversFAQ
- 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.
Embed a listing badge
<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>
Comments
No comments yet.