Skip to content
Kitbay
MCP serverOfficial

awslabs.mssql-mcp-server

Runs locallyApache-2.0Updated on Nov 10, 20269,904GitHub starsCan change dataNeeds an API key

An MCP server from AWS Labs that connects agents to SQL Server databases running on Amazon RDS.

What it does

An MCP server from AWS Labs that connects agents to SQL Server databases running on Amazon RDS. It connects with a username and password held in AWS Secrets Manager, optionally a custom secret, and offers tools to run SQL, read table columns from INFORMATION_SCHEMA, connect to an RDS instance and check cached connections. Read-only is the default: queries with data-changing keywords or injection patterns are rejected and each query is rolled back, though the README warns this is a safeguard rather than a guarantee and recommends a database login with read permission only. Passing --allow_write_query enables writes. It supports TLS and SSH tunnels.

Capabilities

  • Run SQL queries against SQL Server on RDS
  • Read table schemas
  • Connect using credentials stored in Secrets Manager
  • Block mutating SQL in read-only mode