# mcp-database

> mcp-database — lkhadi-mcp-database. Use this tool when you need to securely access and manage MySQL and PostgreSQL databases from MCP clients like Claude and Cursor. It solves problems related to secure database access, connection reliability, and multi-hop networking by providing optional SSH tunneling and automatic connection recovery. The mcp-database tool accepts database credentials and connection parameters as input and outputs secure, reliable database access for authorized clients.

Canonical page: https://skillsregistry.net/skills/lkhadi-mcp-database  
JSON: https://api.skillsregistry.net/v1/skills/lkhadi-mcp-database

## Description

MCP server that gives Claude, Cursor, and other MCP clients secure access to MySQL and PostgreSQL databases, with optional SSH tunneling, multihop jump hosts, and automatic connection recovery.

## Trust

- **Trust score (0–1):** 0.91
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **License:** MIT
- **Updated:** 2026-09-28

## Source

- **Source listing:** [GitHub](https://github.com/lkhadi/mcp-database)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "lkhadi-mcp-database"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/lkhadi-mcp-database` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/lkhadi-mcp-database/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
