Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Status β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ—„οΈ Databases
  3. SQLX
SQLX logo
Health: ActiveRecent health check succeeded.Last checked 10/14/2026, 4:17:22 PM

SQLX

InstallableWe know how to install it, but have not yet seen it complete a handshake. User RatingsBe the first to rate and review this MCP server!
View Repository2 GitHub StarsTotal stargazers on GitHub for the source repository (2 stars).Visit Website
databasesmcpsqlcli

Run SQL and database commands through MCP across remote databases and local SQLite, DuckDB, or H2 files.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "sqlx": {
      "command": "npx",
      "args": [
        "-y",
        "@ottermind/sqlx@latest"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ—„οΈ More in Databases

Overview

SQLX MCP server connects agents to remote databases and local database files through the SQLX command-line interface. It supports SQL execution, datasource management, connection testing, and command execution for systems including PostgreSQL, MySQL, Redis, MongoDB, SQLite, DuckDB, and H2. Connections are saved in encrypted form, while results are returned as complete structured data. Reach for it when an agent needs one CLI-based interface across multiple database engines.

Use cases

β€’Query production or development SQL databases from an agent
β€’Run database commands across Redis and MongoDB connections
β€’Inspect local SQLite, DuckDB, or H2 files
β€’Manage encrypted database datasources from a CLI
β€’Execute multiple SQL statements in one agent request

Key features

β€’MCP access through the sqlx CLI
β€’Encrypted saved connections
β€’Structured query and command results
β€’Support for remote and local database engines
β€’Datasource creation and connection testing
β€’Codex and Claude Code plugins

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by SQLX.

Extracted Tool Capabilities
MCP access through the sqlx CLI
Encrypted saved connections
Structured query and command results
Support for remote and local database engines
Datasource creation and connection testing
Codex and Claude Code plugins

How SQLX works

What the SQLX MCP server does

The SQLX MCP server gives an agent access to database connections through the SQLX CLI and MCP. It can work with remote database services such as MySQL, MariaDB, PostgreSQL, CockroachDB, Oracle, SQL Server, ClickHouse, Trino, Presto, Redis, and MongoDB. It can also open local SQLite, DuckDB, and H2 files.

Connections are created as named datasources and stored in encrypted form. An agent can test a datasource, run one or more SQL statements, or send database-specific commands. SQLX returns complete structured results rather than requiring the agent to parse terminal text.

How it works

The SQLX MCP server runs through the sqlx mcp command. Agent integrations start that process and invoke its exposed operations. The Codex plugin starts the MCP process directly; its read-only operations can run without approval, while sqlx_sql_execute and sqlx_sql_view are treated as destructive and require approval by default.

SQLX selects a worker based on the datasource type. Some engines use native workers, while others use JDBC workers with downloaded database support and a private JRE when needed. The CLI accepts multiple --command values in a single invocation. For Redis, each command is a Redis command rather than SQL; MongoDB uses one command document per command.

Setup and configuration

Release packages are available for macOS ARM64 and x64, Linux ARM64 and x64, and Windows x64. Installation can use GitHub Releases, platform scripts, or npx @ottermind/sqlx@latest; the npx route requires Node.js 22 or newer for installation, but Node.js is not needed by the installed CLI. The Linux release baseline is Ubuntu 24.04.

After installation, create and test a datasource with commands such as:

sh
sqlx datasource add --name dev --type postgresql --host db.example.com --port 5432 --database app
sqlx datasource test --id dev
sqlx sql execute --datasource dev --command "SELECT current_database()"

Codex and Claude Code provide plugins, while DeepSeek Harness and Pi have their own packages. A managed Skill can also be installed for Codex, Claude, dsh, Pi, or another agent’s skill directory. Codex and Claude Code plugins install the CLI when it is missing and enforce their documented minimum CLI version.

Tools and capabilities

The SQLX MCP server covers these operations and connection patterns:

  • Create, test, and use named datasources.
  • Execute SQL and return structured results.
  • Run multiple statements or commands in one invocation.
  • Connect to MySQL-compatible, PostgreSQL-compatible, JDBC-based, and native-worker databases.
  • Open local SQLite, DuckDB, and H2 files.
  • Use database-specific settings such as SQLite read-only mode, DuckDB thread count, and H2 TCP access.
  • Update the CLI and inspect update status independently of saved connections.

Supported datasource types include MySQL, MariaDB, TiDB, GreatSQL, OceanBase, StarRocks, Apache Doris, PostgreSQL, CockroachDB, YugabyteDB, openGauss, Oracle, SQL Server, ClickHouse, Trino, Presto, Hive, Apache Kylin, TDengine, Dameng, KingbaseES, XuguDB, Redis, MongoDB, SQLite, DuckDB, and H2.

Limitations and notes

The CLI installers support the listed release targets; the prebuilt package does not cover every operating system or architecture. Oracle requires a service name, Trino and Presto require a catalog or schema database value, and local SQLite or DuckDB connections use a file path instead of host credentials. Presto requires a username, and its password is sent only over TLS.

Installing or updating the CLI does not automatically update Skills or plugins. A separate sqlx skill update command updates managed Skills. The SQLX_NO_UPDATE_CHECK=1 setting disables the interactive background update check, while piped and CI commands skip that check automatically.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Databases View all alternatives
  • Genai Toolbox logoGenai Toolbox

    Open source MCP server specializing in easy, fast, and secure tools for Databases.

    πŸ—„οΈ Databases6 views
    Compare vs Genai Toolbox β†’
  • MCP Server Mysql logoMCP Server Mysql

    MySQL database integration in NodeJS with configurable access controls and schema inspection

    πŸ—„οΈ Databases3 views
    Compare vs MCP Server Mysql β†’
  • Faucet logoFaucet

    SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.

    πŸ—„οΈ Databases0 views
    Compare vs Faucet β†’
  • MCP Server Jdbc logoMCP Server Jdbc

    An MCP server for generic Database Management System (DBMS) Connectivity via the Java Database Connectivity (JDBC) protocol

    πŸ—„οΈ Databases2 views
    Compare vs MCP Server Jdbc β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about SQLX

SQLX is an MCP server that connects AI agents to remote databases and local SQLite, DuckDB, or H2 files. Its main tools manage and test named datasources, execute SQL statements, and run Redis or MongoDB commands, returning complete structured results through the SQLX command-line interface.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSQLX AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/sqlx?style=directory)](https://allmcps.com/mcp/sqlx)
HTML Embed
<a href="https://allmcps.com/mcp/sqlx"><img src="https://allmcps.com/api/badge/sqlx?style=directory" alt="SQLX on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ—„οΈDatabases
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
ClientsClaude Desktop, Cursor, Cline / VS Code, Windsurf, Claude Code, VS Code (GitHub Copilot), Zed, OpenAI Codex CLI, JetBrains AI Assistant, Roo Code, Continue, LM Studio
Last updatedOct 14, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars2
GitHub Star CountTotal stargazers on GitHub representing community popularity (2 stars).
37Quality signal: Fair Β· 37/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools16/30
Adoption & activity2/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ—„οΈ Databases β†’Best MCP servers for Databases β†’Alternatives to SQLX β†’Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients