Skip to content
LangChain

Google Drive MCP for LangChain

io.github.a1-x-tech/mcp-google-drive

MCP server for the Google Drive API: search, upload, download, organize and share files.

client:LangChain transport:stdio runtime:npm

Install Google Drive MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp-google-drive": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@a1-x-tech/mcp-google-drive"],
        }
})

tools = await client.get_tools()

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

Google Drive MCP in other clients