
felores/gdrive-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
felores/gdrive-mcp-server는 MCP 서버 후보가 https://github.com/felores/gdrive-mcp-server.에서 수입되었습니다
개요
felores/gdrive-mcp-server는 MCP 서버 후보가 https://github.com/felores/gdrive-mcp-server.에서 수입되었습니다
개요(AI 번역)
Google 드라이브와 원활한 통합을 제공하는 강력한 모델 Context Protocol (MCP) 서버는 AI 모델을 검색, 목록 및 Google 드라이브에서 파일을 읽을 수 있습니다.
♨ 특징
도구
1 gdrive_search
강력한 전체 텍스트 검색 기능을 사용하여 Google 드라이브의 파일 검색.
- ** 입력**:
-Output: 파일 목록:
- 파일명
- MIME 유형
- 파일 ID
- 최종 수정시간
- 파일 크기
###2. gdrive_read_file
직접 Google 드라이브 파일 ID를 사용하여 파일 내용을 읽으십시오.
-
** 입력**:
-
Output: 적절한 형식 변환을 가진 파일 내용
자동 파일 형식 처리
서버 지능적으로 다른 Google Workspace 파일 형식을 처리 :
- Google 문서 → Markdown
-
- 구글 시트 → CSV
- s Google 프리젠 테이션 → 일반 텍스트
- PNG
- UT 텍스트 / JSON 파일 → UTF-8 텍스트
- 다른 파일 → Base64 인코딩
542️ 시작하기
# 필수품
- Node.js (v16 이상)
- npm 또는 원사
- Google Cloud 프로젝트
- Google Workspace 또는 개인 Google 계정
상세 Google Cloud 설정
- ** Google Cloud Project**를 선택하십시오.
- Google Cloud 콘솔 방문
- "새 프로젝트"를 클릭하십시오
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Google Drive MCP Server
A powerful Model Context Protocol (MCP) server that provides seamless integration with Google Drive, allowing AI models to search, list, and read files from Google Drive.
🚀 Features
Tools
1. gdrive_search
Search for files in your Google Drive with powerful full-text search capabilities.
- Input:
{ "query": "string (your search query)" } - Output: List of files with:
- File name
- MIME type
- File ID
- Last modified time
- File size
2. gdrive_read_file
Read file contents directly using a Google Drive file ID.
- Input:
{ "file_id": "string (Google Drive file ID)" } - Output: File contents with appropriate format conversion
Automatic File Format Handling
The server intelligently handles different Google Workspace file types:
- 📝 Google Docs → Markdown
- 📊 Google Sheets → CSV
- 📊 Google Presentations → Plain text
- 🎨 Google Drawings → PNG
- 📄 Text/JSON files → UTF-8 text
- 📦 Other files → Base64 encoded
🛠️ Getting Started
Prerequisites
- Node.js (v16 or higher)
- npm or yarn
- A Google Cloud Project
- A Google Workspace or personal Google account
Detailed Google Cloud Setup
-
Create a Google Cloud Project
- Visit the Google Cloud Console
- Click “New Project”
- Enter a project name (e.g., “MCP GDrive Server”)
- Click “Create”
- Wait for the project to be created and select it
-
Enable the Google Drive API
- Go to the API Library
- Search for “Google Drive API”
- Click on “Google Drive API”
- Click “Enable”
- Wait for the API to be enabled
-
Configure OAuth Consent Screen
- Navigate to OAuth consent screen
- Select User Type:
- “Internal” if you’re using Google Workspace
- “External” for personal Google accounts
- Click “Create”
- Fill in the required fields:
- App name: “MCP GDrive Server”
- User support email: your email
- Developer contact email: your email
- Click “Save and Continue”
- On the “Scopes” page:
- Click “Add or Remove Scopes”
- Add
https://www.googleapis.com/auth/drive.readonly - Click “Update”
- Click “Save and Continue”
- Review the summary and click “Back to Dashboard”
-
Create OAuth Client ID
- Go to Credentials
- Click “Create Credentials” at the top
- Select “OAuth client ID”
- Choose Application type: “Desktop app”
- Name: “MCP GDrive Server Desktop Client”
- Click “Create”
- In the popup:
- Click “Download JSON”
- Save the file
- Click “OK”
-
Set Up Credentials in Project
# Create credentials directory mkdir credentials # Move and rename the downloaded JSON file
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"gdrive": {
"command": "node",
"args": ["path/to/gdrive-mcp-server/dist/index.js"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "path/to/gdrive-mcp-server/credentials/gcp-oauth.keys.json",
"MCP_GDRIVE_CREDENTIALS": "path/to/gdrive-mcp-server/credentials/.gdrive-server-credentials.json"
}
}
}
}