mcp-server-mssql
MCP server for Microsoft SQL Server using mssql-python.
mcp-name: io.github.daedalus/mcp-server-mssql
Install
pip install mcp-server-mssql
Usage
Run as MCP Server
mcp-server-mssql
Configure in Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-server-mssql": {
"command": "mcp-server-mssql"
}
}
}
Available Tools
connect_tool- Connect to Microsoft SQL Serverclose_connection- Close an existing connectionlist_connections- List all active connectionsexecute_query- Execute SQL query and return resultsexecute_scalar- Execute SQL and return single valuefetch_results- Fetch results from a cursorcall_procedure- Call a stored procedurecommit- Commit current transactionrollback- Rollback current transactionbulk_copy- Perform bulk copy operationget_tables- List database tablesget_columns- List table columnsget_procedures- List stored proceduresget_foreign_keys- List foreign keysget_primary_keys- List primary keysparse_connection_string- Parse connection stringbuild_connection_string- Build connection stringset_connection_timeout- Set connection timeoutset_login_timeout- Set login timeoutset_autocommit- Set autocommit modeget_connection_info- Get connection information
Development
git clone https://github.com/daedalus/mcp-server-mssql.git
cd mcp-server-mssql
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
Metadata
Release files for mcp-server-mssql 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_server_mssql-0.1.0.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_mssql-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / mcp_server_mssql-0.1.0.tar.gz
| Download URL | mcp_server_mssql-0.1.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0b10af6122f708fc7c7d4697dfd24d64ef193c000725bcf5fb249557df9b81f
|
|
BLAKE2b-256 checksum How to use checksums |
9ac2673f9cb8f2a087a1a7efca09bbb95b2b68f13bc5776bf6fd9ea898efad6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.
Transparency logRelease files / mcp_server_mssql-0.1.0-py3-none-any.whl
| Download URL | mcp_server_mssql-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
283ed7ee41397be5909410b22b92c4df33b15706bb7365f443e153bf428da9ce
|
|
BLAKE2b-256 checksum How to use checksums |
3872d20892e53fda53bde5dca0ebe1b175fb1c0060418ad085fb4595c4a24f40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.
Transparency log