orca-drive-sa-mcp
ORCA Drive SA MCP
Google Drive フォルダを Streamable HTTP 経由で公開する Model Context Protocol (MCP) サーバーで、Vercel のサーバーレス関数としてデプロイされます。
Google サービスアカウント(Drive API v3、読み取り専用スコープ)を通じて Google Drive を読み取るため、Apps Script の Web アプリは不要です。
ツール
ツール | 説明 |
| フォルダ内のファイルを一覧表示します(デフォルトは |
| ファイル名の部分一致で検索します |
| ID で単一ファイルのメタデータを取得します |
| ファイルのテキスト内容を読み取ります(JSON、CSV、TXT など) |
Related MCP server: Google Drive MCP Server
1. Google サービスアカウントを作成する
https://console.cloud.google.com にアクセスし、プロジェクトを作成(または選択)します。
Google Drive API を有効にします(API とサービス → ライブラリ →「Google Drive API」)。
サービスアカウントを作成します:
API とサービス → 認証情報 → 認証情報を作成 → サービスアカウント。
名前を付けて作成して続行をクリックし、完了をクリックします。
キーを生成します:
サービスアカウントを開き、キー → キーを追加 → 新しいキーを作成 → JSON。
JSON キーファイルをダウンロードします。
サービスアカウントのメールアドレスをコピーします(例:
orca-drive@my-project.iam.gserviceaccount.com)。対象の Drive フォルダをそのメールアドレスと共有します(Drive でフォルダを右クリック → 共有 → メールアドレスを貼り付け → 閲覧者)。
サービスアカウントと共有されたファイル/フォルダのみアクセス可能です。
2. 環境変数を設定する
.env.example を .env にコピーし(ローカル開発)、Vercel でも同じ値を設定します(プロジェクト > 設定 > 環境変数):
変数 | 説明 |
| JSON キーの完全な内容(1行) |
| JSON 値が base64 エンコードされている場合は |
| 一覧表示するデフォルトのフォルダ ID |
3. ローカルで実行する
npm install
vercel devトランスポート Streamable HTTP、URL http://localhost:3000/ を使用して MCP Inspector(npx @modelcontextprotocol/inspector)でテストします。
4. Vercel にデプロイする
vercel --prodエンドポイントは https://<project>.vercel.app/ になります。
5. クライアントを接続する
Claude Desktop(claude_desktop_config.json):
{
"mcpServers": {
"orca-drive-sa": {
"type": "http",
"url": "https://<project>.vercel.app/"
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
MCP server for RiverScript, an AI transcription platform - fetches transcripts shared via a link.
Related MCP Servers
- -licenseNot gradedqualityAmaintenanceThis MCP server integrates with Google Drive to allow listing, reading, and searching over files.4,149 npm91,276MIT
- AlicenseNot gradedqualityDmaintenanceA server that provides a Machine Control Protocol (MCP) interface to search, access, and interact with Google Drive files and folders, enabling AI assistants to work with Google Drive content.8MIT
- FlicenseNot gradedqualityCmaintenanceAn MCP server that enables interaction with Google Drive through the Google Cloud API. It allows users to list, read, and upload files directly from MCP-compatible clients like manus.im or Cursor.-
- AlicenseAqualityDmaintenanceA local MCP server that enables LLMs to securely search and read files within designated Google Drive folders. Supports Google Docs, Google Sheets, PDFs, and plain text with strict folder-scoping via service account authentication.4MIT