Skip to main content
Glama

MSSQL MCP Server

MIT License
31
  • Apple
  • Linux

MSSQL MCP 서버

영어 | 중국어

개요

MSSQL MCP 서버는 데이터베이스 연동 및 비즈니스 인텔리전스 기능을 제공합니다. 이 서버를 통해 SQL 쿼리 실행, 비즈니스 데이터 분석, 비즈니스 인사이트 메모 자동 생성이 가능합니다.
MSSQL에 맞게 수정하려면 공식 웹사이트의 SQLite를 참조하세요.

구성 요소

  • read_query
    • 데이터베이스에서 데이터를 읽기 위해 SELECT 쿼리를 실행합니다.
  • write_query
    • INSERT, UPDATE 또는 DELETE 쿼리 실행
  • create_table
    • 데이터베이스에 새 테이블을 만듭니다
  • list_tables
    • 데이터베이스의 모든 테이블 목록을 가져옵니다.
  • describe-table
    • 특정 테이블에 대한 스키마 정보 보기
  • append_insight
    • 메모 리소스에 새로운 비즈니스 통찰력 추가

데모

데이터베이스 테이블은 다음과 같습니다. 열 이름은 표준화되어 있지 않으며, AI가 자동으로 일치시킵니다. SQL 실행 중 발생하는 오류는 자동으로 수정됩니다.

테이블

데모는 다음과 같습니다.

데모

작동 환경

  • Python 3.x
  • Packages
    • pyodbc>=4.0.39
    • 파이댄틱>=2.0.0
    • mcp>=0.1.0
  • ODBC Driver 17 for SQL Server

용법

패키지 설치

지엑스피1

설정

#with server.py same folder create config.json,add: { "database": { "driver": "ODBC Driver 17 for SQL Server", "server": "server ip", "database": "db name", "username": "username", "password": "password", "trusted_connection": false }, "server": { "name": "mssql-manager", "version": "0.1.0" } }

클로드 데스크탑 、 윈드서핑

# add to claude_desktop_config.json. Note:use your path { "mcpServers": { "mssql": { "command": "python", "args": [ # your path,e.g.:"C:\\mssql-mcp\\src\\server.py" "~/server.py" ] } } }

커서

# Add according to the following diagram Cursor MCP. Note:use your path

커서 구성

참고: 커서의 새 버전도 JSON 구성으로 변경되었습니다. 이전 섹션을 참조하세요.

MCP 검사관

# Note:use your path npx -y @modelcontextprotocol/inspector python C:\\mssql-mcp\\src\\server.py

프로젝트 구조

mssql-mcp ├── .git ├── .gitignore ├── LICENSE ├── README.md ├── README_en.md ├── README_zh.md ├── imgs │ ├── cursor_config.png │ ├── table.png │ └── demo.gif ├── requirements.txt └── src ├── __init__.py └── server.py

특허

MIT 라이센스

-
security - not tested
A
license - permissive license
-
quality - not tested

데이터베이스 상호작용 및 비즈니스 인텔리전스 기능을 제공하여 사용자가 SQL 쿼리를 실행하고, 비즈니스 데이터를 분석하고, Microsoft SQL Server 데이터베이스에 대한 비즈니스 통찰력 메모를 자동으로 생성할 수 있도록 합니다.

  1. 개요
    1. 구성 요소
      1. 데모
        1. 작동 환경
          1. 용법
            1. 패키지 설치
            2. 설정
            3. 클로드 데스크탑 、 윈드서핑
            4. 커서
            5. MCP 검사관
          2. 프로젝트 구조
            1. 특허

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Allows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.
                Last updated -
                1
                580
                Python
                MIT License
                • Linux
                • Apple
              • -
                security
                A
                license
                -
                quality
                Enables execution of SQL queries and management of Microsoft SQL Server database connections through the Model Context Protocol.
                Last updated -
                13
                TypeScript
                MIT License
                • Apple
                • Linux
              • -
                security
                A
                license
                -
                quality
                Facilitates interaction with Microsoft SQL Server Express, supporting database operations such as querying, table management, and schema inspection via natural language MCP commands.
                Last updated -
                1
                Python
                MIT License
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that enables secure and structured interaction with Microsoft SQL Server databases, allowing AI assistants to list tables, read data, and execute SQL queries with controlled access.
                Last updated -
                20
                Python
                MIT License
                • Linux
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/daobataotie/mssql-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server