SQL Server MCP
mcp-node-mssql
使用法
カーソル
詳細については、公式の Cursor ドキュメントを参照してください。
mcp.jsonファイルを開きます (または作成します) (このファイルは~/.cursor/mcp.jsonまたは<project-root>/.cursor/mcp.jsonにありますが、詳細については Cursor のドキュメントを参照してください)。次の詳細を追加してファイルを保存します。
{
"mcpServers": {
"mssql": {
"command": "npx",
"args": [
"-y",
"mcp-node-mssql"
],
"env": {
"DB_HOST": "localhost",
"DB_PORT": "1433",
"DB_USERNAME": "<username>",
"DB_PASSWORD": "<password>",
"DB_DATABASE": "<database>"
}
}
}
}ウィンドサーフィン
詳細については、 Windsurf の公式ドキュメントを参照してください。
Windsurf MCP Configuration Panelを開くAdd custom serverクリックします。次の詳細を追加してファイルを保存します。
{
"mcpServers": {
"mssql": {
"command": "npx",
"args": [
"-y",
"mcp-node-mssql"
],
"env": {
"DB_HOST": "localhost",
"DB_PORT": "1433",
"DB_USERNAME": "<username>",
"DB_PASSWORD": "<password>",
"DB_DATABASE": "<database>"
}
}
}
}クロード・コード
詳細については、 Claude Code の公式ドキュメントを参照してください。
Claude Code CLIから新しいMCPサーバーを追加することもできますが、jsonファイルを直接変更する方が簡単です。
Claude Code 構成ファイルを開きます (
~/.claude.jsonにあります)。projects>mcpServersセクションを見つけて、次の詳細を追加し、ファイルを保存します。
{
"projects": {
"mcpServers": {
"mssql": {
"command": "npx",
"args": [
"-y",
"mcp-node-mssql"
],
"env": {
"DB_HOST": "localhost",
"DB_PORT": "1433",
"DB_USERNAME": "<username>",
"DB_PASSWORD": "<password>",
"DB_DATABASE": "<database>"
}
}
}
}
}Related MCP server: Microsoft SQL Server MCP Server
問題とトラブルシューティング
他のことを行う前に、最新バージョンを実行していることを確認してください。
この MCP サーバーの使用中に問題が発生した場合は、 GitHubで問題を報告してください。
発達
インストール
npm install建てる
npm run build開発サーバーをローカルで実行する
公開されたパッケージを使用するのではなく、MCP サーバーのローカル開発バージョンをテストするには、次の手順に従います。
プロジェクトをビルドします。
npm run buildローカル ビルドを参照するように
mcp.jsonファイルを作成または変更します。
{
"mcpServers": {
"mssql": {
"command": "node",
"args": [
"/path/to/your/local/mcp-node-mssql/dist/index.js"
],
"env": {
"DB_HOST": "localhost",
"DB_PORT": "1433",
"DB_USERNAME": "<username>",
"DB_PASSWORD": "<password>",
"DB_DATABASE": "<database>"
}
}
}
}この
mcp.jsonファイルを次のいずれかの場所に配置します。カーソルの場合: ホームディレクトリ (
~/.cursor/mcp.json) またはプロジェクトディレクトリ (.cursor/mcp.json)Windsurfの場合:MCP構成パネルを使用してカスタムサーバーを追加します
新しい構成をロードするには、AI アシスタント (Cursor または Windsurf) を再起動します。
これにより、新しいバージョンを公開しなくても、MCP サーバーへの変更を即座にテストできます。
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 Servers
- Alicense-qualityDmaintenanceA 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.56MIT
- 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.1381MIT
- Alicense-qualityFmaintenanceA Model Context Protocol server that enables LLMs like Claude to interact with SQLite and SQL Server databases, allowing for schema inspection and SQL query execution.853379MIT
- Flicense-qualityCmaintenanceA Model Context Protocol server that allows Large Language Models like Claude to execute SQL queries, explore database schemas, and maintain persistent connections to SQL Server databases.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP (Model Context Protocol) server for Appwrite
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/cwilby/mcp-node-mssql'
If you have feedback or need assistance with the MCP directory API, please join our Discord server