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.jsonin your project, or~/.config/opencode/opencode.json- Transport
- Streamable HTTP, built in
- Authentication
- A bearer token in the
Authorizationheader - Time
- About 2 minutes
Steps
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.
Add Ishara to OpenCode, with your token in place of
ishara_…:{ "$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_AUTHtoBearerfollowed by a space and your token.Run
opencode mcp list(or type/mcpsin OpenCode): Ishara shows as connected.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 withoutserversare out of date. - Environment variables are written
{env:NAME}, without a dollar sign.
What your agent can do
| Tool | What it does |
|---|---|
list_sites | The sites (embeds) in this account, with how many notes are open on each and what agents may see there. |
list_notes | Notes 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_note | One 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_photo | The 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_note | Set 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_notes | Every 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.