Skip to main content
skill CX Codex

universal-db-mcp-connector — Claude Code skill

The universal-db-mcp-connector skill stands up an MCP server against your database, so the assistant writes and runs queries itself. It covers 17 database types, among them MySQL, PostgreSQL and MongoDB.

no license 203 installs ★ 9 updated 2026-10-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/mcp-skills --skill universal-db-mcp-connector -a claude-code
Open on GitHub

What universal-db-mcp-connector does

The skill installs the universal-db-mcp server and shows where to register it with your assistant. Once it is wired up you ask in plain language, and the assistant fetches the schema and runs the query. Types on the list include MySQL, PostgreSQL, MongoDB, Redis, Oracle, SQL Server, SQLite, ClickHouse and TiDB, plus Dameng, KingbaseES and GaussDB.

Two modes are covered. Under stdio the server is an MCP process declared through command and args in claude_desktop_config.json or .cursor/config.json. Under http it runs as a service with SSE and Streamable HTTP and exposes REST routes /api/health, /api/connect and /api/query for remote clients and Dify.

Passwords in the examples come from the environment (${DB_PASSWORD}) instead of sitting in the config file. --type is the only argument marked required; flags such as --port, --pool-size and --cache-ttl carry defaults. The sample configs also switch on --readonly, which keeps the assistant from writing to your tables.

What it helps with

  • Point Claude Desktop at the production MySQL instance and ask what is slow
  • Count last week's orders in PostgreSQL without writing SQL by hand
  • Hand a local SQLite file to the assistant inside Cursor
  • Run the HTTP mode behind an API key for a remote client
  • Turn on --readonly so the assistant cannot change rows

Example prompts for the agent

  • Wire up my local myapp MySQL database to Claude Desktop over MCP, read-only.
  • Start the connector in HTTP mode on port 3000 using the keys in API_KEYS.
  • Write a Cursor config for PostgreSQL at analytics.example.com, schema public, schema cache 600 seconds.

How to install universal-db-mcp-connector

1Skills CLI (Vercel)

npx skills add reason-machines/mcp-skills --skill universal-db-mcp-connector -a claude-code

2Manually: put the files in place

~/.claude/skills/universal-db-mcp-connector/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/universal-db-mcp-connector/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about universal-db-mcp-connector

How do I install universal-db-mcp-connector in Claude Code?

Run npx skills add reason-machines/mcp-skills --skill universal-db-mcp-connector -a claude-code. The skill lands at ~/.claude/skills/universal-db-mcp-connector/SKILL.md.

What does this skill do?

It documents how to register the universal-db-mcp server with your assistant and supplies working configs, so the assistant can reach a database and answer questions with queries.

stdio or HTTP mode — which one applies?

stdio runs the server as a process inside the client, which suits Claude Desktop and Cursor. HTTP runs it as a standalone service with SSE, Streamable HTTP and REST routes for remote clients such as Dify.

Similar skills

All skills for Data and databases →

From the same set98

The whole set →
homeassistant-mcp-server homeassistant-mcp-server connects AI coding assistants to Home Assistant via MCP. Lets you monitor sensors, adjust climate, and manage smart appliances from the workspace. CX Codex +1 207installs kagi-session2api-mcp-server The kagi-session2api-mcp-server skill guides setup of a Kagi MCP server for web searches and URL summaries. Use it when you want an agent to find online sources or condense an article. CX Codex +1 207installs datagouv-mcp-server The datagouv-mcp-server skill lets an agent search and inspect French open-data datasets through the data.gouv.fr MCP server. Use it for dataset, organization, and resource questions. CX Codex +1 206installs stitch-mcp-cli stitch-mcp-cli brings Google Stitch UI designs into local dev workflows. Runs dev server previews, builds Astro sites, and feeds screens to coding agents via MCP. CX Codex +1 205installs pi-mcp-adapter pi-mcp-adapter is a skill for the Pi agent that connects MCP servers through one proxy tool instead of loading hundreds of definitions into context. Servers connect on demand. CX Codex +1 202installs cheatengine-mcp-bridge cheatengine-mcp-bridge connects an AI agent to Cheat Engine over MCP for memory reads, pointer scans, code analysis, and debugging. Useful for automating reverse-engineering tasks. CX Codex +1 201installs matlab-mcp-core-server The matlab-mcp-core-server skill gives your coding assistant a MATLAB connection through MathWorks' MCP server: run scripts, check .m files statically, list toolboxes, attach to an open session. CX Codex +1 201installs modular-rag-mcp-server This skill guides the deployment and configuration of a modular RAG system exposed to assistants through MCP. Use it when connecting an assistant to a document knowledge base. CX Codex +1 199installs

Project sponsors

Companies that keep this analytics open