MCP server for Microsoft SQL Server using mssql-python
Project description
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_mssql-0.1.0.tar.gz.
File metadata
- Download URL: mcp_server_mssql-0.1.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0b10af6122f708fc7c7d4697dfd24d64ef193c000725bcf5fb249557df9b81f
|
|
| MD5 |
dfae4449066a41aa5f086978c217d12d
|
|
| BLAKE2b-256 |
9ac2673f9cb8f2a087a1a7efca09bbb95b2b68f13bc5776bf6fd9ea898efad6b
|
Provenance
The following attestation bundles were made for mcp_server_mssql-0.1.0.tar.gz:
Publisher:
pypi-publish.yml on daedalus/mcp-server-mssql
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_mssql-0.1.0.tar.gz -
Subject digest:
a0b10af6122f708fc7c7d4697dfd24d64ef193c000725bcf5fb249557df9b81f - Sigstore transparency entry: 1228473674
- Sigstore integration time:
-
Permalink:
daedalus/mcp-server-mssql@1d5f08e73ec1777e17122f2609075980e86acef4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@1d5f08e73ec1777e17122f2609075980e86acef4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_server_mssql-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_server_mssql-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
283ed7ee41397be5909410b22b92c4df33b15706bb7365f443e153bf428da9ce
|
|
| MD5 |
bd9b9b3b0be162779cef5a3956f0e7d3
|
|
| BLAKE2b-256 |
3872d20892e53fda53bde5dca0ebe1b175fb1c0060418ad085fb4595c4a24f40
|
Provenance
The following attestation bundles were made for mcp_server_mssql-0.1.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on daedalus/mcp-server-mssql
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_mssql-0.1.0-py3-none-any.whl -
Subject digest:
283ed7ee41397be5909410b22b92c4df33b15706bb7365f443e153bf428da9ce - Sigstore transparency entry: 1228473681
- Sigstore integration time:
-
Permalink:
daedalus/mcp-server-mssql@1d5f08e73ec1777e17122f2609075980e86acef4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@1d5f08e73ec1777e17122f2609075980e86acef4 -
Trigger Event:
release
-
Statement type: