Enables integration with Google Gemini's API to leverage their models for remote technical advice and debugging support.
Integrates with OpenAI's API to use models like GPT-4o for providing expert guidance and problem-solving assistance during development.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Aurai Advisor (上级顾问 MCP)Help me fix this KeyError: 'api_key' not found in my python code"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
上级顾问 MCP (Aurai Advisor)
让本地 AI 获取远程 AI 指导的 MCP 服务器
版本: v2.1.1 (工具引导增强版) 状态: [OK] 生产就绪 测试: 27/27 通过
功能特点
[OK] 多轮对话机制 - 智能追问,逐步解决问题
[OK] 智能对话管理 - 自动检测新问题并清空历史,确保干净的上下文
[OK] 智能工具引导 - 工具描述中包含相关工具推荐,提升使用效率 ⭐ 新增
[OK] 5种 AI 提供商 - zhipu, openai, anthropic, gemini, custom
[OK] 动态模型获取 - 实时获取最新可用模型
[OK] 对话历史持久化 - 自动保存到用户目录
[OK] GUI 配置工具 - 可视化配置生成
[OK] 完整测试覆盖 - 100% 通过率
快速开始
1. 安装
2. 配置
方式 A: 使用配置工具(推荐)
方式 B: 手动配置
3. 使用
重启 Claude Code 后,在对话中直接描述编程问题:
AI 会自动判断是否调用 consult_aurai 工具。
MCP 工具
consult_aurai(主要工具)
请求上级 AI 指导解决编程问题
参数:
problem_type: 问题类型(runtime_error/syntax_error/design_issue/other)error_message: 错误描述code_snippet: 代码片段(可选)context: 上下文信息(可选)is_new_question: 是否为新问题(可选,默认false)- 设置为true会清空之前的对话历史
返回: 上级 AI 的分析和建议
对话历史管理:
自动清空: 当上级AI返回
resolved=true时,自动清空对话历史手动清空: 设置
is_new_question=true强制清空历史,开始新对话历史限制: 最多保存50条历史记录(可通过
AURAI_MAX_HISTORY配置)
sync_context
同步代码上下文
参数:
operation: 操作类型(full_sync/incremental/clear)files: 文件路径列表(可选)
report_progress
报告执行进度
参数:
actions_taken: 已执行的行动result: 执行结果(success/failed/partial)
get_status
获取当前状态
返回: 对话历史数量、状态信息
文档
支持的 AI 提供商
提供商 | 说明 | 获取 API 密钥 | 推荐模型 |
zhipu | 智谱 AI | glm-4-flash | |
openai | OpenAI 官方 | gpt-4o | |
anthropic | Claude | claude-3-5-sonnet-20241022 | |
gemini | Google Gemini | gemini-1.5-flash | |
custom | 自定义中转站 | 第三方提供商 | deepseek-v3-1-250821 |
配置工具
功能:
生成配置文件(包含完整安装指导)
查看对话历史
从 API 动态获取模型列表
5 种快速配置预设
测试
项目结构
环境变量
故障排查
MCP 工具没有出现
ModuleNotFoundError
401 Unauthorized
检查 API 密钥是否正确
访问提供商平台重新生成密钥
404 Model not found
使用配置工具的"刷新模型"功能
检查模型名称拼写
获取帮助
用户手册: docs/用户手册.md
开发文档: docs/开发文档.md
更新日志: CHANGELOG_v2.1.md
论坛更新简报: 论坛更新简报_v2.1.1
许可证
MCP Aurai Server 双重许可协议
项目名称: mcp-aurai-server 版本: v2.1.1 状态: [OK] 生产就绪