---
title: "Google Drive MCP"
url: https://www.marlasowards.com/blog/mcp-google-drive
description: "A custom MCP server that reads and writes Google Drive files as Markdown, so AI tools can publish to Google Docs without losing formatting."
author: Blog post by Marla Sowards
---

> For an index of every page on this site, see [llms.txt](https://www.marlasowards.com/llms.txt).

# Google Drive MCP

This is part of a series about custom [MCP](https://modelcontextprotocol.io/) servers I've built to connect the systems I work in, so I can generate content from the information they hold, set up workflows that cover multiple tools, and eliminate manual, repetitive work that would otherwise only be possible through the application UI.

[gdrive_mcp.py](https://github.com/cedar-ave/ai-content-toolkit/blob/main/mcp/gdrive_mcp.py)

## What it is

This MCP server performs actions like reading Google Drive files, creating files, and publishing content to them from another source. In particular, this MCP server let me manage content as Markdown.

## Why I built it

Formatting a Google Doc with a Google Drive connection in AI tool is notoriously unpredictable. Applied styles can be offset by a character or two, bullets can be misaligned, and formatting can disappear. This custom MCP server allows the content to be extracted from the Google Doc as Markdown using the Google Docs API's `text/markdown` export MIME type, formats the content straightforwardly Markdown, and converts it into a native Google Doc format.
