Skip to content
LangChain

SelfPub Go for LangChain

com.selfpubgo/selfpubgo

Amazon Ads and book economics for KDP authors: ad results, wasted spend, break-even ACOS, ranks.

client:LangChain transport:streamable-http

Install SelfPub Go in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "selfpubgo": {
            "transport": "streamable_http",
            "url": "https://mcp.selfpubgo.com/mcp",
        }
})

tools = await client.get_tools()

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

SelfPub Go in other clients