Files
openchamber/packages/docs/content/docs/zh-cn/mcp.mdx
T
Bohdan Triapitsyn 967704a9b9 docs: add OpenChamber feature docs and translations (#1400)
* docs: add OpenChamber feature docs and translations

Add 30 new docs pages covering OpenChamber-specific workflows and setup:
OpenCode server, providers/models/agents, MCP, skills, commands & snippets,
usage, projects, context, notes/todos/plans, scheduled tasks, project actions,
preview, worktrees, multi-run, git & GitHub, magic prompts, git identities,
mobile/PWA, security, notifications, voice, project icons, remote instances,
desktop browser, updates, and three troubleshooting pages.

Rebuild sidebar into eight task-oriented sections and translate every new
page into all six supported locales (uk, zh-cn, es, pt-br, ko, pl).

* docs: surface new sections on homepage and cross-link tunnels

Add an Explore block to the docs homepage (all seven locales) linking to
the new section anchors, and cross-link the Tunnels page to Security and
PWA & Mobile.
2026-05-24 14:15:55 +03:00

31 lines
1.2 KiB
Plaintext

---
title: MCP Servers
description: 添加 MCP 服务器,为智能体提供额外工具。
---
# MCP Servers
MCP 服务器为你的智能体提供额外的工具 — 比如搜索数据库、调用 API,或读取你使用的某个服务。在 **Settings → MCP** 中添加它们。
## 添加服务器
1. 打开 **Settings → MCP**。
2. 添加一个服务器并选择它的类型:
- **local** — OpenChamber 在你的机器上运行一个命令。你需要提供要运行的命令,以及(如有需要)环境变量。
- **remote** — OpenChamber 连接到由他人托管的 URL。你需要提供该 URL 以及它所需的任何请求头(例如鉴权令牌)。
3. 保存。服务器默认开启;你可以将其关闭而不删除它。
## 适用范围
添加服务器时选择适用范围:
- **personal** — 在每个项目中都可用
- **project** — 仅在当前项目中可用,并与项目的其他设置一起保存
服务器名称使用小写字母、数字、连字符和下划线。
## 相关内容
- [提供商、模型与智能体](/zh-cn/providers/) — 先连接一个模型
- [Skills](/zh-cn/skills/) — 另一种扩展智能体能力的方式