Files
T
haopengzhan 8c0b04db0e feat: initial release of pengzhan.dev personal editorial blog platform
- Editorial web platform built with Node.js, Express, EJS, and Vanilla CSS
- Markdown content engine with YAML frontmatter, bilingual variants, and hot-reload watcher
- Unified SQLite with FTS5 search indexing, query logging, and schema filters
- Centered editorial post layout with margin-docked left TOC and mobile bottom sheet
- WordPress-grade comment system with moderation dashboard and bulk operations under /guanli
- Complete SEO suite (JSON-LD structured data, RSS/Atom feeds, XML sitemap, robots.txt)
- CI/CD workflows for linting, security audits (Gitleaks), automated tests, and Docker releases
2026-09-16 23:08:53 -07:00

1.8 KiB

title, date, author, category, tags, excerpt, cover, lang
title date author category tags excerpt cover lang
Using Gemini-CLI and MCP server to organize my dropbox 2025-08-31 haopengzhan Tech
AI Era
Dropbox
Gemini
LLM
Productivity
k8s
I think many people face the same dilemma I did: Dropbox fills up with thousands of disorganized files. Here is how I leveraged Gemini-CLI and Model Context Protocol to automate organization. images/cover.svg en

I think many people face the same dilemma I did: years of accumulated receipts, research papers, camera uploads, and archives scattered across folders.

When managing workloads in modern infrastructure, we treat our nodes cleanly with a streamlined container image deployed across clusters. But our personal storage often looks like a monolithic legacy system.

The Problem with Cloud Storage

Cloud storage services like Dropbox offer immense space, but search and organization remain rudimentary. You often remember concepts rather than filenames:

  • "That invoice from AWS last quarter"
  • "The PDF paper on distributed consensus"
  • "A screenshot of my terminal settings"

Introducing MCP (Model Context Protocol)

The Model Context Protocol connects LLMs with local or remote toolsets. By creating an MCP server for Dropbox, we expose simple tools:

# Running the MCP server locally or in a container
npx -y @modelcontextprotocol/server-dropbox

And in Python:

import dropbox

def list_unorganized_files(dbx, path="/Inbox"):
    res = dbx.files_list_folder(path)
    return [entry.name for entry in res.entries]

Results and Workflow

Once configured, Gemini can inspect file headers, categorize documents into appropriate directories, and even rename messy receipts into normalized ISO dates (YYYY-MM-DD-merchant-amount.pdf).