Skip to content
Mosyn

Add Mosyn to Gemini CLI

Steps

  1. Add Mosyn for your user (the default scope is the current project).
  2. Start `gemini`; the first Mosyn call opens the sign-in, or run `/mcp auth mosyn`.

Commands

Add Mosyn
gemini mcp add --transport http --scope user mosyn https://mosyn.lycatra.com/mcp
Check it
gemini mcp list
Or add it to the config file
~/.gemini/settings.json
{
  "mcpServers": {
    "mosyn": {
      "httpUrl": "https://mosyn.lycatra.com/mcp"
    }
  }
}

Sign in and approve

  1. On your computerSign inGemini CLI discovers Mosyn's sign-in, registers itself and opens the approval page in your browser. `/mcp auth mosyn` starts it again.
  2. 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

`/mcp` shows mosyn as CONNECTED with its tools.

If something goes wrong

What you seeWhat to do
Sign-in fails over SSH.Gemini CLI needs a local browser for the callback. Sign in on your own computer.
The config uses `url` and connects over SSE.`url` means SSE. Use `httpUrl` for Mosyn.
Mosyn keeps asking to sign in.Run `/mcp auth mosyn`, and check that ~/.gemini/mcp-oauth-tokens.json is writable.

[email protected]

Add Mosyn to Gemini CLI | Mosyn