.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
MCP_REGISTRY_SERVER_ADDRESS
Server configuration
MCP_REGISTRY_VERSION
MCP_REGISTRY_DATABASE_URL
secret
Database configuration
MCP_REGISTRY_SEED_FROM
Path or URL to import seed data (supports local files and HTTP URLs) For offline development, use: data/seed.json
MCP_REGISTRY_GITHUB_CLIENT_ID
GitHub OAuth configuration These creds are for local development with the 'MCP Registry Login (Local)' GitHub App They don't provide any…
MCP_REGISTRY_GITHUB_CLIENT_SECRET
secret
MCP_REGISTRY_JWT_PRIVATE_KEY
secret
JWT configuration This should be a 32-byte Ed25519 seed (not the full private key). Generate a new seed with: `openssl rand -hex 32`
MCP_REGISTRY_ENABLE_ANONYMOUS_AUTH
Anonymous authentication for development/testing only When enabled, allows anyone to get tokens for publishing to…
MCP_REGISTRY_GITHUB_OIDC_AUDIENCE
GitHub OIDC token exchange (for `mcp-publisher login github-oidc`) Expected `aud` claim on incoming GitHub Actions OIDC tokens. Must equal…
MCP_REGISTRY_OIDC_ENABLED
Google Cloud Identity OIDC configuration for admin access Enable OIDC authentication for @modelcontextprotocol.io admin accounts
MCP_REGISTRY_OIDC_ISSUER
Example for Google Cloud Identity issuer
MCP_REGISTRY_OIDC_CLIENT_ID
MCP_REGISTRY_OIDC_EXTRA_CLAIMS
Require @modelcontextprotocol.io Google Workspace domain
MCP_REGISTRY_OIDC_EDIT_PERMISSIONS
Grant admin permissions to OIDC-authenticated users
MCP_REGISTRY_OIDC_PUBLISH_PERMISSIONS
brew install flyctl && fly launch --from https://github.com/modelcontextprotocol/registry
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/modelcontextprotocol/registry
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/modelcontextprotocol/registry