Google Drive Forge
Transform your AI agent from a simple file explorer into an Autonomous Power-User. This isn't just a Google Drive connector; it's a cognitive layer for your cloud storage.
💎 The "Intelligent" Edge
Most MCP servers just list files. This one reasons about them.
| Feature | Description | Benefit |
|---|---|---|
| 🔨 The Forge | On-the-fly Python "Skill" creation and execution. | Solve complex tasks like "Archive all PDFs older than 30 days". |
| 🩹 Path Healing | Fuzzy, human-like path resolution (e.g., /Work/Drafts). |
No more hunting for obscure File IDs. |
| 🧠 Auto-Recovery | Intercepts 404s and suggests correct paths/files. | Agent remains autonomous even when it makes mistakes. |
| 🔍 Smart Read | Auto-detection of MIME types and content conversion. | Seamless interaction with Sheets, Docs, and PDFs. |
| 📜 Audit Log | Transparent tracking of all autonomous decisions. | Complete visibility into what your agent is doing. |
🛠 Features Breakdown
📂 Standard Operations
- Discovery:
list_files,search_files,list_folder. - Management:
create_folder,upload_file,trash_file. - Metadata: Deep metadata inspection for any file object.
⚡ The Forge (Agent Skills)
Empower your agent to expand its own capabilities. Using the Agent Skills standard, the agent can:
create_skill: Write Python logic to perform multi-step Drive operations.list_skills: Browse its library of forged capabilities.run_skill: Execute its custom logic with full API access.
🧭 Autonomous Navigation
resolve_path: Converts/Project/2026/Budget.xlsxinto a working ID, healing broken paths automatically.smart_read: A high-level tool that handles resolution, downloading, and decoding in one step.
� Getting Started
1. Requirements
- Python 3.10 or higher.
- A Google Cloud Project with the Drive API enabled.
2. Deep Dive Into Setup
For a step-by-step walkthrough on generating your credentials.json and token.json, please refer to our:
👉 Comprehensive Setup Guide
3. Quick Configuration
Add this to your MCP host configuration (e.g., Antigravity):
"google-drive": {
"command": "python",
"args": ["/path/to/server.py"],
"env": {
"GOOGLE_DRIVE_CREDENTIALS": "/path/to/credentials.json",
"GOOGLE_DRIVE_HEADLESS_AUTH": "false",
"GOOGLE_DRIVE_PYTHON_PATH": "/usr/bin/python3"
}
}
⚙️ Environment Variables
| Variable | Description | Default |
|---|---|---|
GOOGLE_DRIVE_CREDENTIALS |
Path to your credentials.json. |
./credentials.json |
GOOGLE_DRIVE_HEADLESS_AUTH |
Set to true for console-based OAuth on servers. |
false |
GOOGLE_DRIVE_PYTHON_PATH |
Path to a specific Python executable or venv. | sys.executable |
GOOGLE_DRIVE_SKILLS_DIR |
Where to store forged AI Skills. | ./skills |
🛡️ Security Implications
Please Read Carefully: This MCP server implements The Forge, which allows AI agents to write and execute arbitrary Python code on your machine.
- Local Use Only: This tool is designed for local power-users.
- Sandbox: It does not currently implement a sandbox for executed scripts. Only use it with agents you trust to handle your local filesystem.
Contributing & Extension
We believe in open autonomy. If you have ideas for new core skills or improvements to the path-healing engine:
- Check the Contributing Guide.
- Explore the
skills/directory for examples of forged logic. - Submit a PR!
⚖️ License
Distributed under the MIT License. See LICENSE for more information.
Built with ❤️ for the next generation of AI Agents.
Metadata
Release files for google-drive-forge 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| google_drive_forge-0.2.0.tar.gz | 402.1 kB | Without provenance | Details for google_drive_forge-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| google_drive_forge-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for google_drive_forge-0.2.0-py3-none-any.whl |
Total release size: 419.8 kB
Release files / google_drive_forge-0.2.0.tar.gz
| Download URL | google_drive_forge-0.2.0.tar.gz |
|---|---|
| Size | 402.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
722c01b95e625334098b291e0f84b3cfe4d18807e4821c005549806e6c7b367b
|
|
BLAKE2b-256 checksum How to use checksums |
8895b89af85feb46a1af15690455ac83f6429cb431e4843fcc6ce53a27920035
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.10
|
Release files / google_drive_forge-0.2.0-py3-none-any.whl
| Download URL | google_drive_forge-0.2.0-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7dd89c30c352fa01dc1eba7daaf7f989bd7dd30ae6a5982992b2c3aed10624b
|
|
BLAKE2b-256 checksum How to use checksums |
fb2c6df7f194d8d492b60c87c750d8549f86de26d0580478f85f45b1cb9ec328
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.10
|
Security for google-drive-forge 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.