IsharaBeta
Agent guides (16)

Connect OpenCode to Ishara

Connect OpenCode to Ishara’s MCP server as a remote server with OAuth switched off and your token in a header.

Server
https://useishara.com/mcp
Where it goes
opencode.json in your project, or ~/.config/opencode/opencode.json
Transport
Streamable HTTP, built in
Authentication
A bearer token in the Authorization header
Time
About 2 minutes

Steps

  1. In Ishara, open Agents, name a token under New token (for example “OpenCode on my laptop”) and click Create token. Copy it now: it won’t be shown again.

  2. Add Ishara to OpenCode, with your token in place of ishara_…:

    opencode.json
    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "servers": {
          "ishara": {
            "type": "remote",
            "url": "https://useishara.com/mcp",
            "oauth": false,
            "headers": { "Authorization": "{env:ISHARA_AUTH}" }
          }
        }
      }
    }

    Set ISHARA_AUTH to Bearer followed by a space and your token.

  3. Run opencode mcp list (or type /mcps in OpenCode): Ishara shows as connected.

  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

  • Keep "oauth": false: OpenCode tries OAuth for remote servers unless told not to.
  • Servers sit under mcp.servers; older examples without servers are out of date.
  • Environment variables are written {env:NAME}, without a dollar sign.

What your agent can do

ToolWhat it does
list_sitesThe sites (embeds) in this account, with how many notes are open on each and what agents may see there.
list_notesNotes reviewers left on the live sites, newest first. Default: open notes (new and in progress) on every site. Each has an id for get_note and update_note, and a short ref like "N-12".
get_noteOne note in full: the page, the section heading, the CSS selector, the text before and after, the reviewer's words and its history.
get_note_photoThe photo a reviewer attached (the replacement image, or one that shows the problem), as an image. With which: "screenshot", the screenshot of the page as the reviewer saw it, any element they picked ringed in gold (get_note says whether a note has one).
update_noteSet a note's status and/or reply. The reviewer sees both in the widget on their site. Use "doing" while working, "done" once the change is committed or deployed, "wontdo" with a reason when it will not be applied. Write the reply in the reviewer's language.
export_notesEvery open note, grouped by page, as one Markdown document (a checklist to work through).

Reviewers are people outside your team, so their words reach the agent marked as untrusted data, never as instructions. On sites where anyone can leave a note, set the site to Accepted notes only: agents see a note only after a person moves it to In progress.