SocialSwarm for LangChain
io.github.rarrifund/socialswarm
Turn an article into several X/Twitter thread drafts, each with a different hook
client:LangChain
transport:streamable-http
tools:1
Install SocialSwarm in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"socialswarm": {
"transport": "streamable_http",
"url": "https://social-swarm.vercel.app/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs