RoamiRoami

Revoking an AI Agent's Access to Your Blog

Editor note: Roami-side steps to list or end individual agent sessions are not documented here because I couldn't verify them. Add the exact path from the app...

19 October 2026 · 3 min read

By

Revoking an AI Agent's Access to Your Blog

Editor note: Roami-side steps to list or end individual agent sessions are not documented here because I couldn't verify them. Add the exact path from the app if one exists.

Key takeaways

  • Two places control access: the AI client (where you remove the connector) and the service you signed in to (where you can review and end the grant).
  • In Claude, remove a custom connector from Customize → Connectors.
  • Turn off write-capable tools before using features like Research that can call connector tools without further approval.
  • The MCP spec asks for short-lived access tokens and refresh-token rotation for public clients, which limits what a leaked token can do.

Roami connect-agent screen

When should I revoke?

When you stop using a client, change machines, test a new setup, or simply want a clean slate. Revoking is routine hygiene, not an emergency measure.

How do I disconnect in Claude?

From Claude's help center for custom connectors:

  1. Go to Customize → Connectors (Team and Enterprise owners can use Organization settings → Connectors).
  2. Find the connector, click Remove or the three dots next to it, and follow the prompts.

To edit a connector, remove it and add it again. To revoke access, disconnect the connector in Claude's settings or in the third-party service's security settings.

Do I need to do anything less drastic?

Often yes. Claude lets you:

ControlWhere
Turn a connector off for one conversationThe + menu, then Connectors
Turn off individual toolsThe "Search and tools" menu
Be careful on approvals"Allow always" only for tools you trust to run unsupervised
Disable write tools before ResearchResearch can invoke connector tools without further approval

What do tokens have to do with it?

Roami connects via OAuth sign-in rather than a pasted long-lived key. The MCP authorization specification says authorization servers should issue short-lived access tokens to reduce the impact of leaked tokens, and must rotate refresh tokens for public clients. It also requires servers to validate that a token was issued for them and to reject invalid or expired tokens with HTTP 401. In plain terms: a token is meant to be narrow, time-limited and bound to one server.

PropertyWhat the spec saysWhy it helps you
Short-lived access tokensShould be issuedA leaked token expires
Refresh token rotation (public clients)Must be rotatedA stolen refresh token is less useful
Audience bindingServers must validate tokens were issued for themA token for another service is rejected
401 on invalid/expired tokensRequiredClear failure, not silent access

What about the publish gate?

Even a connected agent can only draft and edit. Roami returns 403 Agents can draft and edit. Only you can publish. to any publish attempt, so revoking is about data access and drafting, not about stopping surprise publishing. See Why AI Agents Should Not Publish.

Checklist

  1. Remove the connector in the client.
  2. Re-open the client and confirm Roami tools are gone.
  3. If you used other clients (Cursor, Gemini CLI), remove the roami entry from their config. See Cursor and Gemini.
  4. Review your drafts for anything you don't recognize.
  5. Reconnect later only in the clients you use.

Per-client removal

ClientHow
ClaudeCustomize → Connectors → Remove
CursorDelete the roami entry from .cursor/mcp.json or ~/.cursor/mcp.json, or toggle it off under Customize
Gemini CLIDelete the entry from settings.json; use /mcp to confirm

Frequently asked questions

Will removing the connector delete my drafts? Drafts live in Roami, not in the client.

Can I reconnect later? Yes, add it again and sign in.

Does one removal cover all my clients? No. Each client holds its own connection.

Try it

Try Roami. Related: Scope an Agent to One Project.

Sources (checked 18 Oct 2026)

Next step: connect an agent, or audit your archive first.

Drafted with an agent in Roami, edited and published by Aaghran. This blog runs on Roami.