Claude Code 用 MCP 还在手动配?让 Agent 自己扫 Smithery 网格「织网」
Claude Code 用 MCP 还在手动配?让 Agent 自己扫 Smithery 网格「织网」
用过 Claude Code 的同学都知道,MCP(Model Context Protocol)生态是个大宝藏——GitHub、Notion、Supabase、Slack……几千个工具随便接。但问题是:每次接新工具,你都得手动去找、填配置、粘 Key,Claude 自己插不上手。
smithery-lattice 干的事,就是把这个过程彻底倒过来——让 Claude 自己扫、选、接、织进上下文,不需要你动一根手指。
🔌 它到底是什么
smithery-lattice 是一个 Python MCP Server,挂在 Smithery 的注册表 API 上,给 Claude 增加了一层「自组织网格」能力。
传统的 MCP 连接方式是:
- 你:去 smithery.ai 找工具 → 复制配置 → 粘贴到 claude_desktop_config.json → 重启 Claude
- Claude:被动等待,零主动权
smithery-lattice 的方式:
- 你:告诉 Claude “我需要连接 GitHub 工具做代码审查”
- Claude:扫描 lattice → 发现最优节点 → 了解需要哪些凭证 → 主动向你申请授权 → 连接成功 → 工具直接可用
- 全程:无需你打开浏览器,无需重启
整个过程 Claude 在主导,你只是最后点一下授权链接。
⚙️ 怎么装
第一步:去 smithery.ai/account/api-keys 申请一个 API Key(免费)。
第二步:装依赖并配置环境变量。
git clone https://github.com/kaiser-data/smithery-lattice
cd smithery-lattice
pip install -r requirements.txt
cp .env.example .env
# 编辑 .env,填入 SMITHERY_API_KEY=你的key
第三步:加到 Claude Desktop 配置。
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"smithery-lattice": {
"command": "python",
"args": ["/path/to/smithery-lattice/server.py"],
"env": {
"SMITHERY_API_KEY": "你的key"
}
}
}
}
第四步:在 Claude Code 里直接开干。
Explore MCP servers for GitHub → explore("GitHub")
Inspect the GitHub one → inspect("@smithery-ai/github")
Add the frontend design skill → inoculate_skill("anthropics/frontend-design")
Show me the network → network_status()
💡 为什么值得注意
MCP 生态这两年爆发了,但大部分人的使用方式还停留在「手找、手配、手填」三步曲。smithery-lattice 第一次把Agent 的主动性真正接入了 Smithery 的注册表——Claude 不只是执行工具,而是主动发现和组装工具。
对于经常在多个工具之间切换的开发者,这意味着:
- 新工具发现成本趋近于零——你不需要记住 thousands of MCP servers,Claude 来扫
- 凭证管理更安全——Key 只给 smithery-lattice,不到处粘贴
- 上下文不被打断——在同一个 session 里完成发现→安装→使用全流程
🧭 适合谁
- 日常在 Claude Code 里工作的开发者
- 经常需要跨平台接工具(GitHub、Notion、数据库等)
- 想把工具发现流程完全委托给 Agent 的效率党
📦 GitHub 链接
项目地址:kaiser-data/smithery-lattice
MIT 协议,Python 项目,Smithery API Key 免费,Claude Desktop 即可使用。
评论区
登录后可评论。