Best for
- Developers who need to interact with multiple database types
- Claude users who want to operate databases using natural language
- Scenarios requiring quick data export or insight recording
This server provides a rich set of database operation tools, covering multiple database types with flexible configuration. However, users need to be cautious with write operations and credential security.
Strongest · Documentation 15/20 Weakest · Security and permissions 8/20
Static review · not runListed 2026-08-07
Read the FMRS scoring method →Runtime:Node.js 18+
AWS_ACCESS_KEY_ID
AWS access key ID used to supply credentials for AWS IAM authentication; create one in the AWS IAM console.
AWS_SECRET_ACCESS_KEY
AWS secret access key paired with AWS_ACCESS_KEY_ID; treat as a sensitive credential.
AWS_PROFILE
Named AWS CLI profile used by the default credential chain for AWS IAM auth with RDS MySQL; set up via aws configure.
{
"mcpServers": {
"sqlite": {
"command": "npx",
"args": [
"-y",
"@executeautomation/database-server",
"/path/to/your/database.db"
]
},
"sqlserver": {
"command": "npx",
"args": [
"-y",
"@executeautomation/database-server",
"--sqlserver",
"--server",
"your-server-name",
"--database",
"your-database-name",
"--user",
"your-username",
"--password",
"your-password"
]
},
"postgresql": {
"command": "npx",
"args": [
"-y",
"@executeautomation/database-server",
"--postgresql",
"--host",
"your-host-name",
"--database",
"your-database-name",
"--user",
"your-username",
"--password",
"your-password"
]
},
"mysql": {
"command": "npx",
"args": [
"-y",
"@executeautomation/database-server",
"--mysql",
"--host",
"your-host-name",
"--database",
"your-database-name",
"--port",
"3306",
"--user",
"your-username",
"--password",
"your-password"
]
},
"mysql-aws": {
"command": "npx",
"args": [
"-y",
"@executeautomation/database-server",
"--mysql",
"--aws-iam-auth",
"--host",
"your-rds-endpoint.region.rds.amazonaws.com",
"--database",
"your-database-name",
"--user",
"your-aws-username",
"--aws-region",
"us-east-1"
]
}
}
}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"sqlite": {
"command": "npx",
"args": [
"-y",
"@executeautomation/database-server",
"/path/to/your/database.db"
]
},
"sqlserver": {
"command": "npx",
"args": [
"-y",
"@executeautomation/database-server",
"--sqlserver",
"--server",
"your-server-name",
"--database",
"your-database-name",
"--user",
"your-username",
"--password",
"your-password"
]
},
"postgresql": {
"command": "npx",
"args": [
"-y",
"@executeautomation/database-server",
"--postgresql",
"--host",
"your-host-name",
"--database",
"your-database-name",
"--user",
"your-username",
"--password",
"your-password"
]
},
"mysql": {
"command": "npx",
"args": [
"-y",
"@executeautomation/database-server",
"--mysql",
"--host",
"your-host-name",
"--database",
"your-database-name",
"--port",
"3306",
"--user",
"your-username",
"--password",
"your-password"
]
},
"mysql-aws": {
"command": "npx",
"args": [
"-y",
"@executeautomation/database-server",
"--mysql",
"--aws-iam-auth",
"--host",
"your-rds-endpoint.region.rds.amazonaws.com",
"--database",
"your-database-name",
"--user",
"your-aws-username",
"--aws-region",
"us-east-1"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add sqlite -- npx -y @executeautomation/database-server /path/to/your/database.db claude mcp add sqlserver -- npx -y @executeautomation/database-server --sqlserver --server your-server-name --database your-database-name --user your-username --password your-password claude mcp add postgresql -- npx -y @executeautomation/database-server --postgresql --host your-host-name --database your-database-name --user your-username --password your-password claude mcp add mysql -- npx -y @executeautomation/database-server --mysql --host your-host-name --database your-database-name --port 3306 --user your-username --password your-password claude mcp add mysql-aws -- npx -y @executeautomation/database-server --mysql --aws-iam-auth --host your-rds-endpoint.region.rds.amazonaws.com --database your-database-name --user your-aws-username --aws-region us-east-1
Run it in a terminal; replace any <…> placeholders with your own values first.
Check that tools like read_query and list_tables appear in the client's tool list, then ask the AI to run list_tables; a returned table list confirms the database connection works.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
MCP Database Server is a Model Context Protocol (MCP) server that enables Claude to interact with various relational databases through a set of tools. It supports SQLite, SQL Server, PostgreSQL, and MySQL. The server provides capabilities for executing queries, managing table schemas, exporting data, and recording business insights.
Connect ClickHouse to your AI assistants
Unofficial MCP server providing advanced access to the ChEMBL chemical database
Google's official database MCP toolbox — define AI-accessible database tools via config
Bytebase's official, minimalist two-tool database MCP server
Source revision d6afa4be08eb Data synced 2026-10-19 Read the FMRS scoring method