Tbls icon

Tbls

Exposes database schema information generated by tbls and enables secure SQL query execution on MySQL and SQLite databases via the Model Context Protocol.

概要

The tbls server is an experimental Model Context Protocol (MCP) server designed to bridge detailed database schema information with MCP-compatible clients. It efficiently parses JSON schema files generated by the tbls tool, offering optimal performance and comprehensive insights into database structures, including schemas, tables, and indexes. When configured with database credentials, it provides a robust and secure environment for executing read-only SQL queries against MySQL and SQLite databases. Built with TypeScript and featuring zod validation, it ensures type safety and offers flexible configuration options via CLI arguments, environment variables, or configuration files, making it ideal for integrating database context into AI-driven workflows.

主な機能

  • Primary support for tbls-generated JSON schema files with optimal performance
  • Access schemas, tables, and index information through MCP resources
  • Execute secure SELECT queries on MySQL and SQLite databases
  • Full TypeScript implementation with zod validation for type safety
  • Compatible with Claude Desktop and other MCP clients
  • 0 GitHub stars

ユースケース

  • Integrating tbls-generated database schemas with MCP clients for AI-driven interactions
  • Securely executing read-only SQL queries on MySQL and SQLite databases through an MCP interface
  • Providing a standardized, protocol-driven access point to database metadata and query capabilities