# db-oauth-mcp

> Use this tool when you need to securely access databases using OAuth 2.0 authentication, enabling read-only SQL queries against MariaDB/MySQL and Microsoft SQL Server databases. It solves the problem of securely managing database credentials, providing short-lived, per-user access through natural language interactions. The tool takes in user authentication requests and outputs secure, temporary database credentials.

Canonical page: https://skillsregistry.net/skills/kpconnell-db-oauth-mcp-node  
JSON: https://api.skillsregistry.net/v1/skills/kpconnell-db-oauth-mcp-node

## Description

A Node.js MCP server that enables Claude Desktop to securely run read-only SQL queries against MariaDB/MySQL and Microsoft SQL Server databases using OAuth 2.0 PKCE authentication. It provides short-lived, per-user credentials that never touch disk, allowing secure database access through natural language interactions.

## Trust

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

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/jaienz0yf9)
- **Repository:** <https://github.com/kpconnell/db-oauth-mcp-node>

## 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": "kpconnell-db-oauth-mcp-node"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/kpconnell-db-oauth-mcp-node` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/kpconnell-db-oauth-mcp-node/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
