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

# Kiro

> Add PostChamp to Kiro with an mcp.json entry. Use an empty scope list if sign-in fails.

Add PostChamp to Kiro with an mcp.json entry. Use an empty scope list if sign-in fails. The connection URL is the same for every client:

```text
https://api.postchampai.com/api/v1/mcp
```

> [!NOTE]
>
> Remote sign-in works in the Kiro IDE and CLI. Kiro Web and Mobile sessions do not use OAuth for remote servers.

## Before you start

* The Kiro IDE or CLI.
* A PostChamp account on a plan that includes assistants, with the owner or admin role in the workspace you want to share. See [Authentication](/mcp/authentication.md).

## Connect Kiro

**Step 1**

Open `~/.kiro/settings/mcp.json` for all projects, or `.kiro/settings/mcp.json` in one project. If both exist they merge, and the project file wins.

**Step 2**

Add the entry below.

**Step 3**

Kiro opens a browser sign-in the first time it connects. Sign in to PostChamp, choose the workspaces to share and approve.

**Step 4**

If the sign-in fails with a scope error, add `"oauthScopes": []` next to `url` in the entry.

## Configuration file

Add this to `~/.kiro/settings/mcp.json`:

```json
{
  "mcpServers": {
    "postchamp": {
      "url": "https://api.postchampai.com/api/v1/mcp"
    }
  }
}
```

## Check the connection

Ask:

```text
Use PostChamp to list my workspaces.
```

This reads your workspaces, costs nothing and changes nothing. Then try one of these:

* Plan next week: three posts, one on each of my main topics. Show me the plan before you schedule anything.
* Write a LinkedIn post about what I learned from my last client project, in my voice.
* Check my newest draft for filler and weak lines, then suggest fixes.
* How did my posts do over the last 30 days? What worked best?

## Disconnect

* Remove the entry from `mcp.json`.
* In PostChamp, open Settings and choose Assistants to disconnect it, so the sign-in is revoked.

## Troubleshooting

> [accordion] The sign-in fails with a scope error.
>
> Add an empty list of scopes at the top level of the entry: `"oauthScopes": []`. Kiro asks for extra scopes by default and PostChamp only offers its own.

> [accordion] It works in the IDE but not in Kiro Web.
>
> Kiro Web and Mobile sessions do not run the browser sign-in for remote servers. Use the IDE or CLI.

> [accordion] The browser sign-in says I cannot connect.
>
> Only owners and admins of a workspace can connect an assistant to it, and the plan must include assistants. Sign in with an account that has that role. Check the account in Settings, Members.

## FAQ

> [accordion] Where do I put `oauthScopes`?
>
> At the top level of the server entry, next to `url`, as `"oauthScopes": []`. Newer Kiro versions read the top-level key first.

## Related

> [card] [Authentication](/mcp/authentication.md)
>
> How sign-in, consent and revocation work.

> [card] [Tool reference](/mcp/tools/index.md)
>
> Every tool the assistant can call.
