An MCP server with Mimer SQL Database Connectivity
Valid MCP server (2 strong, 1 medium validity signals). 6 known CVEs in dependencies (1 critical, 4 high severity) Package registry verified. Imported from the Official MCP Registry.
5 files analyzed · 7 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Unverified package source
We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.
Set these up before or after installing:
Environment variable: DB_DSN
Environment variable: DB_USER
Environment variable: DB_PASSWORD
Environment variable: DB_HOST
Environment variable: DB_PORT
Environment variable: DB_PROTOCOL
Environment variable: DB_POOL_INITIAL_CON
Environment variable: DB_POOL_MAX_UNUSED
Environment variable: DB_POOL_MAX_CON
Environment variable: DB_POOL_BLOCK
Environment variable: DB_POOL_DEEP_HEALTH_CHECK
Environment variable: MCP_LOG_LEVEL
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-mimersql-mimer-mcp": {
"env": {
"DB_DSN": "your-db-dsn-here",
"DB_HOST": "your-db-host-here",
"DB_PORT": "your-db-port-here",
"DB_USER": "your-db-user-here",
"DB_PASSWORD": "your-db-password-here",
"DB_PROTOCOL": "your-db-protocol-here",
"DB_POOL_BLOCK": "your-db-pool-block-here",
"MCP_LOG_LEVEL": "your-mcp-log-level-here",
"DB_POOL_MAX_CON": "your-db-pool-max-con-here",
"DB_POOL_MAX_UNUSED": "your-db-pool-max-unused-here",
"DB_POOL_INITIAL_CON": "your-db-pool-initial-con-here",
"DB_POOL_DEEP_HEALTH_CHECK": "your-db-pool-deep-health-check-here"
},
"args": [
"mimer-mcp-server"
],
"command": "uvx"
}
}
}From the project's GitHub README.
A Model Context Protocol (MCP) server that provides Mimer SQL database connectivity to browse database schemas, execute read-only queries with parameterization support, and manage stored procedures.
list_schemas — List all available schemas in the databaselist_table_names — List table names within the specified schemaget_table_info — Get detailed table schema and sample rowsexecute_query — Execute SQL query with parameter support (Only SELECT queries are allowed)list_stored_procedures — List read-only stored procedures in the databaseget_stored_procedure_definition — Get the definition of a stored procedureget_stored_procedure_parameters — Get the parameters of a stored procedureexecute_stored_procedure — Execute a stored procedure in the database with JSON parametersBefore running the server, you need to configure your database connection settings using environment variables. The Mimer MCP Server reads these from a .env file.
Mimer MCP Server can be configured using environment variables through .env file with the following configuration option:
| Environment Variable | Default | Description |
|---|---|---|
DB_DSN | Required | Database name to connect to |
DB_USER | Required | Database username |
DB_PASSWORD | Required | Database password |
DB_HOST | - | Database host address (use host.docker.internal for Docker) |
DB_PORT | 1360 | Database port number |
DB_PROTOCOL | tcp | Connection protocol |
DB_POOL_INITIAL_CON | 0 | Initial number of idle connections in the pool |
DB_POOL_MAX_UNUSED | 0 | Maximum number of unused connections in the pool |
DB_POOL_MAX_CON | 0 | Maximum number of connections allowed (0 = unlimited) |
DB_POOL_BLOCK | false | Determines behavior when exceeding the maximum number of connections. If true, block and wait for a connection to become available; if false, raise an error when maxconnections is exceeded |
DB_POOL_DEEP_HEALTH_CHECK | true | If true, validates connection health before getting from pool (slower but more reliable) |
MCP_LOG_LEVEL | INFO | Logging level for the MCP server. Options: DEBUG, INFO, WARNING, ERROR, CRITICAL |
MCP servers are configured using a JSON file (mcp.json). Different MCP hosts may have slightly different configuration formats. In this guide, we'll focus on VS Code as an example. First, ensure you've installed the latest version of VS Code and have access to Copilot.
One way to add MCP server in VS Code is to add the server configuration to your workspace in the .vscode/mcp.json file. This will allow you to share configuration with others.
.vscode/mcp.json file in your workspace..vscode/mcp.json file, depending on how you want to run the MCP server.docker build -t mimer-mcp-server .
Then, add the following configuration to .vscode/mcp.json file
{
"servers": {
"mimer-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--add-host=host.docker.internal:host-gateway",
"--env-file=/absolute/path/to/.env",
"mimer-mcp-server",
]
}
},
"inputs": []
}
{
"servers": {
"mimer-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--add-host=host.docker.internal:host-gateway",
"--env-file=/absolute/path/to/.env",
"mimersql/mimer-mcp:latest"
]
}
},
"inputs": []
}
This will start a Mimer SQL Docker container as well as the mimer-mcp-server container,
set up a private network between the two containers and create the Mimer SQL example database.
The Mimer SQL database will be stored in the docker volume called mimer_mcp_data so that database changes are persistent.
{
"servers": {
"mimer-mcp-server": {
"command": "docker",
"args": [
"compose",
"run",
"--rm",
"-i",
"--no-TTY",
"mimer-mcp-server"
]
}
},
"inputs": []
}
{
"servers": {
"mimer-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"mimer_mcp_server"
],
"env": {
"DOTENV_PATH": "/absolute/path/to/.env"
}
}
}
}
mcp.json file. Click it to launch the server.uv:# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# or via Homebrew
brew install uv
Verify installation:
uv --version
# Linux (Ubuntu/Debian)
sudo apt install nodejs npm
# macOS (via Homebrew)
brew install node
Verify installation:
node --version
npm --version
Clone the repository
Create and activate a virtual environment
uv venv
# macOS / Linux
source .venv/bin/activate
# Windows
.venv\Scripts\activate
uv sync
cp .env.example .env
# Edit .env with your database credentials
The configuration is loaded automatically via config.py.
MCP Inspector provides a web interface for testing and debugging MCP Tools (Requires Node.js: 22.7.5+):
npx @modelcontextprotocol/inspector
Note: MCP Inspector is a Node.js app and the npx command allows running MCP Inspector without having to permanently install it as a Node.js package.
Alternatively, you can use FastMCP CLI to start the MCP inspector
uv run fastmcp dev /absolute/path/to/server.py
To run the Mimer SQL docker image and mimer-mcp-server using Docker compose, run:
MCP_TRANSPORT=http docker compose up
or to run it as a daemon:
MCP_TRANSPORT=http docker compose up -d
This way it is possible to call the mimer-mcp-server using HTTP and port 3333.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.