cursorrules — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited cursorrules (Rules) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<p align="center"> <a href="https://github.com/casey/just"><img src="https://img.shields.io/badge/just-ready_to_go-7c5cfc?style=flat-square&logo=just&logoColor=white" alt="Just"></a> <a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff"></a> <a href="https://python.org"><img src="https://img.shields.io/badge/Python-3.13+-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python"></a> <a href="https://github.com/PrefectHQ/fastmcp"><img src="https://img.shields.io/badge/FastMCP-3.2-7c5cfc?style=flat-square" alt="FastMCP"></a> </p>
📖 [Installation Guide](INSTALL.md) — quick start, manual setup, and troubleshooting
FastMCP 3.3 MCP server for database operations on Windows. Includes MCP prompts and a bundled database-expert skill. Browser bookmark management lives in bookmarks-mcp.
⚠️ NSIS Installer Status: The Tauri NSIS desktop installer is currently non-functional due to a PyInstaller--onefilecompatibility issue with fastmcp's OpenTelemetry dependency chain. A--onedirfix is in progress. The stdio and HTTP servers work normally.
Portmanteau tools consolidate individual operations into unified interfaces.
db_connection - Database connection management portmanteau (consolidates connection_tools, init_tools)db_operations - Query execution, transactions, batch operations, data export portmanteau (consolidates query_tools, data_tools)db_schema - Schema inspection, table/column/index analysis portmanteau (consolidates schema_tools)db_management - Database health checks, optimization, backup/restore portmanteau (consolidates management_tools)db_fts - Full-text search with ranking and highlighting portmanteau (consolidates fts_tools)db_analyzer - Comprehensive database analysis and diagnostics portmanteauagentic_workflow_tool - FastMCP sampling-enabled agentic workflows for complex database operationswindows_system - Windows Registry, service status, system info portmanteau (consolidates registry_tools, windows_tools)media_library - Calibre & Plex library management portmanteau (consolidates calibre_tools, plex_tools, media_tools)help_system - Interactive help and documentation portmanteau (consolidates help_tools)system_init - System initialization and setup portmanteauIndividual tools are deprecated but kept for backwards compatibility. Migration paths:
connection_tools.* db_connection(operation='...')init_tools.* db_connection(operation='...')query_tools.* db_operations(operation='...')data_tools.* db_operations(operation='...')schema_tools.* db_schema(operation='...')management_tools.* db_management(operation='...')fts_tools.* db_fts(operation='...')calibre_tools.* media_library(operation='...')plex_tools.* media_library(operation='...')registry_tools.* windows_system(operation='...')windows_tools.* windows_system(operation='...')See individual tool files in `src/database_operations_mcp/tools/` for complete API documentation.
src/database_operations_mcp/tools/database-operations-mcp/
src/
database_operations_mcp/
main.py # MCP server entry
config/
mcp_config.py # shared MCP instance
tools/ # portmanteau + atomic DB tools
services/database/ # DB connectors
tests/
web_sota/ # React dashboard (optional)
README.mdThis repository is SOTA 2026 compliant and uses the officially validated @anthropic-ai/mcpb workflow for distribution.
To generate a .mcpb distribution bundle with complete source code and automated build exclusions:
# SOTA 2026 standard pack command
mcpb pack . dist/database-operations-mcp.mcpbgit clone https://github.com/sandraschi/database-operations-mcp
cd database-operations-mcp
justThis opens an interactive dashboard showing all available commands. Run just bootstrap to install dependencies, then just serve or just dev to start.
If you don't have just installed:
This repository includes a Zed extension for native integration with the Zed editor.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh)cd zed-extension
cargo build --release --target wasm32-wasip1Extensions Install Dev Extensionzed-extension/extension.tomlNote: The extension runs the MCP server from the parent directory, so make sure you're in the correct repository location.
MCP_TRANSPORT=stdio|http|dualMCP_HOST (default 0.0.0.0) and MCP_PORT (default 8000)--stdio, --http, --dual# HTTP only on port 3210
$env:MCP_TRANSPORT = "http"
$env:MCP_PORT = "3210"
uv run python -m database_operations_mcp.main --http
# Dual mode (stdio + HTTP) with custom host/port
$env:MCP_TRANSPORT = "dual"
$env:MCP_HOST = "127.0.0.1"
$env:MCP_PORT = "9000"
uv run python -m database_operations_mcp.main --dualAdd the server to your MCP config (%USERPROFILE%\AppData\Roaming\Cursor\.cursor\mcp.json or equivalent):
{
"mcpServers": {
"database-operations-mcp": {
"command": "uv",
"args": ["run", "python", "-m", "database_operations_mcp.main"],
"env": { "LOG_LEVEL": "INFO" }
}
}
}For Python development setup, testing, and contribution guidelines, see README-python.md.
Run immediately via uvx:
uvx database-operations-mcpAdd to your claude_desktop_config.json:
"mcpServers": {
"database-operations": {
"command": "uv",
"args": ["--directory", "D:/Dev/repos/database-operations-mcp", "run", "database-operations-mcp"]
}
}pip install database-operations-mcp# Direct wheel download
pip install https://github.com/sandraschi/database-operations-mcp/releases/download/v1.4.0/database_operations_mcp-1.4.0-py3-none-any.whl
# Or from git
pip install git+https://github.com/sandraschi/database-operations-mcp.git.mcpb file..mcpb fileThis server uses FastMCP 3.1.0 capabilities:
All tools return structured responses with natural language summaries alongside technical data.
Example Response:
{
"success": true,
"operation": "list_supported",
"message": "I found 15 supported database types across 4 categories. You can connect to SQL databases (PostgreSQL, MySQL, SQLite), NoSQL databases (MongoDB), vector databases (ChromaDB), and more.",
"databases_by_category": {...},
"total_supported": 15,
"categories": ["sql", "nosql", "vector", "graph"]
}Supports agentic workflows where the LLM can orchestrate multi-step database operations without client round-trips.
Example Workflow:
result = await db_sampling_workflow(
workflow_prompt="Analyze database performance, optimize slow queries, and generate a comprehensive report",
available_operations=["analyze_performance", "optimize_queries", "generate_report"],
max_iterations=10
)Error responses include recovery suggestions and context-aware guidance.
Example Error Response:
{
"success": false,
"operation": "execute_query",
"message": "I encountered an error while executing your query. The connection to the database might have been lost.",
"error": "Connection timeout after 30 seconds",
"error_code": "CONNECTION_TIMEOUT",
"suggestions": [
"Check if the database server is running",
"Verify network connectivity",
"Try reconnecting using the 'test' operation"
]
}The db_sampling_workflow tool enables complex database operations that would previously require multiple round-trips:
py-key-value-aio[disk] for DiskStore (optional; in-memory fallback if not installed)chromadb, pymongo, psycopg2-binary, duckdb, aiomysql, redisaiohttp, rich, psutilThis project adheres to SOTA 14.1 industrial standards for high-fidelity agentic orchestration:
print statements in core handlers (T201).noConsoleLog enforcement.stdout/stderr isolation to ensure crash-resistant JSON-RPC communication.just lint, just fix, just dev).bandit and safety.This MCP server includes a web interface (FastMCP 3.1.0 gateway) for monitoring and tool execution.
/mcp, REST at /api/tools)To start the webapp:
web_sota directory..\start.ps1 (PowerShell; from repo root: cd web_sota; .\start.ps1).http://localhost:10708 in your browser.get_prompt("database_expert", arguments={"focus": "general"|"sql"|"connections"|"export"}) to receive instruction text to inject so the LLM acts as a database expert using this server's tools. Use when you want the assistant to follow connection/schema/query/export practices without reading this README.skill:// scheme. Clients that support MCP resources can read skill://database-expert/SKILL.md (and manifest/supporting files) for the same expert guidance. The skill lives in src/database_operations_mcp/skills/database-expert/ and is registered via the FastMCP Skills provider.See [FastMCP Prompts](https://goFastMCP 3.1.0com/servers/prompts) and [Skills Provider](https://goFastMCP 3.1.0com/servers/providers/skills) for the framework docs.
Connection state and preferences are persisted across restarts using py-key-value-aio[disk] (DiskStore).
%APPDATA%\database-operations-mcp (Windows), ~/Library/Application Support/database-operations-mcp (macOS), ~/.local/share/database-operations-mcp (Linux).[disk] extra is not installed, the server falls back to in-memory storage and logs a warning.ENABLE_PASSWORD_STORAGE=1 only in dev; it allows storing connection passwords (insecure, not for production).~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.