# wallet_generate

Explicitly create a named encrypted account after human approval. Requires BSV_MCP_PASSWORD configured locally. Returns only its public address; back up keys.bep and config.json before funding.

## Result

Public account details after creation; no private key is returned.

## Permissions

Requires human approval through the account command flow and a password configured locally.

## Definition 1 (full)

Registered in: Legacy local wallet; Legacy local identity; Local Vault · broadcasting disabled; Local Vault · all roles; Local Vault · payment role only; Local Vault + sponsor.

Explicitly create a named encrypted account after human approval. Requires BSV_MCP_PASSWORD configured locally. Returns only its public address; back up keys.bep and config.json before funding.

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| name | string | Yes |  | pattern: "^[a-z0-9][a-z0-9_-]{0,63}$" |
| chain | "main" \| "test" | Yes |  |  |

Nested requirements apply when their parent is supplied.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9_-]{0,63}$"
    },
    "chain": {
      "type": "string",
      "enum": [
        "main",
        "test"
      ]
    }
  },
  "required": [
    "name",
    "chain"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
```

[All tools](https://bsvmcp.com/docs/tools)