# Connect Cline to Niro

**One command connects Cline to Niro:**

```
niro mcp install --client cline

```

Then restart Cline, because it reads its settings only when it starts.

You must have run `niro start` first, so that you are signed in. See [Connect your coding agent to Niro](https://help.niroai.dev/cli/connect-your-ai-assistant/).

## What the install writes

- The connection, in Cline's settings file inside VS Code's storage: `.../Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`. The `...` is `~/Library/Application Support` on macOS, `~/.config` on Linux, and `%APPDATA%` on Windows.

## How Cline learns to use Niro

- A rule file, `~/Documents/Cline/Rules/niro.md`.

## Check that it works

Ask it a question about your code, such as "which routes does this project serve?". An answer from Niro starts with "Answered from the local graph on this machine (niro-local)."

## Things to know

- This settings path is confirmed by Cline's users, not by an official Cline page. If Cline does not show Niro after a restart, open Cline's MCP settings and check where it keeps them.

## Remove it

```
niro mcp uninstall --client cline

```

If something goes wrong, see [FAQ: coding agents and MCP](https://help.niroai.dev/cli/faq-assistants-and-mcp/).