Schemabrain
@Arun-kc
Schemabrain について
A read-only trust + intelligence layer between AI agents and your database — the agent never writes SQL, PII is refused before the query runs, and every call lands in a tamper-evident audit log. Postgres today.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"schemabrain": {
"command": "uvx",
"args": [
"schemabrain",
"serve",
"--url-env",
"DATABASE_URL"
],
"env": {
"DATABASE_URL": "postgresql://user:password@localhost:5432/dbname"
}
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Schemabrain?
Schemabrain is an MCP server that acts as a read-only trust and intelligence layer between AI agents (Claude, Cursor, Windsurf) and your SQL database. It compiles SQL from definitions you control and refuses queries touching blocked categories before the database is queried.
How to use Schemabrain?
Install Schemabrain using the uvx package manager. It sits between an AI agent and a Postgres database. Twelve read-only MCP tools are available; the agent never writes SQL directly.
Key features of Schemabrain
- Read-only architecture — 12 MCP tools, none can write.
- PII-aware refusal — blocked-category queries are rejected before hitting the database.
- Tamper-evident audit — SHA-256‑chained append‑only log of every call, refusal, and recovery.
- Postgres support today; Apache‑2.0 licensed.
- Simple installation via
uvx.
Use cases of Schemabrain
- Letting AI agents query a production database without risk of writes.
- Preventing accidental or malicious PII extraction from the database.
- Maintaining an immutable, verifiable audit trail of all agent queries.
- Enforcing data-access policies through category-based refusal rules.
FAQ from Schemabrain
Is Schemabrain read-only?
Yes. All 12 MCP tools are read-only by architecture. The agent never writes SQL; SchemaBrain compiles SQL from definitions you control.
How does Schemabrain handle PII?
It maintains a set of blocked categories. Any query touching a blocked category is refused before the database is queried.
What database does Schemabrain support?
Currently only Postgres.
Is there an audit log?
Yes. Every call, refusal, and recovery is recorded in a SHA-256-chained append-only log that is tamper-evident.
How do I install Schemabrain?
Install using uvx.
「データベース」の他のコンテンツ
MySQL MCP Server
designcomputerA Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
mcp_mysql_server
xwb602625136Model Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
MCP Server for Milvus
zilliztechModel Context Protocol Servers for Milvus

PostgreSQL
modelcontextprotocolModel Context Protocol Servers
Neon MCP Server
neondatabaseMCP server for interacting with Neon Management API and databases
コメント