start launches the gateway, init-server prepares it for enterprise use, and version reports what is running.
start
Starts the Mcpjungle HTTP server and MCP gateway.
8080 by default and exposes the MCP proxy at /mcp. On first run in development mode, it automatically initializes itself — no additional setup is needed.
Flags
string
TCP port to bind the HTTP server to. Overrides the
PORT environment variable. Defaults to 8080.string
Host or network interface to bind the HTTP server to. Overrides the
MCPJUNGLE_BIND_HOST environment variable. Defaults to all interfaces. Use 127.0.0.1 for local-only access.string
Optional path to a custom SQLite database file to use when PostgreSQL is not configured. If not provided, MCPJungle defaults to
./mcpjungle.db. Overrides the SQLITE_DB_PATH environment variable.boolean
default:"false"
Start the server in enterprise mode, which enables access control, authenticated clients, and user management. Equivalent to setting
SERVER_MODE=enterprise. When using this flag on a fresh database, the server will print a reminder to run init-server before it can be used.Environment variables
Thestart command reads environment variables for server mode, database configuration, timeouts, and telemetry. A .env file in the working directory is loaded automatically if present.
For the complete list, defaults, and _FILE variants, see Environment variables.
Examples
Start in development mode (default):init-server
Initializes the Mcpjungle server when running in enterprise mode. Run it once, from your local machine, after the server has started.
init-server creates the first admin user and stores the registry URL and token in ~/.mcpjungle.conf, authenticating your CLI as admin.
For the full enterprise bootstrap flow, see Enterprise operations and Access and governance overview.
