数据库 · 开发者工具

Mssqlclient MCP Server logo

Mssqlclient MCP Server

aadversteeg/mssqlclient-mcp-server

SQL Server MCP客户端是一个基于.NET Core实现的轻量级数据库查询工具,通过Model Context Protocol提供SQL查询、表结构查看和数据库连接管理功能。

安装

docker run -d --name mssql-mcp -e "MSSQL_CONNECTIONSTRING=<value> Id=<value> mssqlclient-mcp-server:latest

客户端配置

{
  "mcpServers": {
    "server": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "<value>",
        "-e",
        "<value>",
        "-e",
        "<value>",
        "-e",
        "MSSQL_CONNECTIONSTRING=Server=your_server;...",
        "<value>"
      ]
    }
  }
}

环境变量

MSSQL_CONNECTIONSTRING
GitHub 星标
1
分类
数据库, 开发者工具
许可证
MIT
更新于
2026年10月6日

工具(30)

  • DatabaseConfiguration__EnableExecuteQuery

    Enable execute_query / execute_query_in_database tools

  • DatabaseConfiguration__EnableExecuteStoredProcedure

    Enable execute_stored_procedure / execute_stored_procedure_in_database tools

  • DatabaseConfiguration__EnableStartQuery

    Enable start_query / start_query_in_database session tools

  • DatabaseConfiguration__EnableStartStoredProcedure

    Enable start_stored_procedure / start_stored_procedure_in_database session tools

  • DatabaseConfiguration__MaxCellOutputLength

    Maximum characters displayed per cell in query results.

  • server_capabilities

    Returns detailed information about the capabilities and features of the connected SQL Server instance.

  • get_command_timeout

    Returns current timeout configuration settings.

  • set_command_timeout

    Updates the default command timeout for all new operations.

  • get_session_status

    Check the status of a running query or stored procedure session.

  • get_session_results

    Get results from a completed or running query/stored procedure session.

  • stop_session

    Stop a running query or stored procedure session.

  • list_sessions

    List all query and stored procedure sessions.

  • execute_query

    Executes a SQL query on the connected SQL Server database.

  • list_tables

    Lists all tables in the connected SQL Server database with schema and row count information.

  • get_table_schema

    Gets the schema of a table from the connected SQL Server database.

  • list_stored_procedures

    Lists all stored procedures in the current database with detailed information.

  • get_stored_procedure_definition

    Gets the SQL definition of a stored procedure.

  • get_stored_procedure_parameters

    Gets parameter information for a stored procedure in table or JSON Schema format.

  • execute_stored_procedure

    Executes a stored procedure with automatic parameter type conversion.

  • start_query

    Start a SQL query in the background on the connected database.

  • start_stored_procedure

    Start a stored procedure execution in the background.

  • list_databases

    Lists all databases on the SQL Server instance.

  • execute_query_in_database

    Executes a SQL query in a specific database.

  • list_tables_in_database

    Lists all tables in a specific database.

  • get_table_schema_in_database

    Gets the schema of a table from a specific database.

  • list_stored_procedures_in_database

    Lists all stored procedures in a specific database.

  • get_stored_procedure_definition_in_database

    Gets the SQL definition of a stored procedure from a specific database.

  • execute_stored_procedure_in_database

    Executes a stored procedure in a specific database with automatic parameter type conversion.

  • start_query_in_database

    Start a SQL query in the background for a specific database.

  • start_stored_procedure_in_database

    Start a stored procedure execution in the background for a specific database.

本页信息摘自该项目的 README。 查看 README

支持的客户端

该服务器 README 中提到的客户端:

查看全部
Claude Desktop logo

Claude Desktop

桌面端 · 免费增值 · Proprietary

Anthropic 官方推出的 Claude AI 桌面应用程序。支持 MCP 服务器以扩展功能。

WindowsMacOS

相关 MCP 服务器

更多服务器
Supabase MCP logo

Supabase MCP

supabase-community/supabase-mcp

1.3k

Supabase MCP Server是一个连接Supabase项目与AI助手的工具,通过Model Context Protocol(MCP)标准化大型语言模型(LLMs)与外部服务的交互,实现数据库管理、配置获取和数据查询等功能。

数据库
Genai Toolbox logo

Genai Toolbox

googleapis/genai-toolbox

769

MCP Toolbox for Databases是一个开源数据库MCP服务器,专注于企业级和生产质量,简化工具开发,提供连接池、认证等复杂功能。

数据库
Supabase MCP Server logo

Supabase MCP Server

alexander-zuev/supabase-mcp-server

677

Supabase MCP服务器是一个开源工具,允许IDE安全执行SQL、管理模式变更、调用Supabase管理API和使用Auth Admin SDK,内置安全控制。

数据库
Awesome MCP List logo

Awesome MCP List

MobinX/awesome-mcp-list

645

这是一个持续更新的MCP服务器精选列表,涵盖了浏览器控制、艺术与文化、云平台、命令行、通信、客户数据平台、数据库、开发者工具、数据科学工具、文件系统、金融与金融科技、游戏、知识与记忆、位置服务、营销、监控、搜索和实用工具等多个类别。每个项目都附带了GitHub链接和星标数量,方便用户快速了解和使用。

数据库
PostgreSQL Model Context Protocol (PG MCP) Server logo

PostgreSQL Model Context Protocol (PG MCP) Server

stuzero/pg-mcp-server

440

PG-MCP是一个为PostgreSQL数据库设计的模型上下文协议服务器,提供AI代理发现、连接、查询和理解数据库的API,支持多数据库连接、丰富的目录信息和查询解释功能。

数据库
dbhub logo

dbhub

bytebase/dbhub

332

DBHub是一个实现模型上下文协议(MCP)的通用数据库网关,支持多种数据库连接和操作。

数据库