OMOS-MCP
OMOS-MCP
MCPサーバーがAIエージェント(Claude、ChatGPT、Cursor など)に OMOS Shared Drive 内のプロジェクト文書を読み取り、質問に回答します。各回答は元のファイルとGoogle Driveリンクを参照します。
対応するDrive構造:
OMOS/
├── Project A/
│ ├── Project Overview/
│ ├── Timeline/
│ ├── Design/
│ │ ├── System Flow/
│ │ ├── DB/
│ │ └── API/
│ └── BRD/
└── Project B/ ...ツール
ツール | 説明 |
| Drive全体をインデックス化: 全プロジェクト + 全ファイル、IDとリンク付き(エージェントは常にこれを最初に呼び出す) |
| Drive全体を全文検索し、プロジェクト/セクションでスコープを制限可能 |
| ファイルをテキストとして読み取り — Google Docs/Sheets/Slides、PDF、.docx、.xlsx、md/text、および画像(画像はエージェントに直接表示) |
| 即座にインデックスを再構築(通常のキャッシュは5分) |
エージェントは以下の順序で検索します: プロジェクト名でフィルター → 見つからない場合はプロジェクト概要を確認し、ユーザーに確認 → 次に タイムライン | BRD | 設計(システムフロー / DB / API) についての質問かどうかを確認 → 質問が広範囲にわたる場合は、スコープを絞るために質問を返します(サーバー指示に組み込み済み)。
Related MCP server: brkt-gdrive-mcp
初回セットアップ: サービスアカウント
サーバーはサービスアカウントを使用してDriveにアクセスします(各ユーザーのログインは不要):
console.cloud.google.com にアクセス → 新しいプロジェクトを作成(または既存のものを使用)
APIs & Services → Library → Google Drive API を検索 → Enable をクリック
IAM & Admin → Service Accounts → Create Service Account → 名前を入力(例:
omos-mcp)→ Create をクリック(ロールの割り当てはスキップ可能、権限は付与しない)作成したサービスアカウントに移動 → Keys タブ → Add Key → Create new key → JSON → キーファイルがダウンロードされる
サービスアカウントのメールアドレス(
omos-mcp@<project>.iam.gserviceaccount.com)をコピーし、共有Drive / OMOSフォルダに閲覧者として共有ルートOMOSのフォルダIDを取得: ブラウザでフォルダを開き、URL
https://drive.google.com/drive/folders/<これがIDです>を確認
環境変数
変数 | 説明 |
| ルートOMOSのフォルダID(手順6より)— 必須 |
| キーJSONファイルの内容全体、またはファイルへのパス — 必須 |
| (HTTPモード)クライアントが送信するbearerトークン |
| インデックスのキャッシュTTL(秒)(デフォルト300) |
| (HTTPモード)Claude.ai / ChatGPT Web向けOAuthモードを有効化 |
| (HTTPモード)待受ポート(デフォルト8000) |
ローカル実行
事前に uv をインストールしてください(curl -LsSf https://astral.sh/uv/install.sh | sh)
1) .env を設定(サーバーがリポジトリルートから自動的に読み込みます):
cp .env.example .env.env を編集し、OMOS_ROOT_FOLDER_ID とキーファイルのパスを設定します(例: キーファイルを ./service-account.json に配置 — これはすでにgitignoreされています)
2) Claude Code(stdio)と接続:
claude mcp add omos -- uv run --directory "/path/to/OMOS-MCP" omos-mcpClaude Desktop / Cursor / Windsurf — MCP設定に追加:
{
"mcpServers": {
"omos": {
"command": "uv",
"args": ["run", "--directory", "/path/to/OMOS-MCP", "omos-mcp"]
}
}
}3) テスト: エージェントに "OMOSにはどんなプロジェクトがありますか?" と質問 — プロジェクト名とリンクのリストが返るはずです
(オプション)ローカルでHTTPサーバーとして実行: .env で OMOS_AUTH_TOKEN を有効にし、次のコマンドを実行:
uv run omos-mcp-httpエンドポイントは http://localhost:8000/mcp にあり、次の方法で接続:
claude mcp add --transport http omos http://localhost:8000/mcp -H "Authorization: Bearer <OMOS_AUTH_TOKEN>"MCPリンクとしてデプロイ(Render)
このリポジトリをGitHubにプッシュ(
Dockerfile+render.yamlは既に含まれています)Render → New → Blueprint → このリポジトリを選択
ダッシュボードで環境変数を設定:
OMOS_ROOT_FOLDER_ID= ルートOMOSのフォルダIDGOOGLE_SERVICE_ACCOUNT_JSON= キーJSONファイルの内容全体(直接貼り付け)OMOS_AUTH_TOKENRenderが自動生成 → コピーしてチームに配布
デプロイ完了 → エンドポイントは
https://<app>.onrender.com/mcp
ユーザーは接続:
claude mcp add --transport http omos https://<app>.onrender.com/mcp \
-H "Authorization: Bearer <OMOS_AUTH_TOKEN>"Cursor / VS Code: MCP設定にURL + ヘッダー Authorization: Bearer <token> を入力
Claude.ai / ChatGPT(Web)で使用する — OAuth
Webクライアントにはヘッダーを設定する場所がないため、WorkOS AuthKit などのプロバイダーを通じてOAuthを使用する必要があります(無料枠は100万ユーザーまで):
workos.com にサインアップ → AuthKitを有効化 → ログイン方法を設定し、チームメンバーのみに制限
ダッシュボード → Connect → Configuration → Client ID Metadata Document と Dynamic Client Registration を有効化
Resource Indicator を追加 =
https://<app>.onrender.com(/mcpは不要)Renderに3つの環境変数を追加:
OAUTH_ISSUER= AuthKitドメイン、OAUTH_AUDIENCE=https://<app>.onrender.com、PUBLIC_URL=https://<app>.onrender.comユーザー: Claude.ai → Settings → Connectors → Add custom connector →
https://<app>.onrender.com/mcpを入力 → WorkOSでログイン
OAuthモードとbearerトークンは共存可能 — WebはOAuth、CLIはトークンを引き続き使用できます
コンバーターのテスト
uv run python test_convert.pyThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP server that enables users to query documents from Google Drive using AI assistance, providing tools for searching vector databases and generating answers based on document content.
- Flicense-qualityBmaintenanceMCP server for semantic search over Google Drive documents, enabling AI tools to search, list, and retrieve document content.
- Flicense-qualityDmaintenanceAn MCP server that enables AI assistants to interact with Google Docs, Sheets, and Drive using the user's own Google account.
- Alicense-qualityDmaintenanceMCP server that reads Google Docs and Google Sheets content for AI assistants like Claude.111MIT
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pd011161/OMOS-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server