Back to Home
jjones-wps icon

pyodbc-mcp-server

Verified Safe

by jjones-wps

Overview

Provides read-only access to Microsoft SQL Server databases for AI assistants and other clients via the Model Context Protocol (MCP), using Windows Authentication.

Installation

Run Command
pyodbc-mcp-server

Environment Variables

  • MSSQL_SERVER
  • MSSQL_DATABASE
  • ODBC_DRIVER
  • MSSQL_CONNECTION_TIMEOUT
  • MSSQL_QUERY_TIMEOUT
  • MSSQL_MAX_RETRIES
  • MSSQL_RETRY_DELAY

Security Notes

Designed with robust security: strictly read-only (blocking INSERT, UPDATE, DELETE, etc., even in subqueries), uses Windows Authentication (no credentials stored), enforces row limiting, and communicates via stdio only (no network exposure). A documented local API token exposure was confirmed never to have been committed to git or involved actual project tokens; mitigation is complete.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2026-01-03

Tags

mcp-serversql-serverwindows-authenticationdatabase-accessread-only