# Twin Persona

Generate personas for testing and prototyping. Build from your connected accounts or custom guidance to mirror real-world behavior. Export in multiple formats for easy sharing and integration.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add erniesg/twin

# Browse available tools
npx -y @smithery/cli@latest tool list erniesg/twin

# Get full schema for a tool
npx -y @smithery/cli@latest tool get erniesg/twin persona.generate_mock

# Call a tool
npx -y @smithery/cli@latest tool call erniesg/twin persona.generate_mock '{}'
```

## Direct MCP Connection

Endpoint: `https://twin--erniesg.run.tools`

## Tools (8)

- `persona.generate_mock` — Generate mock persona for testing with optional custom instructions
- `persona.generate_from_accounts` — Generate persona from connected accounts (Google, GitHub, LinkedIn, Twitter)
- `persona.save` — Save/update a persona (creates new version)
- `persona.get` — Get persona by user ID or persona ID
- `persona.update_field` — Update a specific field in the persona (creates new version)
- `persona.get_history` — Get version history for a persona
- `persona.rollback` — Rollback persona to a previous version
- `persona.export` — Export persona in different formats (JSON, YAML, LLM prompt)

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get erniesg/twin <tool-name>
```
