Access and manage files, folders and shared content stored in Google Drive. Upload, download, organize and search documents while working with permissions and collaborative file storage.
Kimi Code is Moonshot AI's command-line coding agent. It connects to remote MCP servers over HTTP, set up in one JSON file, and signs in with OAuth from the terminal.
This guide connects Google Drive to Kimi Code through MewCP, so Kimi Code can use Google Drive's 9 tools, like list_files, get_file_metadata and download_file, without your Google Drive credentials ever reaching the app.
Google Drive signs in through managed OAuth. MewCP stores the token encrypted, refreshes it before it expires and injects it only at call time. Your agent never holds it, so it can never leak it.
More apps
Search a connected Notion workspace and read any page, database or saved view. Create and update pages, create databases, and query data sources with SQL or structured filters. Also covers comments and discussions, moving and duplicating pages, file uploads, workspace users and teamspaces, and Notion Skills and Agents.
Create, edit, and manage Google Docs documents through AI agents. Read document content, insert and replace text, format paragraphs, headings and tables, manage document structure, and collaborate on Google Docs programmatically.
Create and manage Lucid diagrams with AI agents, including flowcharts, process maps, architecture diagrams, and visual documentation. Search existing Lucid content and update diagrams using natural language.
Connect AI agents to ClickUp to manage tasks, projects, documents, lists, comments, and workflows, while searching workspace data and automating project management activities.
Other clients
Google Drive works the same way in every client below. Pick yours for its own guide.
Free to start.
Scope access to the exact Google Drive tools and accounts you allow, work and personal side by side. Anything outside that scope is refused at call time, even when the model asks for it.
Each call is logged: what ran, on which account, and whether it worked. Failures come back structured, so the agent knows whether to retry instead of guessing.
Every app sits behind one secure MCP URL, and there is no server for you to deploy or keep running. Add an integration in the dashboard and it is live on the next call, with no config to change and no new credentials to wire up. Tools load only when a task needs them, so your agent stays fast and focused however many apps you connect.
Edit ~/.kimi-code/mcp.json. Create it if it doesn't exist. For one repository only, use .kimi-code/mcp.json in that project instead.
An entry with a url is an HTTP server.
Start a new Kimi Code session (servers added mid-session only join new ones), then run /mcp-config login mewcp and approve access in the browser.
Start a new chat and ask: "List the tools you can use from MewCP." You should see your connected apps. /mcp shows the connection status.
List files in Google Drive. Supports filtering by folder, name, and type.
Get metadata for a specific file by ID
Download a file from Google Drive to local disk
Upload a file to Google Drive
Create a new folder in Google Drive
Delete a file or folder from Google Drive
Search for files in Google Drive using advanced queries
Share a file with a user or make it publicly accessible
Get the content of a text file from Google Drive