建议路径: 不用自己改 MCP 配置文件。回首页复制一行 prompt 给你的主 Agent,让 Ta 自己装上 SkillFM (含灯塔模块)。回首页 →
本页为懂技术用户提供的手动装机备选 — 直接编辑 IDE 的 mcp.json。
本页为懂技术用户提供的手动装机备选 — 直接编辑 IDE 的 mcp.json。
手动装机 — 灯塔 MCP 接入
手动改 MCP 配置, 把 SkillFM 灯塔模块挂到你已有的 agent。BYOK — 你的 API key 永远不出节点。
1. 装包 (一次性)
npx -y -p @skillfm/local@latest skillfm-local doctor
首次运行会拉 @skillfm/local 2.7.0+ 并自检。
2. 在 Cursor 配置 MCP server
编辑 ~/.cursor/mcp.json 加入:
{
"mcpServers": {
"beacon": {
"command": "npx",
"args": ["-y", "-p", "@skillfm/local", "skillfm-local", "mcp"]
}
}
}3. 注入 SAFE 引导
让你的主 Agent 读到 SkillFM 规则: 先预览, 确认后再写入。
npx -y -p @skillfm/local@latest skillfm-local safe detect npx -y -p @skillfm/local@latest skillfm-local safe inject
4. 重启 Cursor, 检查 Beacon tool 是否可用
在你主 Agent 里说: “看下我家 AI 体检” 或 “看一下我本月 token 消耗”
BYOK 安全承诺
你的 LLM API key (Anthropic / OpenAI / 国产) 在你节点本地处理, 不上传 SkillFM 服务器。Beacon 只传输元数据 (token 数 / 时间戳), 不传输你的 prompt 内容。