Safe Docx for LangChain
io.github.usejunior/safe-docx
AI-native surgical editing of Word .docx and OpenDocument .odt files with formatting preservation
client:LangChain
transport:stdio
runtime:npm
Install Safe Docx in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"safe-docx": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@usejunior/safe-docx"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs