Skip to main content
The persona builder. Like chat_scenario, this is a conversational loop between you and Percio’s persona assistant, with the MCP client as a strict relay. When the persona is complete, the client passes the generated data to create_persona to save it.

Inputs

FieldTypeDescription
messagesarrayFull conversation history. Each entry has role (user or assistant) and content (string). Append each new message and resend the whole array on every call.

Output

The assistant’s next response. Includes an isComplete boolean and, once finished, the generated persona data ready to pass to create_persona.

The relay rule

Same as chat_scenario: Cursor must show the assistant’s questions to you verbatim and wait for your answer. It should never invent details about the persona — only your actual words go in as role: "user" messages.

Typical loop

  1. Client calls chat_persona with an opening role: "user" message describing the persona you want.
  2. Assistant replies with follow-up questions — occupation, device context, pain points, tech level, etc.
  3. Client relays the questions to you.
  4. You answer.
  5. Client appends to the history and calls again.
  6. Repeat until isComplete: true.
  7. Client calls create_persona with the generated data to save the persona.

Example prompt in Cursor

“Create a Percio persona for a 35-year-old bakery owner who mostly uses Instagram on her phone to run her business.”
Cursor will call chat_persona with that opening line and start the Q&A.

When to use it

Whenever you want to create a persona without leaving Cursor — or when a scenario calls for a persona you don’t have and you want to create one on the spot.

What’s next