Agent♥︎Age
Catalog

Secure Schema MCP

Official

by Siddharth-coder13 · Python

Read-only MCP server for exposing database schema metadata without row data.

io.github.Siddharth-coder13/secure-schema — Model Context Protocol (MCP) Server

A read-only MCP server for exposing database schema metadata without row data. It provides AI coding tools with table/view names and column information, including SQL types, keys, and foreign-key relationships, using a compact format intended to reduce LLM token usage.

🛠️ Key Features

  • Table and view names
  • Column names and SQL types
  • Primary and unique keys
  • Foreign-key relationships
  • Returns schema metadata without exposing row values or query results

🚀 Use Cases

  • Retrieve database structure for tooling that needs schema context
  • Generate or validate queries based on table/column types and relationships
  • Inspect keys and relationships without accessing sensitive row data

⚡ Developer Benefits

  • Schema metadata only; row counts, samples, and row/query results are not exposed
  • Compact schema representation to reduce token usage

⚠️ Limitations

  • Does not expose row values, row counts, or samples
  • Does not provide write or query tools; the server is read-only