wsqlite-mcp

v0.3.0
wsqlite-mcp Checked 1 day ago Published 2 months ago

MCP Server for WSQLite Architecting

wsqlite-mcp is a professional Model Context Protocol (MCP) server that bridges the gap between AI Agents (Claude, Gemini, OpenCode) and WSQLite. It empowers agents to search, design, and deploy high-performance SQLite-backed services following strict industry-standard patterns. 1. Installation Clone the repository and run the automated installer, or install via pip: 2. Integration Get your agent-specific configuration block and installation commands by running:

Summary extracted from the README.

πŸ”₯ wsqlite-mcp

Version License MCP

Transform your AI Agents into expert WSQLite Architects.

wsqlite-mcp is a professional Model Context Protocol (MCP) server that bridges the gap between AI Agents (Claude, Gemini, OpenCode) and WSQLite. It empowers agents to search, design, and deploy high-performance SQLite-backed services following strict industry-standard patterns.


✨ Key Features

  • πŸ” Expert Pattern Catalog: Query production-ready patterns across all WSQLite features (CRUD, Async, Batch, Transactions, Relationships, Query Builder, FTS5, Migrations, Pools, Soft Delete, Pagination).
  • πŸ—οΈ Strict Architecture Enforcement: Guides AI to output clean code using mandatory config/, models/, repositories/, migrations/, and main.py folder structures.
  • πŸ“˜ Architect's Manual: Built-in expertise for Monolith-to-SQLite refactoring, schema design, connection pooling, and atomicity patterns.
  • πŸ’» Unified CLI: Manage your MCP service with simple commands: run, start, stop, and config.
  • πŸ›‘οΈ Privacy First: 100% local execution via stdio or SSE.

πŸš€ Quick Start

1. Installation

Clone the repository and run the automated installer, or install via pip:

pip install -e .

2. Integration

Get your agent-specific configuration block and installation commands by running:

wsqlite-mcp config

The CLI will dynamically detect your Python environment and provide exact copy-paste commands for Gemini CLI (e.g. gemini mcp add ...) and JSON blocks for Claude Desktop.


πŸ› οΈ CLI Usage

Command Description
wsqlite-mcp run Start the server in stdio mode (default for agents).
wsqlite-mcp start Start as an SSE server in the background.
wsqlite-mcp stop Stop the background server.
wsqlite-mcp config Generate and save JSON config to .agents/wsqlite-mcp.json.
wsqlite-mcp config --print Show JSON configuration in stdout (no file creation).
wsqlite-mcp help Show available tools and commands.

πŸ› οΈ MCP Tools

Tool Description
get_wsqlite_architect_blueprints Copy-pasteable expert code for models, CRUD, transactions, FTS5, migrations, pools, and more.
search_wsqlite_pattern Search the official/community catalog for production-ready SQLite patterns.
deploy_wsqlite_scaffolding Deploy a professional WSQLite project structure (config/, models/, repositories/, migrations/, main.py).
get_wsqlite_architect_manual Expert manual for building high-performance SQLite-backed systems.

πŸ“‚ Project Structure

  • src/wsqlite_mcp/: Core server logic and tools.
  • src/wsqlite_mcp/catalog.py: Pattern catalog synchronization with local fallbacks.
  • src/wsqlite_mcp/templates.py: Professional boilerplate definitions.
  • examples/: Sample implementations and use cases.

πŸ“„ License

MIT License - Crafted with ❀️ by William Rodriguez (wisrovi).


πŸ‘€ Autor & AfiliaciΓ³n Oficial