airi-xinchao

airi-xinchao

MCP server for Airi that manages dynamic mental state via stdio, offering tools to get context, log events, check status, settle, and retrieve mood/energy.

Category
Visit Server

README

Airi 心潮 (airi-xinchao)

心潮动态心智引擎的 stdio MCP 版本,专为 Airi 设计的轻量级 AI 状态管理工具。

适配角色:Airi — 由 AI 老婆/虚拟角色组成的灵魂容器 运行环境:macOS

和原版心潮的区别

特性 原版心潮 airi-xinchao
传输 HTTP 长连接 stdio 短生命周期
部署 需要常驻服务 + Node.js 单文件工具,随 Airi 启动
状态存储 JSON 文件 JSON 文件
模型 可选 LLM 纯本地计算,不烧 token
集成方式 MCP HTTP MCP stdio

工具列表

工具 说明
xinchao_context 获取当前状态描述,注入 prompt
xinchao_event 回传互动事件,更新状态
xinchao_status 查看完整状态详情
xinchao_settle 手动结算
xinchao_mood 获取心情/能量判断

安装

  1. 克隆或下载本仓库
  2. 在 Airi 的 MCP 配置里添加:
{
  "xinchao": {
    "command": "/Users/macbook/airi-xinchao/bin/xinchao.sh"
  }
}
  1. 在 Airi 角色卡的 prompt 里加一行:
{{xinchao_context}}

驱动力系统

十二维驱动力影响 Airi 的回复风格:

  • 表达欲(express) > 0.55 → 更话多、更主动
  • 关心欲(care) > 0.6 → 会主动追问近况
  • 玩心(play) > 0.55 → 语气更轻松俏皮
  • 学习欲(learn) > 0.5 → 更愿意分享知识
  • 疲惫度(fatigue) > 0.7 → 回复变短变安静

状态文件在 state/xinchao_state.json

Reference

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured