runelay+Google DriveIntegration · OAuth login
Google Drive on Runelay, an open source MCP gateway
Your agents save files to Google Drive without seeing the rest of it. The drive.file scope limits them to files Runelay created or that you opened with it.
Built into Runelay
Runelay calls the Google Drive API itself with your Google token, with no third-party MCP server in between. account_whoami shows which Google account is connected.
Tools
- Upload.
create_fileuploads a text file, plain text by default or any text MIME type, and returns its id and link. - List.
list_fileslists files page by page, with an optional Drive search query. - Limited by design. With
drive.file, the agent only sees files this app created or that you opened with it, not your whole Drive.
Try asking
- “Save this changelog as release-notes.md in my Drive.”
- “List the files you created in my Drive this week.”
- “Upload the CSV you just generated and give me the link.”
How it signs in
- Google OAuth through the Runelay broker. No Google Cloud project of your own; Runelay renews the token.
- Scopes:
drive.file, plusopenid,userinfo.emailanduserinfo.profile.
What this connection does
Agents find these tools with search_tools and run them with call_tool, so they only enter the context when a task needs them.
Connect Google Drive
Open the connectors in the panel
Pick Google Drive from the catalog.
Log in once
A browser tab opens on Google Drive. Approve the access and close it.
Done
The token is stored encrypted on your server and refreshed by Runelay. Every agent with a Runelay key can use the connection.
Use Google Drive in your agents
Agents do not need a Google Drive entry of their own. Point each one at Runelay and Google Drive is there.
Questions
Can the agent see my whole Drive?
No. drive.file only covers files this app created or that you opened with it.
Can it upload images or PDFs?
create_file takes the content as text, so it fits text formats such as markdown, CSV or JSON.
Can it search?
list_files accepts a Drive search query, still limited to the files it can see.