> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bigmodel.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# Roo Code

> 在 Roo Code 插件中使用 GLM Coding Plan 的方法

Roo Code 是一个智能的 VS Code 插件，能够帮助您完成项目分析、代码生成和重构等任务，让开发过程更加轻松高效。

<Tip>
  搭配 [**GLM Coding Plan**](https://zhipuaishengchan.datasink.sensorsdata.cn/t/Nd)，Roo Code 的能力能进一步增强，让您在项目管理和代码优化中更高效、更稳定。
</Tip>

<Warning>
  使用 GLM Coding Plan 时，需要配置专属的 Coding API 端点 [https://open.bigmodel.cn/api/coding/paas/v4](https://open.bigmodel.cn/api/coding/paas/v4) 而不是通用 API 端点
</Warning>

<Tip>
  使用最新 GLM 模型，需要修改自定义模型编码为对应的模型编码
</Tip>

## 一、安装 Roo Code 插件

1. 打开 VS Code
2. 点击左侧插件市场图标
3. 在搜索框中输入 `Roo Code`
4. 找到 `Roo Code` 并安装

## 二、配置 API 设置

### 配置信息

选择 `Use your own API Key`，并按照以下配置填入相关信息：

> 若您的 Roo Code 版本较低没有 `China Coding Plan` 选项，请先将插件更新到最新版本。

* **API Provider**：选择 `Z AI`
* **Z AI Entrypoint**：选择 `China Coding Plan (https://open.bigmodel.cn/api/coding/paas/v4)`
* **Z AI API Key**：填入您的智谱 API Key
* **Model**：选择您要使用的 GLM 模型编码

## 三、开始使用

配置完成后，您可以在输入框中输入需求，让模型帮助您完成各种编码任务。

## 四、套餐专属 MCP

参考 [视觉MCP服务器](/cn/coding-plan/mcp/vision-mcp-server) ，[搜索MCP服务器](/cn/coding-plan/mcp/search-mcp-server) 和 [网页读取MCP服务器](/cn/coding-plan/mcp/reader-mcp-server) 文档，配置完成后即可在 Roo Code 中使用。
