socialclaw for LangChain
io.github.ndesv21/socialclaw
Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.
client:LangChain
transport:streamable-http
runtime:npm
tools:32
Install socialclaw in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"socialclaw": {
"transport": "streamable_http",
"url": "https://getsocialclaw.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
- list_accounts
- account_capabilities
- connect_account
- upload_asset
- validate_schedule
- preview_campaign
- apply_schedule
- publish_draft
- list_posts
- list_assets
- get_post
- post_attempts
- retry_post
- cancel_post
- run_status
- get_analytics
- refresh_analytics
- list_instagram_media
- get_instagram_comments
- reply_instagram_comment
- hide_instagram_comment
- delete_instagram_comment
- get_instagram_media_insights
- get_instagram_profile