
Security News
Next.js moves to scheduled security releases
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.
juyiting-mcp-client
Advanced tools
🚀 基于 Model Context Protocol (MCP) 的AI人格协作工具,支持多人格智能召唤、配置同步和协作分析
本项目灵感来源于 大铭老师的 persona-summoner 项目,感谢大铭老师在AI人格探索领域的开创性工作和无私分享!
聚义厅MCP在原项目基础上进行了重新设计和扩展,增加了配置同步、协作引擎、多模式分析等功能,旨在为用户提供更完整的AI人格协作体验。
原项目链接: https://github.com/yinwm/persona-summoner
特别感谢: 大铭老师 (@yinwm) 在AI人格召唤和多人格协作方面的探索和贡献
聚义厅MCP客户端是基于 Model Context Protocol (MCP) 的AI人格协作系统,采用服务端配置生成 + 客户端MCP执行的架构模式。用户在聚义厅Web平台个性化配置人格组合,通过MCP客户端工具同步配置到本地,实现智能化的多人格协作分析。
| 工具名称 | 描述 | 参数 |
|---|---|---|
summon_hero | 召唤指定英雄进行单独分析 | hero_name |
list_hero_configs | 查看用户的英雄配置列表 | 无 |
download_hero_config | 下载指定配置到本地 | configId |
start_collaboration | 启动多英雄协作分析 | query, heroIds? |
npm install -g @juyiting/mcp-client
npx @juyiting/mcp-client
git clone https://github.com/juyiting/juyitingmcp.git
cd juyitingmcp
npm install
npm run build
在 Cursor 设置中添加:
{
"mcpServers": {
"juyiting": {
"command": "npx",
"args": ["-y", "@juyiting/mcp-client"],
"env": {
"JUYITING_CONFIG_PATH": "~/.juyiting/config.json"
}
}
}
}
在 Claude Desktop 配置文件中添加:
{
"mcpServers": {
"juyiting": {
"command": "npx",
"args": ["@juyiting/mcp-client"],
"env": {
"NODE_ENV": "production"
}
}
}
}
首次使用需要设置用户认证密钥:
# 创建配置目录
mkdir -p ~/.juyiting
# 设置用户配置
echo '{
"userKey": "your-api-key-from-juyiting-web",
"apiBaseUrl": "https://api.juyiting.com",
"cache": {
"duration": 300000,
"maxSize": 1000
},
"sync": {
"autoSync": true,
"syncInterval": 3600000,
"retryAttempts": 3
}
}' > ~/.juyiting/config.json
启动服务器后,你可以直接在支持的客户端中使用工具:
# 召唤单个人格
@juyiting 召唤小布丁,帮我分析这个商业计划
# 查看配置列表
@juyiting 查看我的人格配置列表
# 下载配置
@juyiting 下载配置:config-001
# 启动团队协作
@juyiting 分析这个产品的市场前景:[产品描述]
描述: 召唤指定AI英雄进行专业分析
参数:
hero_name (string, 必需): 英雄名称或ID支持的英雄:
粉丝妹 - 发现亮点,放大优势小布丁 - 商业分析,产品策略暖心姐姐 - 温暖贴心,细致关怀思维帝 - 结构化思维,MECE分析返回值:
🎭 **人格名称** (人格ID) 已召唤!
**🎯 目标**: 人格目标描述
**📝 描述**: 人格详细描述
**📜 人格规则**: 具体的行为规则
描述: 启动多人格协作分析,根据配置执行智能协作流程
参数:
query (string, 必需): 分析问题heroIds (string[], 可选): 指定参与协作的英雄ID列表协作模式:
parallel - 并行分析模式,多人格同时分析sequential - 顺序分析模式,人格依次分析intelligent - 智能协作模式,自动选择最佳流程返回值:
🤝 **协作分析报告**
📋 **分析问题**: 用户问题
👥 **参与人格**: 人格列表
⚙️ **协作模式**: 使用的协作模式
## 个人分析
### 🎭 人格1分析
- 核心观点、关键发现、风险提醒、具体建议
## 交叉验证
- 共同观点、分歧点分析、互补建议
## 综合结论
- 最终建议、行动计划、优先级排序
| 变量名 | 描述 | 默认值 |
|---|---|---|
JUYITING_CONFIG_PATH | 配置文件路径 | ~/.juyiting/config.json |
JUYITING_API_URL | API服务地址 | https://api.juyiting.com |
TELEMETRY_ENABLED | 是否启用遥测 | true |
DEBUG | 调试模式 | false |
{
"userKey": "string", // 聚义厅Web平台获取的API密钥
"apiBaseUrl": "string", // API服务地址,默认官方服务
"currentConfig": "HeroConfig", // 当前激活的英雄配置
"lastSyncTime": "string", // 最后同步时间
"cache": {
"duration": 300000, // 缓存时长(毫秒),默认5分钟
"maxSize": 1000 // 最大缓存条目,默认1000
},
"sync": {
"autoSync": true, // 是否自动同步配置,默认true
"syncInterval": 3600000, // 同步间隔(毫秒),默认1小时
"retryAttempts": 3 // 重试次数,默认3次
}
}
# 克隆仓库
git clone https://github.com/juyiting/juyitingmcp.git
cd juyitingmcp
# 安装依赖
npm install
# 开发模式运行
npm run dev
# 使用本地人格文件
npm run dev -- --heroes ./examples/local-heroes.json
src/
├── server.ts # MCP服务器主入口
├── types.ts # 核心类型定义
├── constants.ts # 常量配置
├── hero-repository.ts # 英雄仓库管理
├── hero-sources.ts # 英雄数据源配置
├── collaboration-engine.ts # 协作引擎核心
├── config-synchronizer.ts # 配置同步器
├── telemetry.ts # 遥测数据收集
└── utils/ # 工具函数
├── cache.ts # 缓存管理
├── network.ts # 网络请求
└── validation.ts # 参数验证
# 运行所有测试
npm test
# 运行测试并生成覆盖率报告
npm run test:coverage
# 监听模式
npm run test:watch
# 类型检查
npm run type-check
# 代码检查
npm run lint
# 构建项目
npm run build
# 发布流程(使用发布脚本)
./scripts/publish.sh
@juyiting 召唤代码侠,帮我审查这段代码:
[代码内容]
@juyiting 启动产品分析团队,评估这个功能需求:
[需求描述]
@juyiting 下载创业分析团队配置
@juyiting 分析这个创业想法的可行性:
[创业想法描述]
@juyiting 召唤架构师,分析这个技术架构:
[架构图或描述]
症状: Cursor无法识别聚义厅MCP工具
解决方案:
# 检查Node.js版本(需要18+)
node --version
# 重新安装MCP包
npm install -g @juyiting/mcp-client@latest
# 重启Cursor
症状: 提示"Invalid API key"
解决方案:
~/.juyiting/config.json症状: 人格列表为空或加载超时
解决方案:
# 清理缓存
rm -rf ~/.juyiting/cache/*
# 检查网络连接
curl -I https://api.juyiting.com/health
欢迎贡献代码!请查看 贡献指南。
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)本项目采用 MIT 许可证。查看 LICENSE 文件了解详情。
查看 CHANGELOG.md 了解版本更新详情。
FAQs
聚义厅MCP客户端 - AI人格协作工具 (灵感来源于大铭老师的persona-summoner项目)
The npm package juyiting-mcp-client receives a total of 5 weekly downloads. As such, juyiting-mcp-client popularity was classified as not popular.
We found that juyiting-mcp-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.