跳到主要内容

开始使用

安装 Wenlan,连接你的 AI 工具。

选择一条 client 路径,连到同一个 local daemon,再验证一次 capture 与 recall round trip。

Wenlan 团队更新于 2026 年 7 月 31 日5 分钟设置

设置路径

01

运行环境

02

Claude Code

03

Codex

04

本地 + 远程 MCP

01

安装适合你系统的 runtime

Wenlan v0.15.8 提供 Windows x64、macOS Apple silicon,以及 Linux x64 或 ARM64 glibc 的原生 runtime 包。每份 runtime archive 都包含 CLI、daemon 与 MCP connector。

在 Windows 上,请把 wenlan-windows-x64.zip 当成一个整体解压到用户拥有且已加入 PATH 的目录。onnxruntime.dll、vulkan-1.dll 与三个可执行文件必须放在一起。

# macOS Apple silicon
npx -y wenlan setup
# Linux x64 或 ARM64
curl -fsSL https://raw.githubusercontent.com/7xuanlu/wenlan/main/install.sh | bash
wenlan setup --basic
wenlan background on
wenlan status
# Windows x64:解压 ZIP 并加入 PATH 后
wenlan setup --basic
wenlan background on
wenlan status

02

Claude Code 插件

这是最快的路径。plugin 会处理 daemon setup、MCP wiring、本地 memory setup,以及第一次 round-trip check。

如果 Claude Code 在安装后要求 restart,重启一次,然后运行 /setup。

/plugin marketplace add 7xuanlu/claude-plugins
/plugin install wenlan@7xuanlu
/setup

03

Codex 设置

先运行 Wenlan setup,再把 Codex 连接到本地 MCP server。主要 Wenlan repo 也提供 Codex plugin 给从 checkout 安装的用户;wenlan connect codex 是不需要 checkout 的直接 client 路径。

wenlan connect codex

04

ChatGPT 和 Claude.ai

在 Wenlan desktop app 打开 Remote Access,为 Streamable HTTP MCP 创建临时的 HTTPS URL。App 会在 loopback 以 --no-auth 启动 wenlan-mcp,再通过 tunnel 暴露;任何拿到 URL 的人都能访问。在 ChatGPT 打开 Settings > Plugins,创建 New Plugin,在 Connection 下选择 Server URL,粘贴 URL,并把 Authentication 设为 None。Claude.ai 则通过 Directory > Plugins 从 7xuanlu/wenlan marketplace 安装 Wenlan。

这是连接到你自己 Wenlan runtime 的 custom MCP,不代表 Wenlan 已列入公开 ChatGPT Apps Directory。不使用时请停止 Remote Access。

05

其他本地 MCP clients

Cursor、Claude Desktop、Gemini CLI、VS Code 和其他受支持的本地 MCP clients,要先设置 Wenlan runtime,再让 CLI 写入 client-specific MCP configuration。

Wenlan setup 会安装 CLI、daemon 和 MCP connector,向操作系统的 user service manager 注册 daemon,并验证状态。

wenlan connect cursor
# 或:claude-desktop, vscode, gemini

06

先试什么

保存一个 durable project fact,再请另一个 session 或 client recall。Wenlan 应该能找回这个 fact,并把来源保留给 wiki 与 review flow。