Create profile
create_profileCreate a named persistent Chrome profile to retain cookies, logins, and extensions across browser runs, offering a reusable user-data directory.
Instructions
Create a named persistent Chrome profile — a reusable user-data dir.
A persistent profile keeps cookies, logins and Web Store extensions between runs, so a site you log into once stays logged in. It is the sturdier alternative to save_session / load_session.
Creating one is harmless by itself: nothing changes until you activate it, here or via use_profile. An existing profile of the same name is left untouched rather than overwritten. Profiles live under ~/.nodriver-mcp/profiles/.
Only one browser instance can use a given profile at a time, so give concurrent setups different names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Profile name, e.g. "google-login". Only letters, digits, "-" and "_" are kept; any other character is stripped out. | |
| activate | No | Switch to the new profile straight away. That restarts the browser and closes all open pages. Default false, which only creates the directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |