Overview
Features
Read Operations
Execute read-only queries such as SELECT, SHOW, EXPLAIN, and other data-retrieval commands.
Write Operations
Execute data modification queries (INSERT, UPDATE, DELETE) and DDL statements (CREATE, DROP, ALTER).
Database Information
Provide access to database information, including tables and their schemas.
Syntax Guide
Offer a comprehensive syntax guide for KWDB via MCP Prompts.
Standard API Response
Maintain consistent error handling: tool errors use isError-wrapped results; resources return standard JSON-RPC errors; successes return content arrays.
Automatic LIMIT
Automatically add LIMIT 20 to SELECT queries that lack a LIMIT clause to prevent large result sets.
Security
Enforce separation of read/write tools, validate query types, and provide clear error messages for unauthorized operations.
MCP Resources
Expose read-only MCP Resources such as product info, database metadata, and table schemas for client context.
Who Is This For?
- Data scientists:Leverage MCP to query, analyze, and extract insights from KWDB data for BI workflows.
- LLM developers:Integrate KWDB via MCP Tools and Resources to build AI-assisted data applications.
- Database admins:Manage database information, schemas, and DDL operations using standardized MCP channels.




