# Connect an International Lynse Account

Connect the user's Lynse account so the AI assistant can search recordings, read meeting transcripts and summaries, review to-dos, and organize meetings. If the user has a Mainland China account, use `https://www.lynse.cn/install.md` instead.

> For agents: read this page as text (`curl` or your fetch tool) — never by opening it in a browser or using computer use. Run setup commands yourself when possible and explain them plainly. Never ask for passwords, verification codes, or API keys in chat, and never repeat a secret. If a step fails, explain what failed and stop rather than retrying in a loop.

## Remote MCP (Recommended)

- **URL:** `https://mcp.lynse.ai/mcp`
- **Transport:** Streamable HTTP with OAuth (reuse any existing connection to this URL)
- **Scopes:** Start with `lynse:read`. Only request `lynse:read` + `lynse:write` (reauthorizing if needed) when asked to enable edits or make a change.

### Setup Instructions

- **Already connected?** If Lynse tools (`get_auth_status`, `list_meetings`, etc.) are already available in this session, skip setup and verify immediately.
- **Codex:**

  ```sh
  codex mcp add lynse --url https://mcp.lynse.ai/mcp
  codex mcp login lynse --scopes lynse:read
  ```

  (Use `--scopes lynse:read,lynse:write` when write access is requested. If browser login blocks in the shell, give the user the command to run themselves.)

- **Claude Code:**

  ```sh
  claude mcp add --transport http --scope user lynse https://mcp.lynse.ai/mcp
  ```

  Then instruct the user to run `/mcp`, select `lynse`, and choose **Authenticate**.

- **Cursor / Muse / Grok Bot / Other UI clients:** Guide the user to add `https://mcp.lynse.ai/mcp` as a custom Remote HTTPS / Streamable HTTP MCP connector in settings and complete browser OAuth.

### Verification & Rules

1. Only the user can approve OAuth in their browser — never use browser automation for sign-in. If you cannot add MCP connectors directly, give exact steps and wait for the user to confirm. Let them know if they need to reload or start a new chat after authenticating.
2. Keep passwords, verification codes, and tokens out of chat.
3. Once connected, verify by calling `list_meetings` with `days: 7` (an empty list is valid).
4. Before applying any write change, explain what will change and follow the tool's confirmation step.
5. Reading authorized recordings, transcripts, summaries, to-dos, and device data through Lynse Agent is permanently free.
6. If setup is blocked, report which step failed and what the user can do next.

---

## Fallback: Lynse CLI / Skill (v1.8.12)

Use the Skill or standalone Python CLI only if your environment cannot use Remote MCP with OAuth:

1. Import the [International Skill ZIP](https://www.lynse.ai/skill/lynse-cli-skill-international-1.8.12.zip). For a client that loads skills from a directory, extract it into one `lynse-cli` folder in the client's supported Skill location (`SKILL.md` is at the top of the ZIP).
2. Authenticate using the bundled Python 3.11+ CLI:

   ```sh
   python3 lynse.py auth login --host https://api-en.lynse.ai
   ```

3. For a hosted Agent, set `LYNSE_API_KEY` and `LYNSE_API_HOST=https://api-en.lynse.ai` in credential settings.
4. Standalone CLI install:

   ```sh
   python3 -m pip install "https://www.lynse.ai/skill/lynse_cli-1.8.12-py3-none-any.whl"
   lynse auth login --host https://api-en.lynse.ai
   lynse auth status --json
   lynse me --json
   ```

[Lynse Skills & MCP](https://www.lynse.ai/skill/) · [MCP documentation](https://github.com/lynse-ai/lynse-mcp) · [CLI source](https://github.com/lynse-ai/lynse-cli/tree/v1.8.12)
