# Integrate with MCP (/en/ai/get-started/mcp-integrate)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

## Connect to the Agora Doc MCP Server [#connect-to-the-agora-doc-mcp-server]

Choose one of the following ways to connect to the MCP server:

#### Trae [#trae]

**Manual configuration:**

Add the following configuration manually in Trae under Settings > MCP:

```json title=
{
  "mcpServers": {
    "shengwang-docs": {
      "type": "http",
      "url": "https://mcp.agora.io"
    }
  }
}
```

#### Claude Code [#claude-code]

**Add with the `CLI`:**

```bash
claude mcp add --transport http shengwang-docs https://mcp.agora.io
```

**Or configure it manually:**

Create or edit `.mcp.json` in the project root, then add the following section:

```json
{
  "mcpServers": {
    "shengwang-docs": {
      "type": "http",
      "url": "https://mcp.agora.io"
    }
  }
}
```

#### Codex [#codex]

**Add with the `CLI`:**

```bash
codex mcp add shengwang-docs --url https://mcp.agora.io
```

**Or configure it manually:**

Create or edit `.codex/config.toml` in the project root, then add the following section:

```text
[mcp_servers.shengwang-docs]
url = "https://mcp.agora.io"
```

#### Cursor [#cursor]

**Manual configuration:**

Create or edit `.cursor/mcp.json` in the project root, then add the following section:

```json
{
  "mcpServers": {
    "shengwang-docs": {
      "url": "https://mcp.agora.io"
    }
  }
}
```

#### Kiro [#kiro]

**Manual configuration:**

Create or edit `.kiro/settings/mcp.json` in the project root, then add the following section:

```json
{
  "mcpServers": {
    "shengwang-docs": {
      "url": "https://mcp.agora.io"
    }
  }
}
```

#### VS Code & Copilot [#vs-code--copilot]

**Add with the `CLI`:**

```bash
code --add-mcp '{"name":"shengwang-docs","type":"http","url":"https://mcp.agora.io"}'
```

**Or configure it manually:**

Create or edit `.vscode/mcp.json` in the root directory, then add the following section:

```json
{
  "servers": {
    "shengwang-docs": {
      "type": "http",
      "url": "https://mcp.agora.io"
    }
  }
}
```

## MCP tools [#mcp-tools]

* `search-docs`: Search for relevant documentation.
* `list-docs`: Browse documentation categories and document lists.
* `get-doc-content`: Read the full content of a specified document.

## Use MCP tools [#use-mcp-tools]

**Automatically called by the coding agent**

In Agent Mode, you can describe your requirement directly and let the coding agent decide when to call MCP tools.

For example:

```text
Search the relevant Agora documentation, read the document content, and tell me how to build the simplest possible 1v1 real-time audio and video call.
```

**Specify tool calls in the prompt**

You can also specify which MCP tools to use in the prompt through the tool-calling syntax supported by your AI IDE.

For example:

```text
#search-docs #get-doc-content Use search-docs to find relevant Agora documentation, then use get-doc-content to read the full content of the matched document and tell me how to build an interactive experience with an AI agent.
```
