# Chenji Affect

> Affect analysis, 3D avatar params, empathy hints and somatic emotion decode.

- name: io.github.zhiyu-dev/chenji-affect-mcp
- version: 1.1.0
- connection class: R1 (autonomous)
- trust: 69/100
- quality: 79/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.zhiyu-dev%2Fchenji-affect-mcp
- tools: https://api.protogrid.dev/v1/servers/io.github.zhiyu-dev%2Fchenji-affect-mcp/tools

**An agent can connect on its own if it already holds `X_API_KEY`, `X_API_KEY`.** Remote endpoint behind a static API key or header. The registry never sees the value; the agent fills the placeholder.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "chenji-affect-mcp": {
      "type": "http",
      "url": "https://taichusjs.cn/mcp",
      "headers": {
        "x-api-key": "${X_API_KEY}",
        "Authorization": "${X_API_KEY}"
      }
    }
  }
}
```

Placeholders to fill: `${X_API_KEY}`, `${X_API_KEY}`.

## Trust

- hygiene: 100
- liveness: 26
- freshness: 85
- provenance: 80
- drivers: +repository +namespace-matches-repo -unreachable(1 failures) ~updated-49d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 79/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 71 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: analyze_text (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); empathy_hint (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); somatic_decode (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 427 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 4, about 427 tokens to load them all
- tool set hash: bbb17d57fb18b4b4fe4a56c5221e7181
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.zhiyu-dev/chenji-affect-mcp.svg)](https://protogrid.dev/servers/io.github.zhiyu-dev/chenji-affect-mcp)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://taichusjs.cn/mcp (streamable-http, auth api_key ${X_API_KEY}, reachable false, uptime30d 0.90654206)

## Packages

_none_

## Tools (4)

- `analyze_text`: L1 Affect Extraction: analyze text into an 8-dimensional emotion vector,
    emotion texture labels, causal intent classification, and a natural-language
    state description. text: input up to 2000 chars. lang: optional 'zh' or 'en'.
- `empathy_hint`: L3 Empathy Response Strategy: converts text into a deterministic response
    strategy (approach, tone temperature, pacing, focus points, avoid-list) for
    AI companions and conversational agents. Deterministic table lookup, no LLM,
    ~20ms; privacy-first. Not a medical or therapeutic tool.
- `generate_avatar_params`: L2 Avatar Driving Pipeline: one call returns blendshape/AU/curve animation
    parameters, lighting & material atmosphere package, adapter payload, plus the
    upstream L1 affect analysis. Requires a key tier that includes L2.
- `somatic_decode`: L4 Somatic Emotion Decode: converts body-sensation text (e.g. tight chest,
    clenched fists) into structured emotion: primary affect, valence/arousal,
    emotion texture, causal intent, plus somatic anchor cues. Grounded in the
    somatic decoding discipline; wellness simulation only, not a diagnostic tool.
