MSSQL MCP Server
MSSQL MCP サーバー
MSSQL MCPサーバーは、 Microsoft SQL Server(MSSQL)データベースとの安全かつ構造化されたインタラクションを可能にするモデルコンテキストプロトコル(MCP)サーバーです。AIアシスタントは、このサーバーを使用することで、以下のことが可能になります。
利用可能なテーブルの一覧
表の内容を読む
制御されたアクセスでSQLクエリを実行する
これにより、より安全なデータベース探索、厳格な権限の適用、データベース操作のログ記録が保証されます。
特徴
環境変数によるMSSQL データベースアクセスの保護
エラー処理による制御されたクエリ実行
テーブル一覧とデータ取得
クエリと操作を監視するための包括的なログ記録
Related MCP server: MCP SQL Server
インストール
pip install mssql-mcp-server構成
データベース アクセスを構成するには、次の環境変数を設定します。
MSSQL_DRIVER=mssql_driver
MSSQL_HOST=localhost
MSSQL_USER=your_username
MSSQL_PASSWORD=your_password
MSSQL_DATABASE=your_database
#optional
TrustServerCertificate=yes
Trusted_Connection=no使用法
クロード・デスクトップ
Claude Desktopと統合するには、次の構成をclaude_desktop_config.jsonに追加します。
{
"mcpServers": {
"mssql": {
"command": "uv",
"args": [
"--directory",
"path/to/mssql_mcp_server",
"run",
"mssql_mcp_server"
],
"env": {
"MSSQL_DRIVER": "mssql_driver",
"MSSQL_HOST": "localhost",
"MSSQL_USER": "your_username",
"MSSQL_PASSWORD": "your_password",
"MSSQL_DATABASE": "your_database"
}
}
}
}スタンドアロンサーバーとして実行
# Install dependencies
pip install -r requirements.txt
# Run the server
python -m mssql_mcp_server発達
# Clone the repository
git clone https://github.com/yourusername/mssql_mcp_server.git
cd mssql_mcp_server
# Set up a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install development dependencies
pip install -r requirements-dev.txt
# Run tests
pytestセキュリティに関する考慮事項
最小限の権限を持つ専用の MSSQL ユーザーを使用します。
ルート資格情報や完全な管理者アカウントは使用しないでください。
必要な操作のみにデータベース アクセスを制限します。
セキュリティ監視のためのログ記録と監査を有効にします。
権限を定期的に確認し、最小限の権限アクセスを確保します。
セキュリティのベストプラクティス
安全なセットアップのために:
制限された権限を持つ専用の MSSQL ユーザーを作成します。
資格情報をハードコーディングすることは避け、代わりに環境変数を使用してください。
必要なテーブルと操作のみへのアクセスを制限します。
監査のためにSQL Server のログ記録と監視を有効にします。
不正アクセスを防ぐために、データベース アクセスを定期的に確認してください。
詳細な手順については、 **『MSSQL セキュリティ構成ガイド』**を参照してください。
⚠️重要:データベース アクセスを構成するときは、常に最小権限の原則に従ってください。
ライセンス
このプロジェクトはMITライセンスに基づいてライセンスされています。詳細はLICENSEファイルをご覧ください。
貢献
貢献を歓迎します!貢献するには:
リポジトリをフォークします。
機能ブランチを作成する:
git checkout -b feature/amazing-feature変更をコミットします:
git commit -m 'Add amazing feature'ブランチにプッシュ:
git push origin feature/amazing-featureプルリクエストを開きます。
ヘルプが必要ですか?
ご質問や問題がある場合は、お気軽に GitHub **Issue**を開くか、メンテナーに問い合わせてください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
The HubSpot MCP Server acts as a bridge that enables AI assistants and Large Language Models to securely interact with HubSpot CRM data through natural conversation, without requiring users to understand complex API structures. It provides read-only access to standard CRM objects (contacts, companies, deals, tickets, products, invoices, and more) and their associations, secured via OAuth 2.0, allowing AI agents to perform tasks like summarizing deals, fetching company updates, and looking up record changes.
The BigQuery remote MCP server is a fully managed service that uses the Model Context Protocol to connect AI applications and LLMs to BigQuery data sources. It provides secure, standardized tools for AI agents to list datasets and tables, retrieve schemas, generate and execute SQL queries through natural language, and analyze data—enabling direct access to enterprise analytics data without requiring manual SQL coding.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables secure interaction with Microsoft SQL Server databases, allowing AI assistants to list tables, read data, and execute SQL queries through a controlled interface.1386MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides AI assistants with comprehensive access to SQL databases, enabling schema inspection, query execution, and database operations with enterprise-grade security.467MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides comprehensive access to Microsoft SQL Server databases, enabling Language Models to inspect schemas, execute queries, manage database objects, and perform advanced database operations.8
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol (MCP) server that enables AI agents to interact with Microsoft SQL Server databases through secure, intelligent database operations. This server provides comprehensive CRUD capabilities, schema introspection, stored procedure execution, transaction management, and bulk opera82940MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/JexinSam/mssql_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server