Add Mosyn to OpenCode
Steps
- Add the Mosyn entry to your OpenCode config.
- Sign in with `opencode mcp auth mosyn`, or let OpenCode ask on first use.
Commands
opencode mcp auth mosynopencode mcp listOr add it to the config file
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"mosyn": {
"type": "remote",
"url": "https://mosyn.lycatra.com/mcp",
"enabled": true
}
}
}Sign in and approve
- On your computerSign in`opencode mcp auth mosyn` opens Mosyn's approval page in the browser.
- On your phoneApprove on your phoneMosyn's approval page shows a QR code. Scan it with your phone, or in Mosyn open Settings → Connect an assistant → Have a code? and type the code shown.
Check that it worked
`opencode mcp list` shows mosyn as authenticated.
If something goes wrong
| What you see | What to do |
|---|---|
| Sign-in or discovery fails. | `opencode mcp debug mosyn` tests the connection and the sign-in discovery. |
| Stale sign-in. | `opencode mcp logout mosyn`, then `opencode mcp auth mosyn`. |