MCP Hub
Back to servers

five-mcp

LLM character consistency engine — generates structured JSON constraints from 4 questions about your AI's psychology. Drop into any LLM's system prompt to prevent persona drift; reduces inference cost from retries.

glama
Updated
May 9, 2026

five-mcp

MCP server for the FIVE Character Engine — an LLM constraint engine that generates JSON personality/style constraints for consistent character voices.

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 character constraints via the FIVE engine.

Parameters

ParameterTypeRequiredDescription
character_namestringYesName of the character
q1q4A / B / C / DYesPersonality axis choices
s1s41–5NoStyle sliders (default: 3)
free_textstringNoFree-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

Reviews

No reviews yet

Sign in to write a review