Haku271 在 Serena 安装和使用 中发帖
总结
在 .claude.json 中配置项目路径和模式LLM都不会主动执行命令,服务启动后要输入切换到引导模式才会初始化。如激活项目,需要输入使用Serena mcp 工具中的activate_project激活项目
在Claude Code 更新后 mcp 的安装命令会将 – 和 - 识别 Claude 内置命令
Serena 文档安装命令中包含 --from 还有 --context 导致导入mcp失败,只能手动配置.claude.json
实际上配置应该长这样:
"serena": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/oraios/serena",
"sere...