Skip to main content

160,000 deductively-derived JSON constraints that eliminate LLM persona drift. Measured: 0 breaks in a 120-turn pressure test.

Project description

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-mcp

Configure

Set your API key as an environment variable:

export FIVE_API_KEY=five_sk_your_key_here

Get your key at fiveengine.dev.

Use with Claude Desktop

Add to your claude_desktop_config.json:

{
  "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:

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",
  "remaining": 42,
  "constraint": { "..." }
}

Pricing

Each generate call costs $1 and consumes one credit. Manage credits at fiveengine.dev.

Links

License

MIT

Project details


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.0.1.tar.gz (5.1 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.0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: five_mcp-1.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for five_mcp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 074fa79681639d61f8fb77a34a7fabba0803537c251189ec13ce9537797ae5c2
MD5 bed941f7eae32b2c995609eb348ae514
BLAKE2b-256 5514a56aa69585035b244bf45b6aec2884b60ff6cd6dd0a56b3c93813718badb

See more details on using hashes here.

Provenance

The following attestation bundles were made for five_mcp-1.0.1.tar.gz:

Publisher: publish.yml on kiro0x/five-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: five_mcp-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for five_mcp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea09b6690199508aa66d409764c242c1a598f8721012f64327a9479c47d26f91
MD5 d800453244f3e62750b8fdaba7a7b289
BLAKE2b-256 2d81545f25b4699cc7445ded39b93037e4a09242364b80d0d70c55e4f1ab7645

See more details on using hashes here.

Provenance

The following attestation bundles were made for five_mcp-1.0.1-py3-none-any.whl:

Publisher: publish.yml on kiro0x/five-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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