Skip to main content

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

  1. validate_model_schema(model_code: str): Validates Pydantic document models for WTinyDB compatibility.
  2. search_wtinydb_pattern(query: str): Searches the official wisrovi SUITE catalog for WTinyDB architectural patterns.
  3. deploy_wtinydb_scaffolding(target_dir: str, project_name: str, scaffold_type: str): Deploys project scaffolding with repository, config, models, and tests.
  4. get_wtinydb_architect_blueprints(): Returns code reference and blueprints for WTinyDB features.
  5. get_wtinydb_architect_manual(): Returns the comprehensive WTinyDB architecting manual.
  6. 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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wtinydb_mcp-0.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

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

Hashes for wtinydb_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9de47e5fed86556020266a19760a7afabe1cd865d7964234cf649401f3ee87e1
MD5 bfe4a647ed6c10abd3e7957565605fdd
BLAKE2b-256 7be0aaa22d09f5f8801ba5982144c0303505d368dc31ae436fad897c89983da8

See more details on using hashes here.

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

Hashes for wtinydb_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f297bd71079aa35fe0823597638a1be361040863ad49cf64962ba890576c9d2e
MD5 7c789bf9e1ead7d72c97a3b94bfe2ebf
BLAKE2b-256 28d915ddebd2baab2403571892752e38b52a9538b0b5dee8b9c5c2b4c6a820d6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page