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

# Kilo Code

> Methods for Using the GLM Coding Plan in Kilo Code plugin

Kilo Code is a powerful VS Code plugin with support for MCP (Model Context Protocol), enabling you to generate code, debug, and manage projects directly within the editor — delivering a more efficient and intelligent development experience.

## Step 1: Installing the Kilo Code Plugin

a. Launch VS Code

b. Click the Extensions Marketplace icon on the left sidebar

c. Search for `Kilo Code` in the search bar

d. Locate the `Kilo Code` plugin and install it

## Step 2. Configuring API Settings

Choose `Use your own API Key`, and fill in the following information as specified:

> If your Kilo Code version is outdated and lacks the `International Coding Plan` option, please update the plugin to the latest version.

* **API Provider**: Select `Z AI`
* **Z AI Entrypoint**: Select `International Coding Plan (https://api.z.ai/api/coding/paas/v4/)`
* **Z AI API Key**: Input your Z.AI API Key
* **Model**: Select the GLM model code you want to use

## Step 3. Getting Started

Once configured, you can enter prompts in the input box to leverage the AI model for various tasks, such as:

* Analyzing database table structures
* Calculating statistics and averages
* Generating and optimizing SQL queries
* Code generation and refactoring
* Project analysis and documentation writing

## Step 4: Coding Plan MCP Servers

Refer to the [Vision MCP Server](/devpack/mcp/vision-mcp-server) , [Search MCP Server](/devpack/mcp/search-mcp-server) and [Web Reader MCP Server](/devpack/mcp/reader-mcp-server) documentation; once configured, you can use them in Kilo Code.
