Skip to main content

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 →

Free — no API key, no account.

Quick Start

Install

pip install five-mcp

Use with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "five-character-engine": {
      "command": "five-mcp"
    }
  }
}

That's it — no environment variables needed.

Use with other MCP clients

Any MCP-compatible client can connect via stdio transport:

five-mcp

Tool: generate

Generates persona constraints via the FIVE engine.

Parameters

Parameter Type Required Description
character_name string Yes Name of the character
q1q4 A / B / C / D Yes Personality axis choices
s1s4 1–5 No Style sliders (default: 3)
free_text string No Free-form description

Response

{
  "status": "ok",
  "constraint": { "..." }
}

Rate limits

The API is free. To keep it available to everyone, a light per-IP limit applies: 10 requests/min, 200 requests/day. The free host may cold-start, so the first call can take up to a minute.

Links

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

five_mcp-1.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

five_mcp-1.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file five_mcp-1.1.0.tar.gz.

File metadata

  • Download URL: five_mcp-1.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for five_mcp-1.1.0.tar.gz
Algorithm Hash digest
SHA256 2ec1b000ff958cba371807cb62b2bc07dc8c1e28cafe36a8f79c1d83fe4bd4b8
MD5 f5fbb1c740371e230ce28926b874d62e
BLAKE2b-256 a17a4c053071f5dcb101a7a03284d6858283121cee07ea04786de3270f2cd0d4

See more details on using hashes here.

File details

Details for the file five_mcp-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: five_mcp-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for five_mcp-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c56c1c20a011f2176c539d582db3482fb6062a0d3af73d06cd5134077a9eb50
MD5 953c896bd487fa88a4104ff1fc2e8e46
BLAKE2b-256 d1d846efd474c82dabecc1d6defd4309ee42772bed254dd0cac364064cb021fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page