Authenticate with Zynd (browser)
zyndai_loginAuthenticate with Zynd via browser-based login to obtain a developer key. This is a prerequisite for registering a persona.
Instructions
Onboard the user with Zynd via the registry's restricted-mode browser flow.
What happens when called:
The MCP server hits GET {registry}/v1/info to discover the auth URL.
It binds a localhost HTTP listener and spawns the user's browser at the auth URL with a callback_port + state CSRF token.
The user signs up or logs in on the website and the browser redirects to the local callback with an encrypted developer private key.
The MCP decrypts (AES-256-GCM keyed on SHA-256(state)) and saves the keypair at ~/.zynd/developer.json — same path the zynd CLI uses, so CLI tools share state.
This tool is the prerequisite for zyndai_register_persona. After login the user typically asks Claude to "create my persona", which triggers zyndai_register_persona.
Args:
name (string, optional): suggested developer display name
force (bool, optional): overwrite an existing developer key
Errors:
"developer key already exists" — pass force:true to overwrite, or run zyndai_whoami to see who you're already logged in as.
"registry uses open onboarding" — the configured ZYNDAI_REGISTRY_URL doesn't support browser auth. Use a registry whose /v1/info reports developer_onboarding.mode = "restricted".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional developer display name shown on the auth website. The user can also set or change it during the auth flow. | |
| force | No | Re-run auth even if a developer keypair already exists at ~/.zynd/developer.json. Existing key is overwritten. |