
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that gives AI assistants access to SQL databases, currently with full MSSQL support for schema inspection, query execution, and performance monitoring.
MCP SQL Server is cataloged as an MCP server attributed to ryudg. A Model Context Protocol server that gives AI assistants access to SQL databases, currently with full MSSQL support for schema inspection, query execution, and performance monitoring. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP SQL Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
MSSQL is fully supported, while MySQL and PostgreSQL support is planned for future releases.
README.md · c3d84447a5da · 采集于 2026-11-13 08:53:43 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol server that provides comprehensive access to SQL databases, starting with MSSQL support. This server enables AI assistants to inspect database schemas, execute queries, and perform database operations with enterprise-grade security and performance monitoring.
Current Status: MSSQL fully supported. MySQL and PostgreSQL support coming in future releases.
Note: Currently only MSSQL is supported. MySQL and PostgreSQL support will be added in future releases.
# Install globally via NPM
npm install -g @donggyunryu/mcp-sql
Refer to
env.example
Create a .env file with your database settings:
# Create .env file with your database settings
# DB_TYPE=mssql # Current only MSSQL supported
DB_HOST=localhost
DB_PORT=1433
DB_DATABASE=your_database
DB_USER=your_username
DB_PASSWORD=your_password
DB_ENCRYPT=false
DB_TRUST_SERVER_CERTIFICATE=true
# Test your database connection
npm run test:db # in local environment
#or
npx @donggyunryu/mcp-sql test:db
Clone the repository:
git clone https://github.com/ryudg/mcp-sql.git
cd mcp-sql
Install dependencies
npm install
Build the project
npm run build
Add to your mcp.json or setting.json, claude_desktop_config.json
{
"mcpServers": {
"mcp-sql": {
"command": "node",
"args": ["/full/path/to/mcp-mysql/build/index.js"],
"env": {
// "DB_TYPE": "mssql", # Current only MSSQL supported
"DB_SERVER": "localhost",
"DB_PORT": "1433",
"DB_DATABASE": "your_database",
"DB_USER": "your_username",
"DB_PASSWORD": "your_password",
"DB_ENCRYPT": "false",
"DB_TRUST_SERVER_CERTIFICATE": "true",
"NODE_ENV": "development",
"LOG_LEVEL": "info"
}
}
}
}
For Claude Desktop:
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-sql": {
"command": "npx",
"args": ["-y", "@donggyunryu/mcp-sql"],
"env": {
// "DB_TYPE": "mssql", # Current only MSSQL supported
"DB_HOST": "localhost",
"DB_PORT": "1433",
"DB_DATABASE": "your_database",
"DB_USER": "your_username",
"DB_PASSWORD": "your_password",
"DB_ENCRYPT": "false",
"DB_TRUST_SERVER_CERTIFICATE": "true"
}
}
}
}
For Cursor(VSCode, Windsurf... etc IDE):
Add to your MCP settings:
{
"mcpServers": {
"mcp-sql": {
"command": "npx",
"args": ["-y", "@donggyunryu/mcp-sql"],
"env": {
// "DB_TYPE": "mssql", # Current only MSSQL supported
"DB_HOST": "localhost",
"DB_PORT": "1433",
"DB_DATABASE": "your_database",
"DB_USER": "your_username",
"DB_PASSWORD": "your_password",
"DB_ENCRYPT": "false",
"DB_TRUST_SERVER_CERTIFICATE": "true"
}
}
}
}
Restart your AI assistant and try:
"Show me all tables in my database"
"What's the structure of the users table?"
"Find all active users from the last 30 days"
"Show me all tables in the database"
"What's the structure of the users table?"
"List all columns in the orders table with their data types"
"Find all active users registered in the last 30 days"
"Show me the top 10 customers by total order value"
"Get all pending orders from this month"
"Show me current connection pool status"
"What are the slowest queries in the last hour?"
"Generate a performance report for today"
The MCP SQL server provides the following tools for database interaction:
| Tool | Description | Parameters |
|---|---|---|
list_tables | List all tables in database | pattern (optional): Filter pattern |
describe_table | Get detailed table structure | table_name: Name of table to describe |
get_schema | Get complete database schema | include_system_tables: Include system tables |
get_schema_statistics | Get schema statistics information | None |
| Tool | Description | Parameters |
|---|---|---|
execute_query | Execute SQL queries safely | query: SQL statementparameters: Bind parameters |
start_batch_processing | Process multiple queries in batch | queries: Array of SQL statements |
| Tool | Description | Parameters |
|---|---|---|
get_connection_pool_status | Get database connection pool status | None |
get_query_stats | Get query execution statistics | period: Time period (optional) |
start_performance_monitoring | Start performance monitoring | interval: Monitoring interval (ms) |
generate_performance_report | Generate performance analysis report | timeRange: Report period |
clear_caches | Initialize cache data | None |
🔮 Multi-Database Support
⚡ Performance & Caching
🧪 Testing & Quality
🚀 Advanced Features
📊 Analytics & Insights
This project is licensed under the MIT License. See the LICENSE file for details.
Made with for the AI-powered development community
MCP SQL Server v1.0.0 - Bridging AI and databases
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP SQL Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/sql-database-bridge)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.