five-mcp
five-mcp
FIVE Character Engine 的 MCP 服务器 — 一个 LLM 约束引擎,用于生成 JSON 个性/风格约束,以实现一致的角色语音。
快速开始
安装
pip install five-mcp配置
将您的 API 密钥设置为环境变量:
export FIVE_API_KEY=five_sk_your_key_here在 fiveengine.dev 获取您的密钥。
与 Claude Desktop 一起使用
添加到您的 claude_desktop_config.json 中:
{
"mcpServers": {
"five-character-engine": {
"command": "five-mcp",
"env": {
"FIVE_API_KEY": "five_sk_your_key_here"
}
}
}
}与其他 MCP 客户端一起使用
任何兼容 MCP 的客户端都可以通过 stdio 传输进行连接:
five-mcpRelated MCP server: CSL-Core
工具:generate
通过 FIVE 引擎生成角色约束。
参数
参数 | 类型 | 必需 | 描述 |
| string | 是 | 角色名称 |
| A / B / C / D | 是 | 个性轴选择 |
| 1–5 | 否 | 风格滑块(默认:3) |
| string | 否 | 自由格式描述 |
响应
{
"status": "ok",
"remaining": 42,
"constraint": { "..." }
}定价
每次 generate 调用费用为 $1 并消耗一个积分。在 fiveengine.dev 管理积分。
链接
API 与文档: fiveengine.dev
GitHub: github.com/kiro0x/five-mcp
许可证
MIT
Available Tools
1 toolgenerateA
Generate persona constraints using the FIVE engine.
This tool calls the FIVE Persona Engine API to produce JSON constraints that prevent persona drift and keep an LLM character's voice consistent.
Each call costs $1 and consumes one credit from your account.
Args: character_name: Name of the character to generate constraints for. q1: Personality axis 1 – choose A, B, C, or D. q2: Personality axis 2 – choose A, B, C, or D. q3: Personality axis 3 – choose A, B, C, or D. q4: Personality axis 4 – choose A, B, C, or D. s1: Style slider 1 (1-5, default 3). Optional fine-tuning. s2: Style slider 2 (1-5, default 3). Optional fine-tuning. s3: Style slider 3 (1-5, default 3). Optional fine-tuning. s4: Style slider 4 (1-5, default 3). Optional fine-tuning. free_text: Optional free-form description to further guide generation.
Returns: A dict with keys: status, remaining (credits left), constraint (the generated JSON constraint object).
Inputs: character_name (required), q1 (required), q2 (required), q3 (required), +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion between tools. The single 'generate' tool has a clearly distinct purpose.
The tool name 'generate' is a single verb, which is clear and follows a common convention. While there is no noun to form a verb_noun pattern, the name is consistent as the only tool.
The server has only one tool, which feels thin for a general-purpose utility. However, for a very focused single-API function, it is borderline acceptable.
The tool covers the core functionality of generating persona constraints with many parameters. Minor gaps exist (e.g., no credit management or constraint listing), but the tool is complete for its stated purpose.
Maintenance
Related MCP Connectors
A profile you control: gives your AI your role, projects and preferences, across ChatGPT and Claude.
Jailbreak-proof AI guardrails. Automated Reasoning SMT solver, not an LLM. ZK proofs included.
Keeps the rules, decisions and fixes you explain to your AI, for every session and tool. EU servers.
Memory, reflection and safety for AI agents. Hosted or local, no vector database.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides a universal AI personality layer that uses a scientifically-backed Big Five engine to apply consistent character traits and brand voices across MCP-compatible platforms. It allows users to inject custom personality profiles or presets into AI interactions to ensure behavioral consistency.78 npm77MIT
- AlicenseAqualityBmaintenanceDeterministic AI safety policy engine with Z3 formal verification. Write, verify, simulate, and enforce machine-verifiable safety constraints for AI agents. Completely outside the LLM.11121 PyPI27Apache 2.0
- AlicenseNot gradedqualityBmaintenanceIdentity infrastructure for AI agents. Gives agents an evolving persona, session continuity, and self-correcting retrieval so they stop being strangers. Local-first, model-agnostic.71 PyPI8AGPL 3.0
- FlicenseNot gradedqualityNot gradedmaintenanceDeterministic JSON repair, validation, example-generation, and schema-coercion for AI agents — zero LLM calls, sub-10ms, $0.0005 per call.-