MindmupGoogleDriveMcp
This server enables you to search, retrieve, and parse MindMup files stored in your Google Drive directly through the MCP interface.
MindMup2 Google Drive MCP Server
A Model Context Protocol (MCP) server that provides seamless integration between MindMup mind maps and Google Drive. This server enables you to search, retrieve, and parse MindMup files stored in your Google Drive directly through the MCP interface.
- Medium Article: https://medium.com/@shyinlim/using-google-drive-mindmup-mcp-to-review-test-cases-automatically-ee03f2e9272d
š« Result
⨠Feature
- Search MindMup Files: Find MindMup files across your entire Google Drive (read-only)
- Google Drive Integration: List and filter files in Google Drive with various criteria
- MindMup Parsing: Parse and extract content from MindMup mind map files
- FastMCP Server: Built on FastMCP framework for high performance
- Docker Support: Containerized deployment with Docker Compose
š§ Available MCP Tools
| Tool | Description |
|---|---|
| gdrive_tool_list_file | List files from Google Drive with optional filtering by file type or name |
| get_single_mindmup_tool | Get a single MindMup file by ID or name |
| analyze_mindmup_summary_tool | Get summary overview of a MindMup file (sections, node count, structure) |
| get_mindmup_chunk_tool | Get specific chunk of a large MindMup file with optional keyword search |
š§ Business Value
- Unified Knowledge Management: Centralize mind map access across Google Drive through a single MCP interface
- Enhanced Productivity: Quick search and retrieval of mind maps without switching between applications
- Developer Integration: Seamlessly integrate mind mapping capabilities into existing workflows and tools
- Scalable Architecture: Handle large collections of mind maps with efficient filtering and parsing
- Cross-Platform Compatibility: Access mind maps from any MCP-compatible client or application
šļø Project Structure
āāā deployment/
ā āāā docker-compose-dev.yml
ā āāā docker-compose-prod.yml
ā āāā Dockerfile
āāā src/
ā āāā core/
ā ā āāā gdrive_client.py # Google Drive API client
ā ā āāā gdrive_feature.py # Google Drive feature implementation
ā ā āāā mcp_server.py # Main MCP server implementation
ā ā āāā mindmup_parser.py # MindMup file parsing
ā āāā model/
ā ā āāā common_model.py # Common data models
ā ā āāā gdrive_model.py # Google Drive data models
ā ā āāā mindmup_model.py # Mind map data models
ā āāā utility/
ā āāā enum.py # Enumerations and constants
ā āāā logger.py # Logging utilities
āāā run.py # Main entry point
āāā requirements.txt # Python dependencies
āāā makefile # Build and deployment commands
š Getting Started
Prerequisites
- Python 3.12+
- Google Cloud Platform account
Google Drive API Setup
| Step | Description | Image |
|---|---|---|
| 1 | Go to Google Cloud Console and create a new project or select an existing one | |
| 2 | Enable Google Drive API in your project | |
| 3 | Create Service Account credentials:- Go to "IAM & Admin" ā "Service Accounts"- Click "Create Service Account"- Download the JSON key file | |
| 4 | Encode the entire JSON key file to base64:- See Generate Base64 Credential section | |
| 5 | Share your Google Drive folder with the Service Account:- Right-click folder ā Share- Paste the service account email- Grant Viewer access- Do NOT send invitation |
Run the Server
For development:
make run-dev-docker
For production:
make run-prod
MCP Client Configuration
Add this server to your MCP client configuration:
{ "mcpServers":{ "mindmup-gdrive":{ "type":"http", "url":"http://:9802/mcp", "headers":{ "X-Google-Credential":"BASE64_GOOGLE_SERVICE_ACCOUNT" } } } }
Generate Base64 Credential
Encode your Google service account JSON to base64:
https://www.base64encode.org/
Copy the output and paste it as the X-Google-Credential value.
Example
{ "mcpServers":{ "mindmup-gdrive":{ "type":"http", "url":"http://:9802/mcp", "headers":{ "X-Google-Credential":"ewogICJ0eXBlIjogInN" } } } }
š Future Plan
- Create MindMup Files: Create new mind maps directly through MCP interface
- Edit MindMup Content: Modify existing mind map nodes and structure
- Export Features: Export mind maps to various formats (PDF, PNG, SVG)
- Sync Operations: Two-way synchronization between local and cloud mind maps
- Advanced Tagging: Add metadata and tags to mind map nodes
- Plugin System: Extensible plugin architecture for custom functionality
Contribution
This project is a collaborative effort:
- 50% developed by the project maintainer
- 50% generated with assistance from Claude AI
Related Servers
Claude MCP Trello
Interact with Trello boards and cards via the Trello API, with built-in rate limiting and error handling.
Amazon
Interact with Amazon services for product search, cart management, and viewing order history.
Rednote MCP
An automated tool for searching and commenting on the social media platform Xiaohongshu (Rednote) using Playwright.
Peekaboo
a macOS-only MCP server that enables AI agents to capture screenshots of applications, or the entire system.
Prolific MCP Server
A server to manage studies, recruit participants, and collect data on the Prolific platform.
OmniTaskAgent
A multi-model agent for managing tasks across various platforms, requiring API keys for different AI models.
TeamRetro
Integrate with TeamRetro for team management and analytics.
Claude Server MCP
An MCP server for Claude providing advanced context management, including persistent sessions and project-specific organization.
Excel MCP Server
Manipulate Excel files (XLSX, XLSM, etc.) without needing Microsoft Excel, featuring an integrated AI assistant.
PowerShell.MCP
Enables PowerShell console to function as an MCP server for Claude Desktop.