Skip to content

Commit cc0907c

Browse files
authored
Add reauthentication instructions for MCP Client
Added instructions for forcing MCP Client reauthentication and managing OAuth sessions.
1 parent d307c4f commit cc0907c

File tree

1 file changed

+4
-0
lines changed
  • src/content/docs/cloudflare-one/applications/configure-apps/mcp-servers

1 file changed

+4
-0
lines changed

src/content/docs/cloudflare-one/applications/configure-apps/mcp-servers/mcp-portals.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ For MCP clients with server configuration files, we recommend the following conf
148148

149149
It is recommended that "mcp-remote@latest" is used. Using "serverURL" may cause issues with the portal session creation and management.
150150

151+
If you want to force your MCP Client to reauthenticate, most MCP clients will refresh a session after removing the existing MCP OAuth sessions. Recommended command:
152+
153+
`rm -rf ~/.mcp-auth`
154+
151155
## View portal logs
152156

153157
Portal logs allow you to monitor user activity through an MCP server portal. You can view logs on a per-portal or per-server basis.

0 commit comments

Comments
 (0)