# sql-server-mcp

> sql-server-mcp — ahaugerud-sql-server-mcp. Use this tool when you need to authenticate and query SQL Server or MS Fabric databases in a read-only mode, as it provides a local MCP server that authenticates users via Entra ID and runs a dedicated server process per tenant. It solves problems related to secure and isolated database querying, and accepts authentication credentials as input, returning query results as output. Ideal for use cases requiring tenant-specific, read-only database access with robust authentication.

Canonical page: https://skillsregistry.net/skills/ahaugerud-sql-server-mcp  
JSON: https://api.skillsregistry.net/v1/skills/ahaugerud-sql-server-mcp

## Description

A local MCP server for read-only SQL Server / MS Fabric queries. It authenticates as the user via Entra ID and runs one server process per tenant.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-08-29

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/n2fppjyrcm)
- **Repository:** <https://github.com/ahaugerud/sql-server-mcp>

## 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": "ahaugerud-sql-server-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ahaugerud-sql-server-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ahaugerud-sql-server-mcp/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
