wmongo-mcp: Model Context Protocol Server for WMongo
wmongo-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 WMongo (Synchronous & Asynchronous MongoDB engine for Python).
Key Technologies & Libraries
- MCP Protocol: Open standard connecting AI models to external tools and context.
- FastMCP: Python framework for fast MCP server implementation.
- WMongo: MongoDB client with multi-collection 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 WMongo compatibility.search_wmongo_pattern(query: str): Searches the official wisrovi SUITE catalog for WMongo architectural patterns.deploy_wmongo_scaffolding(target_dir: str, project_name: str, scaffold_type: str): Deploys project scaffolding with repository, config, models, and tests.get_wmongo_architect_blueprints(): Returns code reference and blueprints for WMongo features.get_wmongo_architect_manual(): Returns the comprehensive WMongo architecting manual.generate_wmongo_crud(model_code: str): Automatically generates repository CRUD class for Pydantic models.
Running Unit Tests & Coverage
Local Pytest Execution
# Install editable package
pip install -e .
# Run pytest test suite
PYTHONPATH=src pytest tests/
# Calculate code coverage
./scripts/run_coverage.sh
Docker Containerized Test Execution
./scripts/run_tests_docker.sh
Part of the wisrovi SUITE ecosystem.
Metadata
Release files for wmongo-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 | Provenance | Actions |
|---|---|---|---|---|
| wmongo_mcp-0.1.0.tar.gz | 9.4 kB | Without provenance | Details for wmongo_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wmongo_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for wmongo_mcp-0.1.0-py3-none-any.whl |
Total release size: 18.3 kB
Release files / wmongo_mcp-0.1.0.tar.gz
| Download URL | wmongo_mcp-0.1.0.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00376c8bc4d2f8580b107f75bb6297efe3b847f3352cde5c6346aaedee613017
|
|
BLAKE2b-256 checksum How to use checksums |
4b791f8f0cfb45a3006a70177a2b839c3c6a1d08be0efcc44dd18ce5b23b4e93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / wmongo_mcp-0.1.0-py3-none-any.whl
| Download URL | wmongo_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
448f9dec93c6760168bd32468fc2d75c90a0c8d6ee05d701fe244e7ddca2ad07
|
|
BLAKE2b-256 checksum How to use checksums |
43c66c222ce30895e488a83e0d29a8e0e252a34a6fd4f62273e8900ce664ab96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for wmongo-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.