# Local admin + SQLite + built-in accounts; initialize the administrator locally.
# 本地管理 + SQLite + 内建账号；在服务器本机初始化管理员。
# Required environment: MCPHUB_PUBLIC_URL, MCPHUB_CONFIG_KEY.
# Retain the database and its matching base64 32-byte key across restarts.
server:
  listen: "127.0.0.1:8080"
  public_url: ${MCPHUB_PUBLIC_URL}
auth:
  mode: builtin
admin:
  enabled: true
  mode: local
  listen: "127.0.0.1:8081"
  database_path: ./data/mcphub.db
  encryption_key_env: MCPHUB_CONFIG_KEY
client_authorization:
  enabled: true
  require_client_grant: true
  client_id: mcphub-portal

backends: []
