mcp instagram dm for LangChain
io.github.kynuxdev/mcp-instagram-dm
Read, send, search & manage Instagram DMs through AI assistants. 15 tools, cookie auth.
client:LangChain
transport:stdio
runtime:npm
Install mcp instagram dm in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mcp-instagram-dm": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "mcp-instagram-dm"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs