pdd connect is the recommended entry point for PDD. It starts a local FastAPI server and opens a browser-based interface where you can run any PDD command visually, browse and edit your prompt and code files, and optionally access the session remotely via PDD Cloud.
Usage
Options
Port for the local server to listen on. If the default port is in use, PDD automatically scans ports 9876–9899 for an available one.
Host to bind to. Defaults to localhost only. Changing this without
--allow-remote will display a security warning.Allow non-localhost connections. When set, the server binds to
0.0.0.0. Using this flag without --token shows a security warning and requires confirmation.Bearer token for authentication. Recommended when using
--allow-remote.Do not open the browser automatically when the server starts.
Custom frontend URL to open in the browser instead of the default local address.
Skip registration with PDD Cloud. The session will not be accessible remotely. The server still runs fully locally.
A custom name for this session. Useful for identifying sessions when running multiple instances.
What the web interface provides
- Command execution — Run
pdd change,pdd bug,pdd fix,pdd sync, and all other PDD commands with real-time visual feedback. - File browser — View and edit prompt files, generated code, tests, and examples directly in the browser.
- Remote access — When authenticated with PDD Cloud, your session is automatically registered, allowing access from any browser. Use
--local-onlyto disable this. - REST API — A programmatic API is also available at
http://localhost:9876, with interactive documentation athttp://localhost:9876/docs.
Remote session registration
By default,pdd connect registers your session with PDD Cloud when you are authenticated (see pdd auth login). This allows you to access the interface from any browser without port-forwarding. The session is automatically deregistered when you stop the server with Ctrl+C.
If you are not authenticated, the server runs in local-only mode automatically and prompts you to run pdd auth login to enable remote access.
Examples
Related commands
pdd auth— Authenticate with PDD Cloud to enable remote session access.pdd sessions— List and manage your registered remote sessions.pdd setup— Configure API keys and agentic CLI tools before usingconnect.