How do I authenticate Google Drive server?
Run the server with the `auth` argument: `node ./dist auth`. This opens an authentication flow in your system browser. Credentials are saved to `servers/.gdrive-server-credentials.json`.
@ejoyee
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"ej-mcp-server-gdrive": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount",
"type=bind,source=/path/to/gcp-oauth.keys.json,target=/gcp-oauth.keys.json",
"-v",
"mcp-gdrive:/gdrive-server",
"-e",
"GDRIVE_OAUTH_PATH=/gcp-oauth.keys.json",
"-e",
"GDRIVE_CREDENTIALS_PATH=/gdrive-server/credentials.json",
"-p",
"3000:3000",
"mcp/gdrive",
"auth"
]
}
}
}Search for files in Google Drive
Google Drive server is a Model Context Protocol (MCP) server that integrates with Google Drive to allow listing, reading, and searching files. It supports all file types and automatically exports Google Workspace files (Docs, Sheets, Presentations, Drawings) to standard formats.
Set up a Google Cloud project, enable the Drive API, configure OAuth consent, create an OAuth client ID for a desktop app, and place the key file as gcp-oauth.keys.json in the project root. Build with npm run build or npm run watch. Authenticate by running node ./dist auth and completing the browser flow. Then configure the server in your MCP client—supports NPX (@modelcontextprotocol/server-gdrive) or Docker (mcp/gdrive).
gdrive:///<file_id>.Run the server with the `auth` argument: `node ./dist auth`. This opens an authentication flow in your system browser. Credentials are saved to `servers/.gdrive-server-credentials.json`.
All Google Workspace files are automatically exported: Docs → Markdown, Sheets → CSV, Presentations → plain text, Drawings → PNG. Other file types are provided in their native format.
Node.js is required to build and run the server. Alternatively, Docker can be used for containerized deployment. Google Cloud project with Drive API enabled and OAuth 2.0 credentials are mandatory.
Add a JSON block to User Settings or `.vscode/mcp.json`. For NPX, set the command to `npx -y @modelcontextprotocol/server-gdrive` with environment variable `GDRIVE_CREDENTIALS_PATH`. For Docker, use the `mcp/gdrive` image with the `mcp-gdrive` volume and `GDRIVE_CREDENTIALS_PATH` environment variable.
Credentials are saved in the file `servers/.gdrive-server-credentials.json` after running the auth flow. This path can be overridden via the environment variable `GDRIVE_CREDENTIALS_PATH`.
Official MCP server for pdfAssistant. Connect Claude, ChatGPT, or any MCP client to perform professional PDF processing like OCR, permanent redactions, secure encryption, format conversions, and 40+ advanced operations p
MCP server for working with PDF files

Model Context Protocol Servers
Manage your Hevy workouts, routines, folders, and exercise templates. Create and update sessions faster, organize plans, and search exercises to build workouts quickly. Stay synced with changes so your training log is always up to date.
Storacha MCP storage server - self-sovereign data for your AI applications.
评论