2extract for LangChain
com.2extract/mcp
Create and manage residential and mobile proxies: geo targeting, usage limits, spend reports.
client:LangChain
transport:streamable-http
tools:20
Install 2extract in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mcp": {
"transport": "streamable_http",
"url": "https://mcp.2extract.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- buildConnectionString
- createProxyResource
- deactivateProxyResource
- deleteProxyResource
- getAccountBalance
- getAccountTrafficUsage
- getProxyResource
- listAccountBalanceHistory
- listGeoCountries
- listProxyPlans
- listProxyResources
- regenerateProxyPassword
- searchGeoCities
- searchGeoISP
- searchGeoRegions
- searchGeoZips
- setProxyIpWhitelist
- setProxyLimits
- setProxyTargetHosts
- updateProxyResource