wtinydb-mcp: Model Context Protocol Server for WTinyDB
wtinydb-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 WTinyDB (TinyDB + Pydantic document database engine).
Key Technologies & Libraries
- MCP Protocol: Open standard connecting AI models to external tools and context.
- FastMCP: Python framework for fast MCP server implementation.
- WTinyDB: Pydantic-powered document database engine on top of TinyDB.
- 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 WTinyDB compatibility.search_wtinydb_pattern(query: str): Searches the official wisrovi SUITE catalog for WTinyDB architectural patterns.deploy_wtinydb_scaffolding(target_dir: str, project_name: str, scaffold_type: str): Deploys project scaffolding with repository, config, models, and tests.get_wtinydb_architect_blueprints(): Returns code reference and blueprints for WTinyDB features.get_wtinydb_architect_manual(): Returns the comprehensive WTinyDB architecting manual.generate_wtinydb_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
pytest tests/
# Calculate code coverage
./scripts/run_coverage.sh
Docker Containerized Test Execution
./scripts/run_tests_docker.sh
Part of the wisrovi SUITE ecosystem.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wtinydb_mcp-0.1.0.tar.gz
(10.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wtinydb_mcp-0.1.0.tar.gz.
File metadata
- Download URL: wtinydb_mcp-0.1.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9de47e5fed86556020266a19760a7afabe1cd865d7964234cf649401f3ee87e1
|
|
| MD5 |
bfe4a647ed6c10abd3e7957565605fdd
|
|
| BLAKE2b-256 |
7be0aaa22d09f5f8801ba5982144c0303505d368dc31ae436fad897c89983da8
|
File details
Details for the file wtinydb_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wtinydb_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f297bd71079aa35fe0823597638a1be361040863ad49cf64962ba890576c9d2e
|
|
| MD5 |
7c789bf9e1ead7d72c97a3b94bfe2ebf
|
|
| BLAKE2b-256 |
28d915ddebd2baab2403571892752e38b52a9538b0b5dee8b9c5c2b4c6a820d6
|