wmysql-mcp: Model Context Protocol Server for WMysql
wmysql-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 WMysql (MySQL 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.
- WMysql: MySQL 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 WMysql compatibility.search_wmysql_pattern(query: str): Searches the official wisrovi SUITE catalog for WMysql architectural patterns.deploy_wmysql_scaffolding(target_dir: str, project_name: str, scaffold_type: str): Deploys project scaffolding with repository, config, models, and tests.get_wmysql_architect_blueprints(): Returns code reference and blueprints for WMysql features.get_wmysql_architect_manual(): Returns the comprehensive WMysql architecting manual.generate_wmysql_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 wmysql-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 | |
|---|---|---|---|
| wmysql_mcp-0.1.0.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wmysql_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.3 kB
Release files / wmysql_mcp-0.1.0.tar.gz
| Download URL | wmysql_mcp-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7402f21b0d54101c4d792c70f5928e7ed8eb191042c0c4c59dd21237a52533d9
|
|
BLAKE2b-256 checksum How to use checksums |
7a11d97c289d7caeb082e58113f138698be7401c72cb64035a75b964dcb8d2a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / wmysql_mcp-0.1.0-py3-none-any.whl
| Download URL | wmysql_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
985444bdc38d50bb3f813822c4b97a156ac268ea4a3140ffd19986ad5a516e34
|
|
BLAKE2b-256 checksum How to use checksums |
a414300066b575930f7f8e89d6dee59355525b7b926c80f9a6ddb8ff9eae0412
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|