wmariadb-mcp: Model Context Protocol Server for WMariaDB
wmariadb-mcp is an official Model Context Protocol (MCP) server built on top of FastMCP that equips AI agents with tools to architect, validate, scaffold, and generate code for WMariaDB (MariaDB ORM using Pydantic models).
Key Technologies & Libraries
- MCP Protocol: Open standard connecting AI models to external tools and context.
- FastMCP: Python framework for fast MCP server implementation.
- WMariaDB: MariaDB ORM engine with multi-table management, forensic audit trails, and Pydantic validation.
- Pydantic v2: Data schema validation and Python AST inspection.
- Pytest: Modern Python testing framework.
- Pytest-Cov: Code coverage measurement for pytest.
- Docker: Containerized test execution environment.
MCP Tools Exposed
validate_model_schema(model_code: str): Validates Pydantic document models for WMariaDB compatibility.search_wmariadb_pattern(query: str): Searches the official wisrovi SUITE catalog for WMariaDB architectural patterns.deploy_wmariadb_scaffolding(target_dir: str, project_name: str, scaffold_type: str): Deploys project scaffolding with repository, config, models, and tests.get_wmariadb_architect_blueprints(): Returns code reference and blueprints for WMariaDB features.get_wmariadb_architect_manual(): Returns the comprehensive WMariaDB architecting manual.generate_wmariadb_crud(model_code: str): Automatically generates repository CRUD class for Pydantic models.
Running Unit Tests & Coverage
Local Pytest Execution
pip install -e .
PYTHONPATH=src pytest tests/
./scripts/run_coverage.sh
Docker Containerized Test Execution
./scripts/run_tests_docker.sh
Part of the wisrovi SUITE ecosystem.
Metadata
Release files for wmariadb-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wmariadb_mcp-0.1.0.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wmariadb_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / wmariadb_mcp-0.1.0.tar.gz
| Download URL | wmariadb_mcp-0.1.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef67177d50eee45ac1e03829fd17769e41b4088c0ad7b6614c8b3cefd20e79f5
|
|
BLAKE2b-256 checksum How to use checksums |
d32a0714b06f332f3c841cd65cb4635758cdf6ea69db14bae6c1ac1394c22fa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / wmariadb_mcp-0.1.0-py3-none-any.whl
| Download URL | wmariadb_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5048fd078be7480bfc2e82aa6b5f43b80ef571bbf5aae8f8333fadc13d46b1b8
|
|
BLAKE2b-256 checksum How to use checksums |
0f6e4ee175133d59461078f4b624091c9b1bd6e511555b23b8145514f1aeb3eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|