1. Conduid
  2. Data
  3. Mssql Read Only MCP
MCP server · Data

Mssql Read Only MCP

A lightweight, read-only MSSQL MCP server

Unclaimed databasemcpmssql
34Low

Scored 6 months ago · breakdown

About Mssql Read Only MCP

Mssql Read Only MCP is an MCP server in the Data category: a lightweight, read-only MSSQL MCP server.

Install

From source
git clone https://github.com/coston/mssql-read-only-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (3)

describe_tableShow table structure (columns and types)

Parameters not published.

list_tableList all tables in the database (with optional schema filter)

Parameters not published.

read_dataExecute SELECT queries

Parameters not published.

Ask AI

✦

Ask AI about Mssql Read Only MCP

Powered by Claude · Grounded in docs

I know everything about Mssql Read Only MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

MSSQL Read-Only MCP Server

A lightweight, read-only MSSQL MCP server.

Features

  • Read-Only by Design - Safe database querying with no write operations
  • Single File Implementation - All code in one easy-to-understand file (~240 lines)
  • Three Essential Tools - List tables, describe structure, query data

Installation

Option 1: Using npx (Recommended)

No installation required! Use npx to run the server directly:

With Claude Code CLI

claude mcp add-json mssql-read-only-mcp '{"type":"stdio","command":"npx","args":["-y","mssql-read-only-mcp"],"env":{"SERVER_NAME":"your-server.database.windows.net","DATABASE_NAME":"YourDatabase","SQL_USER":"username","SQL_PASSWORD":"password","SQL_PORT":"1433","TRUST_SERVER_CERTIFICATE":"false"}}'

With Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "mssql-read-only": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mssql-read-only-mcp"],
      "env": {
        "SERVER_NAME": "your-server.database.windows.net",
        "DATABASE_NAME": "YourDatabase",
        "SQL_USER": "username",
        "SQL_PASSWORD": "password",
        "SQL_PORT": "1433",
        "TRUST_SERVER_CERTIFICATE": "false"
      }
    }
  }
}

Windows users: On native Windows (not WSL), use:

{
  "mcpServers": {
    "mssql-read-only": {
      "type": "stdio",
      "command": "cmd",
      "args": ["/c", "npx", "-y", "mssql-read-only-mcp"],
      "env": {
        "SERVER_NAME": "your-server.database.windows.net",
        "DATABASE_NAME": "YourDatabase",
        "SQL_USER": "username",
        "SQL_PASSWORD": "password"
      }
    }
  }
}

Option 2: Local Development

For local development or modifications:

git clone <repository-url>
cd mssql-read-only-mcp
npm install
npm run build

Then configure with the local path:

claude mcp add-json mssql-read-only-mcp '{"type":"stdio","command":"node","args":["/path/to/mssql-read-only-mcp/dist/index.js"],"env":{"SERVER_NAME":"your-server.database.windows.net","DATABASE_NAME":"YourDatabase","SQL_USER":"username","SQL_PASSWORD":"password","SQL_PORT":"1433","TRUST_SERVER_CERTIFICATE":"false"}}'

Configuration

Required environment variables:

  • SERVER_NAME - MSSQL server hostname
  • DATABASE_NAME - Database name
  • SQL_USER - SQL authentication username
  • SQL_PASSWORD - SQL authentication password

Optional environment variables:

  • SQL_PORT - Port number (default: 1433)
  • TRUST_SERVER_CERTIFICATE - Set to "true" to trust self-signed certs (default: false)
  • CONNECTION_TIMEOUT - Connection timeout in seconds (default: 30)

Available Tools

  • list_table - List all tables in the database (with optional schema filter)
  • describe_table - Show table structure (columns and types)
  • read_data - Execute SELECT queries

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Mssql Read Only MCP

How do I install Mssql Read Only MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Mssql Read Only MCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mssql Read Only MCP still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.