five-mcp
MCP server for the FIVE Persona Engine — an LLM persona constraint engine that generates structured JSON constraints to eliminate persona drift. Instead of describing personality in words (which LLMs interpret differently each turn), FIVE defines behavioral parameters the LLM executes as a recipe. See how it works →
Measured: with the constraint JSON + free harness, the demo character survived a 120-turn pressure test with zero persona breaks (plain prompt: 8 breaks; JSON alone: 1). Numbers, transcripts and scripts →
Quick Start
Install
pip install five-mcpConfigure
Set your API key as an environment variable:
export FIVE_API_KEY=five_sk_your_key_here{
"mcpServers": {
"five-character-engine": {
"command": "five-mcp",
"env": {
"FIVE_API_KEY": "five_sk_your_key_here"
}
}
}
}Use with other MCP clients
Any MCP-compatible client can connect via stdio transport:






