MCP servers · Google Drive · MCP server
Connect Codex CLI to Google Drive
One line gives Codex CLI your Google Drive account as tools: 10 endpoints, files, permissions, search files, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect Google Drive. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "List files in Google Drive".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in Google Drive
Files · Upload, download, and manage files10
List files
GET /filesGet a file
GET /files/{fileId}Create a file
POST /filesCopy a file
POST /files/{fileId}/copyUpdate a file
PATCH /files/{fileId}Delete a file
DELETE /files/{fileId}Create a permission
POST /files/{fileId}/permissionsList permissions
GET /files/{fileId}/permissionsDelete a permission
DELETE /files/{fileId}/permissions/{permissionId}Generate ids
GET /files/generateIdsPermissions · Share files and manage access0
Share files and manage access
Search files · Search across Drive0
Search across Drive
Google Drive in other AI clients
Claude Code + Google DriveMCP server + skillClaude (desktop & claude.ai) + Google DriveconnectorChatGPT + Google Driveconnector · GPT actionGemini CLI + Google DriveMCP serverCursor + Google DriveMCP serverVS Code (Copilot) + Google DriveMCP serverWindsurf + Google DriveMCP server
