# Kiro

Kiro can read your fivebar stats over MCP, and answer questions about them.

Ask it about your sites in your own words, such as why traffic jumped on Tuesday, and it answers from your figures, following fivebar’s rules about what they mean. Working in your site’s code, it can also [add fivebar to it](https://fiveb.ar/docs/coding-assistants.md) and check it’s working. Connecting is adding fivebar’s address, signing in and choosing Allow, with no key to copy.

## Add fivebar

To add fivebar to the editor from a link, open [Add fivebar to Kiro](https://kiro.dev/launch/mcp/add?name=fivebar&config=%7B%22url%22%3A%22https%3A%2F%2Ffiveb.ar%2Fapi%2Fmcp%22%7D). Kiro asks you to confirm before it adds it.

Or add it yourself, to `~/.kiro/settings/mcp.json` for every workspace, or `.kiro/settings/mcp.json` for one:

```
{
  "mcpServers": {
    "fivebar": {
      "url": "https://fiveb.ar/api/mcp"
    }
  }
}
```

## Sign in

Kiro opens fivebar to sign in the first time it connects. In the editor, a notice at the lower right offers to authenticate. In Kiro CLI, `/mcp auth` signs in again, and `/mcp logout` signs out.

fivebar opens in your browser. Sign in if you need to, check that the page names Kiro, and choose Allow. Kiro can then [read the stats](https://fiveb.ar/docs/mcp.md#what-an-app-can-read) of every site on your Sites page, and changes nothing of yours unless you also tick the box to let it [change settings](https://fiveb.ar/docs/mcp.md#changing-settings).

## Try it

Ask Kiro about your sites in your own words, such as:

- Which pages did best last week, and where did their visitors come from?
- How does this month compare with last month so far?
- How many people are on my site right now?

## Removing it

Delete fivebar from `mcp.json`.

To stop Kiro reading your stats from fivebar’s side, disconnect it in [Settings](https://fiveb.ar/settings).

## Good to know

Kiro CLI took the place of Amazon Q Developer CLI in November 2025, and `q chat` still starts it.

More in [Kiro’s own documentation](https://kiro.dev/docs/mcp/configuration/).
