SQL Server MCP
1.7K
NeuroMCP.SqlServer is a Model Context Protocol (MCP) server for interacting with Microsoft SQL Server databases. It provides a standardized API that allows AI agents to execute SQL queries, explore database schemas, and perform database operations.
# Pull the image
docker pull ahmedkhalil777/neuromcp-sqlserver:latest
# Run with default settings
docker run -p 5200:5200 ahmedkhalil777/neuromcp-sqlserver
# Run with custom configuration
docker run -p 5200:5200 \
-v /path/to/config:/app/config \
ahmedkhalil777/neuromcp-sqlserver
The server requires SQL Server connection details. You can provide these in several ways:
Create an appsettings.json file in a local directory and mount it:
{
"Database": {
"Server": "your-sql-server",
"Database": "your-database",
"UserId": "your-username",
"Password": "your-password",
"TrustServerCertificate": true,
"ApplicationName": "NeuroMCP.SqlServer",
"ConnectionTimeout": 30
}
}
docker run -p 5200:5200 \
-e DB_SERVER="your-sql-server" \
-e DB_NAME="your-database" \
-e DB_USER="your-username" \
-e DB_PASSWORD="your-password" \
-e DB_TRUST_SERVER_CERTIFICATE=true \
ahmedkhalil777/neuromcp-sqlserver
Here's an example that spins up both the MCP server and a SQL Server instance:
version: '3.8'
services:
neuromcp-sqlserver:
image: ahmedkhalil777/neuromcp-sqlserver:latest
ports:
- "5200:5200"
environment:
- DB_SERVER=sqlserver
- DB_NAME=master
- DB_USER=sa
- DB_PASSWORD=YourStrongPassword123
- DB_TRUST_SERVER_CERTIFICATE=true
depends_on:
- sqlserver
sqlserver:
image: mcr.microsoft.com/mssql/server:2022-latest
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=YourStrongPassword123
ports:
- "1433:1433"
volumes:
- sqlserver-data:/var/opt/mssql
volumes:
sqlserver-data:
This MCP server provides tools for:
The source code for this project is available on GitHub: AhmedKhalil777/NeuroMCP
For more detailed documentation, please see:
Content type
Image
Digest
sha256:0bbf457b1…
Size
91.7 MB
Last updated
over 1 year ago
docker pull ahmedkhalil777/neuromcp-sqlserver