MCP Server
MCP
SchemaBrain
The trust and intelligence layer between AI agents and your database.
Install
uvx schemabrain
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"identifier": "schemabrain",
"version": "0.6.0",
"runtimeHint": "uvx",
"transport": {
"type": "stdio"
},
"packageArguments": [
{
"value": "serve",
"type": "positional",
"valueHint": "subcommand"
},
{
"value": "DATABASE_URL",
"type": "named",
"name": "--url-env"
},
{
"value": "{store_path}",
"variables": {
"store_path": {
"description": "Absolute path to the schemabrain SQLite store created by `schemabrain index`. Defaults to ./schemabrain.db.",
"isRequired": true,
"format": "filepath",
"default": "./schemabrain.db"
}
},
"type": "named",
"name": "--store-path"
}
],
"environmentVariables": [
{
"description": "Postgres connection URL (postgresql+psycopg://USER:PASSWORD@HOST:PORT/DBNAME). The agent never sees this; the URL stays in the env so credentials never appear in argv or logs.",
"isRequired": true,
"format": "string",
"isSecret": true,
"name": "DATABASE_URL"
}
]
}
]
}
mcp
model-context-protocol
pypi
By
Comments
Sign in to leave a comment