Mssqlclient MCP Server
UnclaimedA Microsoft SQL Server client implementing the Model Context Protocol (MCP). This server provides SQL query capabilities through a simple MCP interface.
Install
docker run -d --name mssql-mcp -e "MSSQL_CONNECTIONSTRING=Server=your_server;Database=your_db;User Id=your_user;Password=your_password;TrustServerCertificate=True;" mssqlclient-mcp-server:latestSet up this server
More in Databases
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
25 of 25 tools
Documented tools (25)
From project documentation. A server handshake does not verify each tool’s description or behavior.
execute_query
Executes a SQL query on the connected SQL Server database.
execute_query_in_database
Executes a SQL query in a specific database.
execute_stored_procedure
Executes a stored procedure with automatic parameter type conversion.
execute_stored_procedure_in_database
Executes a stored procedure in a specific database with automatic parameter type conversion.
get_command_timeout
Returns current timeout configuration settings.
get_session_results
Get results from a completed or running query/stored procedure session.
get_session_status
Check the status of a running query or stored procedure session.
get_stored_procedure_definition
Gets the SQL definition of a stored procedure.
get_stored_procedure_definition_in_database
Gets the SQL definition of a stored procedure from a specific database.
get_stored_procedure_parameters
Gets parameter information for a stored procedure in table or JSON Schema format.
get_table_schema
Gets the schema of a table from the connected SQL Server database.
get_table_schema_in_database
Gets the schema of a table from a specific database.
list_databases
Lists all databases on the SQL Server instance.
list_sessions
List all query and stored procedure sessions.
list_stored_procedures
Lists all stored procedures in the current database with detailed information.
list_stored_procedures_in_database
Lists all stored procedures in a specific database.
list_tables
Lists all tables in the connected SQL Server database with schema and row count information.
list_tables_in_database
Lists all tables in a specific database.
server_capabilities
Returns detailed information about the capabilities and features of the connected SQL Server instance.
set_command_timeout
Updates the default command timeout for all new operations.
start_query
Start a SQL query in the background on the connected database. Returns a session ID to check progress. Best for long-running queries.
start_query_in_database
Start a SQL query in the background for a specific database. Returns a session ID to check progress. Best for long-running queries (server mode).
start_stored_procedure
Start a stored procedure execution in the background. Returns a session ID to check progress. Best for long-running procedures.
start_stored_procedure_in_database
Start a stored procedure execution in the background for a specific database. Returns a session ID to check progress. Best for long-running procedures (server mode).
stop_session
Stop a running query or stored procedure session.
Tool change history
FAQ
Questions about Mssqlclient MCP Server
- How do I connect Mssqlclient MCP Server to Claude?
- The listing records `docker run -d --name mssql-mcp -e "MSSQL_CONNECTIONSTRING=Server=your_server;Database=your_db;User Id=your_user;Password=your_password;TrustServerCertificate=True;" mssqlclient-mcp-server:latest` as its setup step. Run it, then follow the repository's instructions for the client configuration; the listing names Claude Desktop, Claude Code as compatible clients.
- Is Mssqlclient MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Mssqlclient MCP Server do?
- Mssqlclient MCP Server documents 25 tools to the agent, including execute_query, execute_query_in_database, execute_stored_procedure. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.