tx01 to tx20.
🤖 One request replaces 20 rounds of copying proxy details into AdsPower. For each profile the agent checks the IP, then creates the profile. Claude Code asks before each tool call unless the tool is allowed in its permissions.
Prerequisites
- Claude Code 2.1 or later. Any MCP client that supports remote servers with sign-in works the same way. The commands below are for Claude Code.
- Node.js 18 or later, required by the AdsPower MCP server.
- AdsPower installed, signed in, and open on the same computer, on a paid plan. The AdsPower Local API is not available on the free plan.
- An AdsPower API key and the Local API port, both shown in the API settings of the AdsPower app.
- A ProxyLane account with purchased traffic. IP reputation checks work only after a traffic purchase, and each check uses a small amount of traffic.
local-api-mcp-typescript 2.0.8.
Connect both servers
1
Add the ProxyLane server
Run in a terminal:
--scope user makes the server available in every folder. Start Claude Code with claude, run /mcp, and choose proxylane. A ProxyLane sign-in window opens in the browser. Sign in and click Allow access. No API key or password goes into the chat.2
Add the AdsPower server
Run in a terminal, with the API key in place of
<ADSPOWER_API_KEY>:50325 is the default AdsPower Local API port. If the API settings in AdsPower show a different port, use that number.3
Check both connections
Exit Claude Code with The agent calls
/exit, run claude again, and send:get_account on ProxyLane and get-group-list on AdsPower. The answer shows the residential traffic balance and any AdsPower groups. Group ID 0 is the ungrouped group and works in create-browser even when the list does not show it.Send the request
Copy the request, change the city, count, or name prefix if needed, and send it to the agent:
Tools that start with
residential_ belong to the ProxyLane server.
If an exit IP scores above 25, residential_check_connection tries a new session in the same city, up to 3 times. The returned session_id then differs from the original, and the profile gets the replacement session.
Check the result
- In AdsPower, open the profile list. Profiles
tx01totx20appear in the ungrouped group, minus any profile the agent reported as skipped. - Open one profile and visit My IP. The IP and city match the row for that profile in the agent’s table.
- Compare the time zone on My IP with the profile settings. AdsPower sets the time zone from the proxy IP by default.
Use Native ISP for fixed IPs
A residential sticky session keeps its IP while the home device behind it stays online. For accounts that need the same IP for months, use Native ISP static IPs instead. ProxyLane rents each IP for 30, 60, or 90 days from the USD balance of the account.isp_list_products and isp_quote_order. These tools appear only while Native ISP sales are open. If the balance is short, the quote includes a top-up link for the missing amount. Place the order on the Native ISP page. After the IPs are issued, ask the agent to call isp_list_orders with format adspower and to create one profile per IP.
Troubleshoot
- The agent says the ProxyLane account has no traffic. It calls
residential_top_upand returns a checkout link. Pay on that page, then send the request again. - A check returns
threshold_not_met. No session in that city met the score after 3 attempts. The same session names return the same IPs while those sessions last, so ask the agent to check the skipped profiles with a new session prefix, for exampletxb, or withmax_attempts5. A broader location, such as the whole state, also helps. - AdsPower returns “Not found”. Update the AdsPower app to its current patch version, as the AdsPower MCP server README advises.
- AdsPower calls fail with a connection or key error. Check that the AdsPower app is open and that the port and API key in the
claude mcp addcommand match the API settings in AdsPower. To change them, runclaude mcp remove adspower-local-api --scope userand add the server again. - AdsPower refuses new profiles. The AdsPower plan has a profile limit. Check the limit in the AdsPower app or create fewer profiles.
- A check fails with a daily limit message. Each account has 200 IP reputation checks per day, and
get_accountshows how many are left. Retries count as separate checks. /mcpdoes not listproxylaneoradspower-local-api. The server was added without--scope userin another folder. Run theclaude mcp addcommand again with--scope user.- The ProxyLane sign-in window does not open. Run
/mcpin Claude Code, chooseproxylane, and select the authenticate option.
