SFTP for LangChain
io.github.adverstm/sftp-mcp
SFTP-only file access for AI: browse, edit, transfer and sync files, no shell access needed.
client:LangChain
transport:stdio
runtime:npm
Install SFTP in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"sftp-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "sftp-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs