Basic information
About SQL-Server-MCP
## SQL Server MCP (Model Context Protocol) Server
SQL-Server-MCP is a MCP server in the Databases category listed in the AddMCP.net directory, published by ranjithr99. Supported transport: stdio. Runtime: node. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: database, mcp, sql.
SQL-Server-MCP config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
SQL-Server-MCP tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is SQL-Server-MCP?
A lightweight MCP stdio server that connects to Microsoft SQL Server using provided credentials and exposes tools to query and discover schema. It is designed for MCP-compatible clients such as Claude Desktop.
How to use SQL-Server-MCP?
Install Node.js >= 18, then run npm install and npm run build to build the server. Start it with npm start. The server communicates over stdio and must be driven by an MCP client. Use the connect tool first with SQL Server credentials, then use other tools like query, info, or list_* tools.
Key features of SQL-Server-MCP
- Connects to Microsoft SQL Server via MCP stdio.
- Exposes tools: connect, disconnect, query, info.
- Lists databases, schemas, and tables.
- Executes arbitrary SQL queries securely.
- Credentials provided at call-time, not stored.
- Built with TypeScript, MIT licensed.
Use cases of SQL-Server-MCP
- Query a SQL Server database from an MCP client like Claude Desktop.
- Discover database schema: list databases, schemas, and tables.
- Execute ad-hoc SQL queries and retrieve results.
- Integrate SQL Server data into AI assistant workflows.
Frequently asked questions
1 How do I connect to SQL Server?
Use the connect tool with server, port, user, password, optional database, and encrypt flag.
2 What tools are available after connecting?
Tools: info (returns @@VERSION), query (execute SQL), list_databases, list_schemas, list_tables.
3 Are credentials stored?
No, credentials are provided at call-time and not stored. TLS encryption defaults to true.
4 What are the runtime requirements?
Node.js version 18 or higher is required.
5 Can I list tables from a specific schema?
Yes, the list_tables tool accepts an optional schema parameter to filter results.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In