{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_5q8sw4bm6b7s","handle":"mssql-mcp-server-2","url":"https://wellknown.network/agents/mssql-mcp-server-2","links":{"self":"https://wellknown.network/agents/mssql-mcp-server-2/record.json","html":"https://wellknown.network/agents/mssql-mcp-server-2","markdown":"https://wellknown.network/agents/mssql-mcp-server-2/record.md","api":"https://wellknown.network/api/v1/agents/mssql-mcp-server-2","status":"https://wellknown.network/api/v1/agents/mssql-mcp-server-2/status","claim":"https://wellknown.network/agents/mssql-mcp-server-2/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mssql-mcp-server-2/claim.json","badge":"https://wellknown.network/agents/mssql-mcp-server-2/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:mssql-mcp-server-2","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mssql-mcp-server","summary":"A Model Context Protocol (MCP) server that enables secure interaction with MSSQL databases. This server allows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.","description":"![Tests](https://github.com/JexinSam/mssql_mcp_server/actions/workflows/test.yml/badge.svg)\n\n# MSSQL MCP Server\n\nMSSQL MCP Server is a **Model Context Protocol (MCP) server** that enables secure and structured interaction with **Microsoft SQL Server (MSSQL)** databases. It allows AI assistants to:\n- List available tables\n- Read table contents\n- Execute SQL queries with controlled access\n\nBuilt on **MCP SDK v2** (2026-07-28 spec) with support for both **stdio** and **Streamable HTTP** transports.\n\n## Features\n\n- **Secure MSSQL Database Access** through environment variables\n- **SQL Injection Protection** with identifier validation\n- **Read-Only & Write Tools** with appropriate MCP annotations\n- **Windows Authentication** support via Trusted Connection\n- **Dual Transport** — stdio (default) and HTTP\n- **Docker Support** with pre-configured ODBC drivers\n- **Comprehensive Logging** for monitoring queries and operations\n\n## Installation\n\n```bash\npip install mssql-mcp-server\n```\n\n## Configuration\n\nSet the following environment variables to configure database access:\n\n```bash\n# Required\nMSSQL_DATABASE=your_database\n\n# Authentication (choose one):\n# Option 1: SQL Server Authentication\nMSSQL_USER=your_username\nMSSQL_PASSWORD=your_password\n\n# Option 2: Windows / Kerberos Authentication\nTrusted_Connection=yes\n\n# Optional\nMSSQL_HOST=localhost           # or use MSSQL_SERVER\nMSSQL_DRIVER=SQL Server        # default driver\nTrustServerCertificate=no      # default: no (set to yes for self-signed certs)\nMCP_TRANSPORT=stdio            # or \"streamable-http\" for Streamable HTTP\n```\n\n## Available Tools\n\n| Tool | Description | Annotations |\n|------|-------------|-------------|\n| `list_tables` | List all tables in the database | Read-only, Idempotent |\n| `query_sql` | Execute read-only SELECT queries | Read-only, Idempotent |\n| `execute_sql` | Execute any SQL statement (SELECT, INSERT, UPDATE, DELETE, DDL) | Destructive |\n\n## Usage\n\n### With Claude Desktop\n\nAdd this configuration to `c…","publisher":null,"homepage":null,"repository":null,"version":"1.0.0","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:mssql-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"data.database","name":"Databases","confidence":1,"provenance":"derived"}],"categories":["data"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"mssql-mcp-server","registry":"pypi","observedAt":"2026-09-10T07:21:38.308Z","publishedAt":"2026-08-16T15:18:56.103491Z","latestVersion":"1.0.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mssql-mcp-server","url":"https://pypi.org/project/mssql-mcp-server/","firstSeenAt":"2026-09-10T07:20:30.976Z","fetchedAt":"2026-09-10T07:20:30.976Z","normalizedAt":"2026-09-10T07:20:30.976Z"}]},"firstSeenAt":"2026-09-10T07:20:30.976Z","updatedAt":"2026-09-10T07:21:38.308Z"}