fileport for LangChain
io.github.cloudcorprecords/fileport
Sandboxed file access: read, write, edit and search in allowed dirs.
client:LangChain
transport:stdio
runtime:npm
Install fileport in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"fileport": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@reneturcios/fileport"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs