<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Azhar Ali</title>
    <description>The latest articles on DEV Community by Azhar Ali (@softglaze).</description>
    <link>https://dev.to/softglaze</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4248834%2F5ea97c10-b1d0-41d0-90e0-67cd3736b57b.jpg</url>
      <title>DEV Community: Azhar Ali</title>
      <link>https://dev.to/softglaze</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/softglaze"/>
    <language>en</language>
    <item>
      <title>How to connect Claude Code to an antidetect browser, step by step</title>
      <dc:creator>Azhar Ali</dc:creator>
      <pubDate>Tue, 17 Nov 2026 04:36:00 +0000</pubDate>
      <link>https://dev.to/softglaze/how-to-connect-claude-code-to-an-antidetect-browser-step-by-step-3i9j</link>
      <guid>https://dev.to/softglaze/how-to-connect-claude-code-to-an-antidetect-browser-step-by-step-3i9j</guid>
      <description>&lt;p&gt;I build SoftGlaze Browser. This is the step-by-step guide I wrote for connecting Claude Code to it. The original, kept up to date, is on our docs: &lt;a href="https://browser.softglaze.com/docs/claude-code" rel="noopener noreferrer"&gt;https://browser.softglaze.com/docs/claude-code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;SoftGlaze Browser is a multi-profile (antidetect) browser for Windows with an&lt;br&gt;
MCP server built in, called SoftGlaze AI (Beta). Claude Code connects to it like&lt;br&gt;
any other MCP server. It then gets 40 tools to list and start&lt;br&gt;
browser profiles, check proxies, run macros and work inside the pages of a&lt;br&gt;
running profile, each profile with its own proxy and fingerprint. Anything that&lt;br&gt;
changes something waits for your approval inside SoftGlaze.&lt;/p&gt;

&lt;p&gt;This page is the Claude Code route from start to finish, in about five minutes.&lt;br&gt;
For every other AI app, see &lt;a href="https://browser.softglaze.com/docs/ai-agents" rel="noopener noreferrer"&gt;Connect your AI app&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  What you need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;SoftGlaze Browser 1.0.22 or later on Windows 10 or 11, with your workspace
open. The 7-day trial is enough.&lt;/li&gt;
&lt;li&gt;Claude Code, on the same computer as SoftGlaze. The server answers only at
&lt;code&gt;127.0.0.1&lt;/code&gt;, so Claude Code on another computer can't reach it.&lt;/li&gt;
&lt;li&gt;For the plugin route only: Node.js 18 or newer (&lt;code&gt;node --version&lt;/code&gt; shows yours).
The one-command route needs no Node.js.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Step 1: turn on SoftGlaze AI
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;In SoftGlaze, open &lt;strong&gt;SoftGlaze AI&lt;/strong&gt; in the sidebar.&lt;/li&gt;
&lt;li&gt;Switch on &lt;strong&gt;AI server&lt;/strong&gt;. The Owner or an Admin can do this. It is off until
someone does.&lt;/li&gt;
&lt;li&gt;The status shows &lt;strong&gt;Running&lt;/strong&gt;. The address is
&lt;code&gt;http://127.0.0.1:8080/mcp&lt;/code&gt; unless the port was changed on the
&lt;strong&gt;Settings&lt;/strong&gt; tab.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If the status says "Not running", another program holds the port. See&lt;br&gt;
the port is in use below.&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 2: create a token for Claude Code
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;Tokens&lt;/strong&gt; tab and create a token. Name it &lt;code&gt;Claude Code&lt;/code&gt;, so the
Activity tab and the approval requests say which app asked.&lt;/li&gt;
&lt;li&gt;Pick the team member it acts as. The token can do only what that member may
do, on that member's profiles.&lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;What it may do&lt;/strong&gt;, start with &lt;strong&gt;Read only&lt;/strong&gt;. Move to &lt;strong&gt;Operate&lt;/strong&gt; once
you want Claude Code to start profiles, run macros or work inside pages.&lt;/li&gt;
&lt;li&gt;Pick an expiry (7, 30 or 90 days, or never) and create it.&lt;/li&gt;
&lt;li&gt;Copy the token now. It starts with &lt;code&gt;sgai_&lt;/code&gt;, has
40 more characters, and SoftGlaze shows it only once.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  Step 3: add SoftGlaze to Claude Code
&lt;/h2&gt;

&lt;p&gt;Use one of the two ways below, not both, or Claude Code gets two sets of the&lt;br&gt;
same tools.&lt;/p&gt;
&lt;h3&gt;
  
  
  The one-command way
&lt;/h3&gt;

&lt;p&gt;Run this in a terminal, with your token in place of &lt;code&gt;&amp;lt;YOUR_TOKEN&amp;gt;&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http softglaze http://127.0.0.1:8080/mcp --header &lt;span class="s2"&gt;"Authorization: Bearer &amp;lt;YOUR_TOKEN&amp;gt;"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Add &lt;code&gt;--scope user&lt;/code&gt; to use SoftGlaze in every project, not just the current&lt;br&gt;
folder. The Connect tab on the SoftGlaze AI page shows the same command with&lt;br&gt;
your port filled in.&lt;/p&gt;
&lt;h3&gt;
  
  
  The plugin way
&lt;/h3&gt;

&lt;p&gt;Run these inside Claude Code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/plugin marketplace add softglazee/softglaze-claude-plugin
/plugin install softglaze-browser@softglaze
/plugin install softglaze-browser-connector@softglaze
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;softglaze-browser&lt;/code&gt; adds skills only: it teaches Claude how to use the tools and&lt;br&gt;
adds the 12 SoftGlaze workflows, such as&lt;br&gt;
&lt;code&gt;/softglaze-browser:daily-health-check&lt;/code&gt;. &lt;code&gt;softglaze-browser-connector&lt;/code&gt; adds the&lt;br&gt;
tools, and asks for your token and port while it installs. Details are in&lt;br&gt;
&lt;a href="https://browser.softglaze.com/docs/ai-install-apps#claude-code" rel="noopener noreferrer"&gt;Install in Claude Code&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 4: check the connection
&lt;/h2&gt;

&lt;p&gt;Type &lt;code&gt;/mcp&lt;/code&gt; in Claude Code. SoftGlaze should show as connected:&lt;br&gt;
&lt;code&gt;softglaze&lt;/code&gt; with the command, or&lt;br&gt;
&lt;code&gt;plugin:softglaze-browser-connector:softglaze&lt;/code&gt; with the plugins. Then ask:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Read the SoftGlaze workspace summary and list my profiles with their proxies.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Reading doesn't ask for approval by default, so the answer comes straight back.&lt;br&gt;
The SoftGlaze AI page now lists Claude Code under &lt;strong&gt;Connected apps&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 5: your first approved task
&lt;/h2&gt;

&lt;p&gt;With an &lt;strong&gt;Operate&lt;/strong&gt; token, ask for something that changes something:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Start the profile Store-DE-01, open https://example.com in it and tell me the page title.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;SoftGlaze shows a request, on whatever page of the app you are on. Its shape (the&lt;br&gt;
profile is named by its number):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Claude Code is asking for permission
Claude Code wants to: Start profile #42
[ Deny ]   [ Allow for 1 hour ]   [ Allow once ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Allow once&lt;/strong&gt; lets this one call run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Allow for 1 hour&lt;/strong&gt; lets the same kind of action from this token run for an
hour without asking. For page actions it covers this one profile.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deny&lt;/strong&gt;, or no answer within 2 minutes, refuses it, and
Claude Code is told so.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You choose how often SoftGlaze asks, per kind of tool, on the &lt;strong&gt;Settings&lt;/strong&gt; tab&lt;br&gt;
under "When SoftGlaze asks you". Changes always ask at least once an hour; read-only&lt;br&gt;
tools don't ask unless you want them to. The full rules are on&lt;br&gt;
&lt;a href="https://browser.softglaze.com/features/ai-approvals" rel="noopener noreferrer"&gt;AI approvals&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;To stop everything at once, press &lt;strong&gt;Stop all AI&lt;/strong&gt; at the top of the SoftGlaze AI&lt;br&gt;
page.&lt;/p&gt;
&lt;h2&gt;
  
  
  Cursor and Claude Desktop
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Cursor
&lt;/h3&gt;

&lt;p&gt;Open &lt;code&gt;~/.cursor/mcp.json&lt;/code&gt; (or &lt;code&gt;.cursor/mcp.json&lt;/code&gt; in one project) and add the&lt;br&gt;
setup from the Connect tab, with your token in place of &lt;code&gt;&amp;lt;YOUR_TOKEN&amp;gt;&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"softglaze"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"http://127.0.0.1:8080/mcp"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"headers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"Authorization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Bearer &amp;lt;YOUR_TOKEN&amp;gt;"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To keep the token out of the file, use &lt;code&gt;"Bearer ${env:SOFTGLAZE_TOKEN}"&lt;/code&gt;. The&lt;br&gt;
full steps are in &lt;a href="https://browser.softglaze.com/docs/ai-agents#cursor" rel="noopener noreferrer"&gt;Cursor&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Claude Desktop and Cowork
&lt;/h3&gt;

&lt;p&gt;Install the &lt;a href="https://browser.softglaze.com/downloads/softglaze-browser.mcpb" rel="noopener noreferrer"&gt;SoftGlaze extension for Claude Desktop&lt;/a&gt;&lt;br&gt;
(&lt;code&gt;softglaze-browser.mcpb&lt;/code&gt;) and paste your token when Claude Desktop asks. The&lt;br&gt;
full steps are in &lt;a href="https://browser.softglaze.com/docs/ai-install-apps#claude-desktop" rel="noopener noreferrer"&gt;Install in Claude Desktop&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Troubleshooting
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Claude Code doesn't list SoftGlaze
&lt;/h3&gt;

&lt;p&gt;SoftGlaze is closed, the AI server is switched off, or the port in the command is&lt;br&gt;
not the one on the Settings tab. Open SoftGlaze, switch on &lt;strong&gt;AI server&lt;/strong&gt;, then&lt;br&gt;
start a new Claude Code session.&lt;/p&gt;

&lt;h3&gt;
  
  
  The port is in use
&lt;/h3&gt;

&lt;p&gt;"Port 8080 is already in use by another program." Close that&lt;br&gt;
program, or let the Owner pick another port on the Settings tab, then add&lt;br&gt;
SoftGlaze to Claude Code again with the new port.&lt;/p&gt;

&lt;h3&gt;
  
  
  401
&lt;/h3&gt;

&lt;p&gt;The token is missing, was not pasted whole, or was revoked or has expired. Tokens&lt;br&gt;
can't be shown again: create a new one and add SoftGlaze again.&lt;/p&gt;

&lt;h3&gt;
  
  
  403
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;This token has the read scope:&lt;/strong&gt; the tool needs Operate. Create an Operate
token.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;This token is a Developer API token:&lt;/strong&gt; keys that start &lt;code&gt;sg_&lt;/code&gt;
don't work on &lt;code&gt;/mcp&lt;/code&gt;. Create a SoftGlaze AI token.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outside the groups this token may use:&lt;/strong&gt; the token is limited to some
groups.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  503
&lt;/h3&gt;

&lt;p&gt;SoftGlaze AI is switched off. Switch &lt;strong&gt;AI server&lt;/strong&gt; on again. Stop all AI switches&lt;br&gt;
it off on purpose.&lt;/p&gt;

&lt;h3&gt;
  
  
  Claude Code says it is waiting for approval
&lt;/h3&gt;

&lt;p&gt;Answer the request in SoftGlaze. If Claude Code gave up waiting before you&lt;br&gt;
answered, your answer is kept, and asking Claude Code to try the same thing again&lt;br&gt;
goes through.&lt;/p&gt;

&lt;h3&gt;
  
  
  Two sets of SoftGlaze tools
&lt;/h3&gt;

&lt;p&gt;You added SoftGlaze both ways, the connector plugin and a &lt;code&gt;claude mcp add&lt;/code&gt; entry.&lt;br&gt;
Remove one: &lt;code&gt;claude mcp remove softglaze&lt;/code&gt;, or uninstall the connector plugin with&lt;br&gt;
&lt;code&gt;/plugin&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;More answers: &lt;a href="https://browser.softglaze.com/docs/ai-agents#troubleshooting" rel="noopener noreferrer"&gt;SoftGlaze AI troubleshooting&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>claude</category>
      <category>mcp</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
