[BUG] Google Drive MCP create_file no longer creates Google Sheets — defaults to Google Doc regardless of MIME type

Status Open
Maintainer reply None cached
Activity 1 comment · opened Jul 27, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Previously, Claude was able to create properly formatted Google Sheets files through the Google Drive MCP integration (mcp__claude_ai_Google_Drive__create_file). This functionality appears to have regressed. When the tool is called with contentMimeType: "application/vnd.google-apps.spreadsheet", the API ignores the specified MIME type and creates a Google Doc instead.

Steps to Reproduce:

In a Claude Code session with the Google Drive MCP connected
Call mcp__claude_ai_Google_Drive__create_file with contentMimeType set to application/vnd.google-apps.spreadsheet
Include tabular data (e.g. CSV-style or pipe-delimited rows) as the textContent

What Should Happen?

Expected Behavior:

A Google Sheets file is created in the specified Google Drive folder with rows and columns populated from the provided content — matching the format of an existing spreadsheet (e.g. a job tracker with labeled columns and data rows).

Actual Behavior:

The API returns a file with mimeType: "application/vnd.google-apps.document" regardless of the requested MIME type. The file is created as a Google Doc. The fileSize in the response returns "1", indicating the content is not being written or formatted correctly. The tool does not throw an error — it silently falls back to creating a Doc.

Impact:

Users who relied on Claude to programmatically create and maintain Google Sheets (e.g. job trackers, project logs, structured data files) can no longer do so. This breaks a workflow that was previously functional and forces manual data entry as a workaround.

Error Messages/Logs

Steps to Reproduce

Tool: mcp__claude_ai_Google_Drive__create_file
MCP: Claude AI Google Drive integration
Attempted MIME type: application/vnd.google-apps.spreadsheet
Actual MIME type returned: application/vnd.google-apps.document
Platform: Claude Code (VS Code extension)

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

claude-sonnet-4-6

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗