Skip to main content

Data Model

MCP for WP uses custom database tables for performance and scalability.

📊 Database Schema

The following diagram shows the database structure and relationships:

Database Schema

Diagram: Database table structure and relationships.

Tables

  • wp_mcp_tools: Stores tool definitions (name, type, provider, schema, etc.)
  • wp_mcp_logs: Stores execution logs (tool, input, output, status, timestamp)

Relationships

  • Each log entry references a tool by tool_id
  • Tools can have many logs