# Connect Claude Code to Ishara

Connect Claude Code to Ishara’s MCP server with one command, so it can read your reviewers’ notes, apply the edits and reply.

- Server: `https://useishara.com/mcp`
- Where it goes: `claude mcp add`, or `.mcp.json` in your project
- Transport: Streamable HTTP, built in
- Authentication: a bearer token in the `Authorization` header

## Steps

1. In Ishara, open **Agents**, create a token under **New token** and copy it (it’s shown once).
2. Add Ishara to Claude Code, with your token in place of `ishara_…`:

   Terminal:

```sh
claude mcp add --transport http ishara https://useishara.com/mcp \
  --header "Authorization: Bearer ishara_…"
```

   Adds Ishara for this project only. Add `--scope user` for every project on this computer.

   .mcp.json:

```json
{
  "mcpServers": {
    "ishara": {
      "type": "http",
      "url": "https://useishara.com/mcp",
      "headers": { "Authorization": "Bearer ${ISHARA_TOKEN}" }
    }
  }
}
```

   Or share it with your team through git: this file reads the token from each person’s `ISHARA_TOKEN` environment variable.

3. Start Claude Code and type `/mcp`: **ishara** should show **✔ Connected**. From the shell, `claude mcp list` says the same.
4. Ask your agent: “Apply the open Ishara notes.” It lists them, applies each edit in your code, and marks each note done with a reply the reviewer sees on the site.

## Good to know

- Claude Code reads `.mcp.json` when a session starts, so restart the session after editing the file by hand.
- With an `Authorization` header set, Claude Code sends it and doesn’t try to sign in with OAuth.
- Use a variable name like `ISHARA_TOKEN`: Claude Code deliberately reads some credential names, such as `ANTHROPIC_API_KEY`, as empty.

Checked against the official docs on 2026-11-12: [Claude Code: MCP](https://code.claude.com/docs/en/mcp), [Claude Code: MCP quickstart](https://code.claude.com/docs/en/mcp-quickstart).
