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
| Field | Type | Description |
|---|---|---|
messages | array | Full 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 anisComplete boolean and, once finished, the generated persona data ready to pass to create_persona.
The relay rule
Same aschat_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
- Client calls
chat_personawith an openingrole: "user"message describing the persona you want. - Assistant replies with follow-up questions — occupation, device context, pain points, tech level, etc.
- Client relays the questions to you.
- You answer.
- Client appends to the history and calls again.
- Repeat until
isComplete: true. - Client calls
create_personawith 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.