Skip to content
LangChain

weakspot for LangChain

dev.weakspot/weakspot

Audit Solidity and Rust smart contracts from your editor. Pays per audit in USDC over x402.

client:LangChain transport:stdio runtime:npm

Install weakspot in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "weakspot": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "weakspot-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

weakspot in other clients