← Back to Plugins
MCP Server MCP

SchemaBrain

github By github 👁 1 views ▲ 0 votes

The trust and intelligence layer between AI agents and your database.

Homepage Verified source GitHub

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

Comments

Sign in to leave a comment

Loading comments...