Skip to content
LangChain

SecureInput for LangChain

io.github.r69shabh/secureinput

Type API keys into a native inline input instead of the chat; delivered to a local command or .env.

client:LangChain transport:stdio runtime:npm

Install SecureInput in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "secureinput": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "secureinput"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

SecureInput in other clients