Logo bao

bao

Cộng đồng
Suge8

🍞 记得住、学得会、能进化的个人 AI 助手。持久分类记忆 · 闭环经验引擎 · 子代理并行 · 长任务不漂移 · 9 大平台 · 4 类 LLM · MCP 生态 · 桌面自动化,只有你需要的轻量。| The AI assistant that remembers, learns, and evolves. Persistent memory · Experience engine · Sub-agents · 9 platforms · 4 LLM providers · MCP tools.

Nhà phát hànhSuge8
Kho mãBao
Ngôn ngữPython
Bản fork
2
Sao
23
Công cụ có sẵn
0
Phương thức truyền tảistdio, streamable-http
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    bao cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    23 sao và 2 bản fork từ kho mã được liên kết.

下载即用的桌面 AI 助手 · 真正的持久记忆 · 从经验中学习 · 长任务不阻塞 · 9 大平台 · MCP 生态

🇨🇳 中文 · 🇺🇸 English

为什么选 Bao?

Bao 是一个会记住你、会学习、会成长的 AI 助手。

不是聊天机器人,不是 API 包装器,而是一个真正能长期陪伴你的智能系统。

从 GitHub Releases 下载桌面端,双击安装,3 分钟配置完成。无需命令行,无需配置文件,开箱即用。

🎯 三个核心优势

1. 真正的持久记忆系统

大多数 AI 助手每次对话都从零开始。Bao 不一样。

基于 LanceDB 的记忆系统会跨会话保留你的偏好、项目背景和长期约定。向量检索 + 关键词检索双通路,智能注入相关上下文,不会把整段历史硬塞回 prompt。

记忆分类管理:偏好、个人信息、项目知识、通用事实,四类独立存储,过时内容主动清理,重要信息长期保留。

2. 从经验中持续学习

Bao 有闭环经验引擎。一次任务里踩过的坑,下次不会再从零开始。

  • 自动提取教训、策略和失败模式
  • 相似任务自动召回相关经验
  • 质量评分系统:高质量经验(≥5 分,使用 ≥3 次)永久保留
  • 工具失败后会反思重试,而不是机械重复到超时

它会随着使用持续变得更适合你。

3. 强大的长任务引擎

复杂任务不会卡住当前对话。Bao 支持子代理并行执行,你可以继续聊天,它在后台把耗时工作做完。

  • 轨迹压缩:每 5 步自动压缩执行历史,保持上下文清晰
  • 充分性检查:自动判断是否已收集足够信息,避免无效循环
  • 进度透明:实时查询阶段、工具数、迭代轮次和最近动作
  • 灵活控制:支持取消、续接和结构化任务跟踪

一个助手,不必被一件慢任务拖住全部交互。

💎 为什么选择 Bao

对普通用户:下载桌面端,3 分钟配置完成,开箱即用。无需命令行,无需编辑配置文件。

对开发者:约 12,000 行核心 Python 代码,结构紧凑,易于扩展。原生接入编程代理(Codex、Claude Code、OpenCode),MCP 工具生态,技能系统兼容 ClawHub。

对所有人:桌面端、CLI、9 大聊天平台共用同一套 core,没有两套实现长期漂移。上下文管理、自动规划、长任务控制都是内建能力,不需要外围补丁

🔄 与 OpenClaw 的对比

OpenClaw 是一个优秀的开源 AI 助手项目,定位是 local-first、Gateway 驱动,拥有完整的控制面体系(macOS app、Web UI、CLI、移动节点)。

Bao 的核心取舍不同:更短的上手路径 + 更强的记忆与学习能力。

维度OpenClawBao
上手体验CLI 向导 + 配置文件 + Gateway 启动下载桌面端,3 分钟配置完成
部署依赖Node 22+ / pnpm / Gateway 工作流桌面端零依赖,开发侧需 Python/uv
核心优势完整 Gateway 控制面 + 多端协同持久记忆 + 经验学习 + 长任务引擎
长任务处理Gateway 工具执行轨迹压缩、充分性检查、子代理并行
记忆系统基础会话历史LanceDB 向量检索 + 分类记忆 + 经验引擎
技能生态官方 Skills + ClawHub兼容 ClawHub,支持 SKILL.md 格式
适合人群需要完整 Gateway 体系的用户想快速上手 + 保留扩展性的用户

一句话总结:

  • OpenClaw:更广的官方控制面,适合需要完整 Gateway 架构的场景
  • Bao:更快的落地路径,更强的记忆与学习能力,适合长期陪伴型使用

🚀 快速开始

方式 1:桌面端(推荐)

前往 GitHub Releases 下载安装包:

  • macOS:Bao-x.y.z-macos-arm64.dmg(Apple Silicon)或 Bao-x.y.z-macos-x86_64.dmg(Intel)
  • Windows:Bao-x.y.z-windows-x64-setup.exe

安装后打开 Bao Desktop,按界面引导完成配置(3 分钟):

  1. 选择界面语言
  2. 配置 AI 服务(支持 OpenAI、Anthropic、Gemini、DeepSeek 等)
  3. 选择默认模型
  4. 启动中枢,开始使用

方式 2:命令行(终端用户)

bash
pip install -U bao-ai
bao

方式 3:源码(开发者)

bash
git clone https://github.com/Suge8/Bao.git
cd Bao
uv sync
uv run bao

首次运行自动生成 ~/.bao/config.jsonc。最小配置:

json
{
  "providers": {
    "openaiCompatible": {
      "apiKey": "sk-or-v1-xxx"
    }
  }
}

可选:配置效用模型节省成本(用于后台任务)

json
{
  "agents": {
    "defaults": {
      "model": "anthropic/claude-sonnet-4-20250514",
      "utilityModel": "openrouter/google/gemini-flash-1.5"
    }
  }
}

💬 9 大聊天平台

一份配置,同时接入 9 个平台。每个平台自动适配最佳渲染格式。

平台配置渲染
Telegram@BotFather 获取 Token富文本 Markdown
DiscordBot Token + Intent富文本 Markdown
WhatsApp扫码连接纯文本
飞书App ID + Secret原生标记
SlackBot Token + App Token原生标记
EmailIMAP/SMTP纯文本
QQApp ID + Secret纯文本
钉钉App Key + Secret原生标记
iMessagemacOS 零配置纯文本

同一个 AI,9 种最佳阅读体验。

🤖 LLM Provider

极简 4 类配置,覆盖所有主流模型。

类型支持示例
OpenAI 兼容OpenAI、OpenRouter、DeepSeek、Groq、Ollama、vLLM 等openai/gpt-4o
AnthropicClaude 全系列anthropic/claude-sonnet-4-20250514
GeminiGemini 全系列gemini/gemini-2.0-flash-exp
Codex OAuth通过 ChatGPT 订阅认证,无需 API Keyopenai-codex/gpt-5.1-codex

智能特性:

  • Provider 名称可自定义(如 my-proxy/claude-sonnet-4-6)
  • OpenAI 兼容端点自动探测 Responses / Chat Completions
  • apiBase 自动补全版本段,避免重复拼接
  • 推理强度支持:off / low / medium / high
  • 支持 serviceTier:priority / flex(适用于支持该参数的 OpenAI / Codex / 兼容中转)
    • reasoningEffort=off 在 OpenAI / Codex 会映射为官方 reasoning.effort=none

Codex Provider 与 Codex 工具是两条独立能力线:

  • providers.*.type = "openai_codex":把 Codex OAuth 当作 Bao 的主聊天模型。
  • coding_agent(agent="codex"):调用本机 codex CLI 代你改代码,适合在 Telegram、WhatsApp、iMessage 等聊天里远程让 Bao 做代码任务。

远程用 Codex 改代码:

  • 先在运行 Bao 的机器安装并登录 Codex CLI:npm i -g @openai/codex@latest,然后执行 codex login
  • 后续在同一个 Bao 会话里继续追问时,coding_agent(agent="codex", continue_session=true) 会自动续上该聊天对应的 Codex session
  • 续接状态持久化在 Bao 自己的会话 metadata 中,Bao 重启后也能继续尝试复用
  • 如果外部 Codex session 已失效,Bao 会清掉旧 session 并明确提示你重试一次,不做隐藏重试

🔌 MCP 支持

Model Context Protocol — 接入任何工具生态。配置兼容 Claude Desktop 和 Cursor。

json
{
  "tools": {
    "toolExposure": {
      "mode": "off",  // 默认全量暴露;auto 为 BM25 域路由
      "domains": ["core", "messaging", "handoff", "web_research", "desktop_automation", "coding_backend"]
    },
    "mcpMaxTools": 50,
    "mcpSlimSchema": true,
    "mcpServers": {
      "filesystem": {
        "command": "npx",
        "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path"]
      }
    }
  }
}

工具暴露模式:

  • off:默认值,直接全量暴露 builtin tools

  • auto:使用 BM25 对 domain docs 做轻量排序,再暴露命中的 domain 闭环

  • core:基础本地工具,始终保留

  • messaging:发消息前先找目标,再补齐发送闭环

  • handoff:跨会话接力闭环

  • web_research:网页搜索 / 抓取 / 浏览器研究

  • desktop_automation:截屏 / 点击 / 输入等桌面操作

  • coding_backend:文件编辑、命令执行与 coding backend

💬 聊天命令

全平台通用命令:

命令说明
/new新建对话(旧对话自动保留)
/stop停止当前任务
/session列出所有对话,按编号切换
/delete删除当前对话
/model切换模型
/memory管理记忆(查看、编辑、删除)
/help显示可用命令

这些命令现在统一由 core 命令表维护;各渠道默认原样转发到 AgentLoop,Telegram 的命令菜单也从同一事实源自动生成。

🐳 Docker 部署

bash
# 1. 准备配置
vim ~/.bao/config.jsonc

# 2. 复制环境变量模板
cp .env.docker.example .env.docker

# 3. 启动中枢
docker compose --env-file .env.docker up -d bao-hub

# 4. 查看日志
docker compose logs -f --tail=100 bao-hub

🖥️ Desktop App

Bao Desktop 是主入口。大多数用户直接下载 Release;开发者本地运行:

bash
uv sync --extra desktop
uv run python app/main.py

首次启动自动创建配置与 workspace。详见 app/README.md 和 app/DESKTOP_PACKAGING.md。

🔒 安全

内置多层安全机制:工作区沙箱、渠道白名单、危险命令拦截、SecretStr 凭据保护。

完整安全配置见 SECURITY.md。

📁 项目结构

bao/
├── agent/          # 核心 Agent 逻辑
│   ├── loop.py     # Agent 循环(重试 + 纠错 + 经验)
│   ├── context.py  # 提示词组装 + 经验注入
│   ├── memory.py   # LanceDB 持久记忆
│   ├── subagent.py # 后台任务执行
│   └── tools/      # 内置工具
├── skills/         # 可扩展技能系统
├── channels/       # 9 大平台集成
├── providers/      # 4 种 LLM Provider
├── session/        # 多会话管理
└── cli/            # 命令行界面

📝 Changelog

最新发布版本与变更记录详见 CHANGELOG.md。

Download and use instantly · True persistent memory · Learns from experience · Long tasks don't block · 9 platforms · MCP ecosystem

Why Bao?

Bao is an AI assistant that remembers, learns, and grows with you.

Not a chatbot, not an API wrapper, but a truly long-term intelligent companion.

Download the desktop app from GitHub Releases, double-click to install, 3 minutes to configure. No command line, no config files, ready to use out of the box.

🎯 Three Core Advantages

1. True Persistent Memory System

Most AI assistants start from scratch every conversation. Bao is different.

The LanceDB-based memory system preserves your preferences, project context, and long-term agreements across sessions. Vector retrieval + keyword retrieval dual pathways, intelligently injecting relevant context without stuffing entire history back into prompts.

Categorized memory management: Preferences, personal info, project knowledge, general facts — four independent categories, stale content actively cleaned, important information retained long-term.

2. Continuous Learning from Experience

Bao has a closed-loop experience engine. Mistakes made once won't be repeated from scratch next time.

  • Automatically extracts lessons, strategies, and failure patterns
  • Recalls relevant experience for similar tasks
  • Quality scoring system: high-quality experiences (≥5 score, ≥3 uses) permanently retained
  • Reflects and retries after tool failures, not mechanical repetition until timeout

It gets better the more you use it.

3. Powerful Long-Task Engine

Complex tasks don't block the current conversation. Bao supports parallel subagent execution — you can keep chatting while it completes time-consuming work in the background.

  • Trajectory compression: Automatically compresses execution history every 5 steps, keeping context clear
  • Sufficiency checks: Automatically determines if enough information has been gathered, avoiding ineffective loops
  • Progress transparency: Real-time query of phase, tool count, iteration rounds, and recent actions
  • Flexible control: Supports cancellation, resumption, and structured task tracking

One assistant shouldn't be held hostage by one slow task.

💎 Why Choose Bao

For regular users: Download the desktop app, 3 minutes to configure, ready to use. No command line, no editing config files.

For developers: ~12,000 lines of core Python code, compact structure, easy to extend. Native integration with coding agents (Codex, Claude Code, OpenCode), MCP tool ecosystem, skill system compatible with ClawHub.

For everyone: Desktop, CLI, and 9 chat platforms share the same core — no two implementations drifting apart. Context management, auto-planning, and long-task control are all built-in capabilities, no external patches needed.

🔄 Comparison With OpenClaw

OpenClaw is an excellent open-source AI assistant project, positioned as local-first, Gateway-driven, with a complete control surface system (macOS app, Web UI, CLI, mobile nodes).

Bao's core tradeoff is different: shorter onboarding path + stronger memory and learning capabilities.

DimensionOpenClawBao
OnboardingCLI wizard + config files + Gateway startupDownload desktop app, 3 minutes to configure
DeploymentNode 22+ / pnpm / Gateway workflowDesktop app zero dependencies, dev side needs Python/uv
Core strengthComplete Gateway control surface + multi-device coordinationPersistent memory + experience learning + long-task engine
Long tasksGateway tool executionTrajectory compression, sufficiency checks, parallel subagents
Memory systemBasic conversation historyLanceDB vector retrieval + categorized memory + experience engine
Skill ecosystemOfficial Skills + ClawHubCompatible with ClawHub, supports SKILL.md format
Best forUsers who need complete Gateway architectureUsers who want quick start + retain extensibility

In short:

  • OpenClaw: Broader official control surface, suitable for scenarios requiring complete Gateway architecture
  • Bao: Faster deployment path, stronger memory and learning capabilities, suitable for long-term companion use

🚀 Quick Start

Method 1: Desktop App (Recommended)

Download from GitHub Releases:

  • macOS: Bao-x.y.z-macos-arm64.dmg (Apple Silicon) or Bao-x.y.z-macos-x86_64.dmg (Intel)
  • Windows: Bao-x.y.z-windows-x64-setup.exe

After installation, open Bao Desktop and follow the guide (3 minutes):

  1. Choose UI language
  2. Configure AI service (supports OpenAI, Anthropic, Gemini, DeepSeek, etc.)
  3. Select default model
  4. Start hub and begin using

Method 2: Command Line (Terminal Users)

bash
pip install -U bao-ai
bao

Method 3: Source Code (Developers)

bash
git clone https://github.com/Suge8/Bao.git
cd Bao
uv sync
uv run bao

First run auto-generates ~/.bao/config.jsonc. Minimal config:

json
{
  "providers": {
    "openaiCompatible": {
      "apiKey": "sk-or-v1-xxx"
    }
  }
}

Optional: Configure utility model to save costs (for background tasks)

json
{
  "agents": {
    "defaults": {
      "model": "anthropic/claude-sonnet-4-20250514",
      "utilityModel": "openrouter/google/gemini-flash-1.5"
    }
  }
}

📝 Changelog

See CHANGELOG.md for the latest release and change history.

💬 9 Chat Platforms

One config, connect to 9 platforms simultaneously. Each platform auto-adapts to optimal rendering format.

PlatformSetupRendering
TelegramToken from @BotFatherRich Markdown
DiscordBot Token + IntentRich Markdown
WhatsAppScan QR codePlain text
FeishuApp ID + SecretNative markup
SlackBot Token + App TokenNative markup
EmailIMAP/SMTPPlain text
QQApp ID + SecretPlain text
DingTalkApp Key + SecretNative markup
iMessagemacOS zero configPlain text

One AI, nine tailored reading experiences.

🤖 LLM Provider

Simple 4-type config, covers all mainstream models.

TypeSupportExample
OpenAI CompatibleOpenAI, OpenRouter, DeepSeek, Groq, Ollama, vLLM, etc.openai/gpt-4o
AnthropicFull Claude lineupanthropic/claude-sonnet-4-20250514
GeminiFull Gemini lineupgemini/gemini-2.0-flash-exp
Codex OAuthAuth via ChatGPT subscription, no API Key neededopenai-codex/gpt-5.1-codex

Smart features:

  • Customizable provider names (e.g., my-proxy/claude-sonnet-4-6)
  • OpenAI-compatible endpoints auto-detect Responses / Chat Completions
  • apiBase auto-completes version segments, avoids duplicate concatenation
  • Reasoning effort support: off / low / medium / high
  • Supports serviceTier: priority / flex on OpenAI / Codex / compatible relays that accept it
    • reasoningEffort=off maps to official OpenAI / Codex reasoning.effort=none

Codex provider and Codex tool are separate capabilities:

  • providers.*.type = "openai_codex" uses Codex OAuth as Bao's chat model.
  • coding_agent(agent="codex") uses the local codex CLI to perform coding work on Bao's host machine.

Using Codex for remote coding via chat:

  • Install and authenticate Codex CLI on the machine running Bao: npm i -g @openai/codex@latest, then codex login
  • In the same Bao conversation, follow-up calls with coding_agent(agent="codex", continue_session=true) automatically resume that chat's Codex session
  • Session continuity is persisted in Bao session metadata, so Bao can reuse it across restarts
  • If the external Codex session has expired, Bao clears the stored session and tells you to retry once instead of doing a hidden retry

🔌 MCP Support

Model Context Protocol — plug into any tool ecosystem. Config format compatible with Claude Desktop and Cursor.

json
{
  "tools": {
    "toolExposure": {
      "mode": "off",  // Default full exposure; use auto for BM25 domain routing
      "domains": ["core", "messaging", "handoff", "web_research", "desktop_automation", "coding_backend"]
    },
    "mcpMaxTools": 50,
    "mcpSlimSchema": true,
    "mcpServers": {
      "filesystem": {
        "command": "npx",
        "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path"]
      }
    }
  }
}

Tool exposure modes:

  • off: default, expose all builtin tools directly

  • auto: use BM25 to rank domain docs, then expose the matched domain closures

  • core: base local tools, always kept on

  • messaging: recipient resolution plus the full send-message closure

  • handoff: cross-session handoff closure

  • web_research: web search / fetch / browser research

  • desktop_automation: screenshots, clicks, typing, and other desktop actions

  • coding_backend: file editing, shell execution, and coding backends

💬 Chat Commands

Universal commands across all platforms:

CommandDescription
/newStart a new conversation (old one preserved)
/stopStop current task
/sessionList all conversations, switch by number
/deleteDelete current conversation
/modelSwitch model
/memoryManage memories (view, edit, delete)
/helpShow available commands

These commands are now maintained by one core command registry; channels forward the raw command text into AgentLoop, and Telegram derives its command menu from the same source.

🐳 Docker Deployment

bash
# 1. Prepare config
vim ~/.bao/config.jsonc

# 2. Copy environment template
cp .env.docker.example .env.docker

# 3. Start hub
docker compose --env-file .env.docker up -d bao-hub

# 4. View logs
docker compose logs -f --tail=100 bao-hub

🖥️ Desktop App

Bao Desktop is the main entry point. Most users download Release directly; developers run locally:

bash
uv sync --extra desktop
uv run python app/main.py

First launch auto-creates config and workspace. See app/README.md and app/DESKTOP_PACKAGING.md.

🔒 Security

Built-in multi-layer security: workspace sandboxing, channel allowlists, dangerous command interception, SecretStr credential protection.

Full security config: SECURITY.md.

📁 Project Structure

bao/
├── agent/          # Core agent logic
│   ├── loop.py     # Agent loop (interrupt + control routing + experience)
│   ├── context.py  # Prompt assembly + experience injection
│   ├── memory.py   # LanceDB persistent memory
│   ├── subagent.py # Background task execution
│   └── tools/      # Built-in tools
├── skills/         # Extensible skill system
├── channels/       # 9 platform integrations
├── providers/      # 4 LLM provider types
├── session/        # Multi-session management
└── cli/            # Command line interface

Bao — An AI assistant that remembers.

Cài đặt

TypingMind
{
  "mcpServers": {
    "bao": {
      "command": "bao",
      "args": []
    }
  }
}

Dùng MCP bao với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối bao, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. Bạn có thể chạy MCP ngay trên thiết bị của mình hoặc kết nối qua URL của máy chủ MCP từ xa.

Cách 1: Dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm bao làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của bao.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "bao": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của bao, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của bao.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng bao giúp tôi làm việc này không?
bao
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng bao.

Cách 2: Thêm URL máy chủ MCP

Dùng cách này khi bao đã được lưu trữ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập URL máy chủ MCP do nhà cung cấp cung cấp vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán URL máy chủ MCP do nhà cung cấp cung cấp vào trường URL máy chủ.
  2. Nhập tên kết nối cho bao.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối bao hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của bao trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của bao trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và dùng lại cùng kết nối MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng bao giúp tôi làm việc này không?
bao
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng bao.

Câu hỏi thường gặp

Máy chủ MCP bao dùng để làm gì?

bao là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP bao với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng bao với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP bao với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối bao, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP bao với TypingMind?

Bạn có thể kết nối bao trong TypingMind bằng trình kết nối MCP cục bộ hoặc bằng cách thêm URL máy chủ MCP từ xa. Dùng trình kết nối cục bộ khi máy chủ cần truy cập tệp, ứng dụng hoặc tài nguyên riêng trên thiết bị của bạn; dùng URL máy chủ khi máy chủ MCP được lưu trữ từ xa.

MCP bao cung cấp những công cụ nào trong TypingMind?

bao cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP bao không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu bao yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇