Content
# DBMCP (Database MCP Server)
DBMCP is a MCP (Model-Client-Protocol) server that allows you to execute queries on databases. This server communicates with clients through SSE (Server-Sent Events), executes queries on databases, and returns the results.
## Supported Databases
- MSSQL
## Installation and Execution
### Environment Variables Setup
Set environment variables in the `.env` file such as:
```
MSSQL_HOST=MSSQL_server_address
MSSQL_USER=username
MSSQL_PASSWORD=password
MSSQL_PORT=1433
```
### Running with Docker
```bash
docker-compose up -d # or
docker-compose up --watch # Hot Reloading for Dev
```
### Running Locally
1. Install dependencies:
```bash
uv sync # or
pip install -r requirements.txt
```
2. Run the server:
```bash
(dbmcp) python server.py
```
## Usage
Add following json to your MCP client (Claude Desktop, Cursor, ...)
```json
{
"mcpServers": {
"dbmcp": {
"url": "http://localhost:8080/sse"
}
}
}
```
Connection Info
You Might Also Like
markitdown
MarkItDown-MCP is a lightweight server for converting URIs to Markdown.
markitdown
Python tool for converting files and office documents to Markdown.
Filesystem
Node.js MCP Server for filesystem operations with dynamic access control.
Sequential Thinking
A structured MCP server for dynamic problem-solving and reflective thinking.
Fetch
Retrieve and process content from web pages by converting HTML into markdown format.
TrendRadar
TrendRadar: Your hotspot assistant for real news in just 30 seconds.