Skip to content
Changelog

OAuth

OAuth is the easiest way to connect an agent that runs on your computer and can open a browser: Claude, ChatGPT, Codex, Cursor and most desktop MCP clients.

  1. Add https://mcp.usenysa.com/mcp to your agent. The install guides have the exact steps for each agent.
  2. Your agent opens a Nysa sign-in page in your browser.
  3. Sign in with the Google account you use for Nysa.
  4. Start a new conversation. Your agent now acts as you.

You need a Nysa account in a Company workspace.

An agent signed in with OAuth has the same access you have in the web app: it reads everything you can read and can write when you ask. To give an agent less access than you have, use an API key instead.

  • Nysa checks your membership on every call. If you leave the workspace, the next request is refused and your agent asks you to reconnect.
  • If your agent says “Your Nysa connection needs to be refreshed”, remove Nysa from the agent, add it again, and sign in.
OAuth API key
Best for Agents on your computer Agents on a server, scripts, no browser
Setup Sign in once in the browser Create a key, store it as NYSA_API_KEY
Access Everything you can do Read only or read and write, limited to chosen scopes and projects if you want
Expires Stays signed in until you disconnect or leave After 30 days, 90 days or 1 year