OMOS-MCP
OMOS-MCP
MCP-Server, der KI-Agenten (Claude, ChatGPT, Cursor usw.) das Lesen von Projektdokumenten im OMOS Shared Drive ermöglicht, um Fragen zu beantworten – jede Antwort verweist auf die Quelldatei mit einem Google Drive-Link.
Unterstützte Drive-Struktur:
OMOS/
├── Project A/
│ ├── Project Overview/
│ ├── Timeline/
│ ├── Design/
│ │ ├── System Flow/
│ │ ├── DB/
│ │ └── API/
│ └── BRD/
└── Project B/ ...Tools
Tool | Beschreibung |
| Indexiert den gesamten Drive: alle Projekte + alle Dateien mit ID und Link (der Agent ruft dies immer zuerst auf). |
| Volltextsuche im gesamten Drive, eingrenzbar auf Projekt/Abschnitt. |
| Liest eine Datei als Text – Google Docs/Sheets/Slides, PDF, .docx, .xlsx, md/text und Bilder (sendet das Bild direkt an den Agenten). |
| Baut den Index sofort neu auf (Standard-Cache 5 Minuten). |
Der Agent durchsucht in dieser Reihenfolge: Filter Projektname → nicht gefunden → Projektübersicht anzeigen und beim Benutzer bestätigen lassen → weiterfragen nach Zeitplan | BRD | Design (Systemablauf / DB / API) → zu breite Fragen werden zurückgewiesen, um den Umfang einzugrenzen (in den Server-Anweisungen hinterlegt).
Related MCP server: brkt-gdrive-mcp
Einmalige Einrichtung: Service Account
Der Server greift über einen Service Account auf den Drive zu (kein Login für alle erforderlich):
Gehe zu console.cloud.google.com → neues Projekt erstellen (oder ein vorhandenes verwenden).
APIs & Services → Library → nach Google Drive API suchen → Enable klicken.
IAM & Admin → Service Accounts → Create Service Account → Namen vergeben, z. B.
omos-mcp→ Create klicken (Rollen-Schritt überspringen, keine Berechtigungen erforderlich).Zum erstellten Service Account gehen → Tab Keys → Add Key → Create new key → JSON → die Schlüsseldatei wird heruntergeladen.
Die E-Mail des Service Accounts kopieren (sieht aus wie
omos-mcp@<project>.iam.gserviceaccount.com) und den Shared Drive / OMOS-Ordner für diese E-Mail als Viewer freigeben.Die Ordner-ID des OMOS-Root-Ordners finden: Ordner im Browser öffnen und die URL betrachten
https://drive.google.com/drive/folders/<dies ist die id>.
Environment Variables
Variable | Beschreibung |
| Ordner-ID des OMOS-Root-Ordners (aus Schritt 6) – erforderlich |
| Inhalt der gesamten JSON-Schlüsseldatei oder Pfad zur Datei – erforderlich |
| (HTTP-Modus) Bearer-Token, den der Client senden muss |
| Cache-Lebensdauer des Index in Sekunden (Standard: 300) |
| (HTTP-Modus) OAuth-Modus für Claude.ai / ChatGPT Web aktivieren |
| (HTTP-Modus) Port, auf dem gelauscht wird (Standard: 8000) |
Lokal ausführen
Zuerst uv installieren (curl -LsSf https://astral.sh/uv/install.sh | sh).
1) .env einrichten (der Server lädt automatisch aus dem Repository-Stammverzeichnis):
cp .env.example .env.env bearbeiten, OMOS_ROOT_FOLDER_ID und den Pfad zur Schlüsseldatei eintragen (z. B. die Schlüsseldatei unter ./service-account.json ablegen – ist bereits in .gitignore).
2) Mit Claude Code verbinden (stdio):
claude mcp add omos -- uv run --directory "/path/to/OMOS-MCP" omos-mcpClaude Desktop / Cursor / Windsurf – in der MCP-Konfiguration eintragen:
{
"mcpServers": {
"omos": {
"command": "uv",
"args": ["run", "--directory", "/path/to/OMOS-MCP", "omos-mcp"]
}
}
}3) Testen: Den Agenten fragen "Welche Projekte gibt es in OMOS?" – es sollte eine Liste der Projekte mit Links erscheinen.
(Optional) Als HTTP-Server lokal ausführen: OMOS_AUTH_TOKEN in .env aktivieren, dann
uv run omos-mcp-httpDer Endpunkt ist http://localhost:8000/mcp. Verbinden mit:
claude mcp add --transport http omos http://localhost:8000/mcp -H "Authorization: Bearer <OMOS_AUTH_TOKEN>"Als MCP-Link deployen (Render)
Dieses Repository auf GitHub pushen (enthält bereits
Dockerfile+render.yaml).Render → New → Blueprint → dieses Repository auswählen.
Umgebungsvariablen im Dashboard setzen:
OMOS_ROOT_FOLDER_ID= Ordner-ID des OMOS-Root-OrdnersGOOGLE_SERVICE_ACCOUNT_JSON= Inhalt der gesamten JSON-Schlüsseldatei (direkt einfügen)OMOS_AUTH_TOKENRender generiert selbst → kopieren und an das Team weitergeben
Nach erfolgreichem Deployment ist der Endpunkt
https://<app>.onrender.com/mcp.
Benutzer verbinden sich:
claude mcp add --transport http omos https://<app>.onrender.com/mcp \
-H "Authorization: Bearer <OMOS_AUTH_TOKEN>"Cursor / VS Code: URL + Header Authorization: Bearer <token> in der MCP-Konfiguration eintragen.
Für Claude.ai / ChatGPT (Web) – OAuth
Web-Clients haben kein Feld für Header, daher muss OAuth über einen Anbieter wie WorkOS AuthKit (kostenlos für bis zu 1 Mio. Benutzer) verwendet werden:
Bei workos.com registrieren → AuthKit aktivieren → Login-Methode einrichten + auf Teammitglieder beschränken.
Dashboard → Connect → Configuration → Client ID Metadata Document und Dynamic Client Registration aktivieren.
Resource Indicator hinzufügen =
https://<app>.onrender.com(ohne/mcp).Auf Render 3 zusätzliche Umgebungsvariablen setzen:
OAUTH_ISSUER= AuthKit-Domain,OAUTH_AUDIENCE=https://<app>.onrender.com,PUBLIC_URL=https://<app>.onrender.com.Benutzer: Claude.ai → Settings → Connectors → Add custom connector →
https://<app>.onrender.com/mcpeingeben → über WorkOS anmelden.
OAuth-Modus und Bearer-Token können nebeneinander existieren – Web verwendet OAuth, CLI kann weiterhin das Token verwenden.
Konverter testen
uv run python test_convert.pyAvailable Tools
4 toolsomos_indexA
Get the full index of the OMOS drive: every project and its files (with file ids and links). Use this whenever the user asks about any internal project, BRD, timeline, design, system flow, DB, API, or เอกสารโปรเจค — ALWAYS call this first, then filter by Project Name before drilling into Timeline / BRD / Design (System Flow, DB, API).
Inputs: no named parameters. Returns: result
omos_readA
Read a file from the OMOS drive as text (Google Docs/Sheets/Slides, PDF, docx, xlsx, markdown/text) or as an image (png/jpg). The response starts with a citation block (file name, path, link) — always include that citation in your answer.
Args: file_id: the Drive file id from omos_index or omos_search
Inputs: file_id (required).
omos_refreshA
Rebuild the drive index so newly added projects/files show up immediately (the index is otherwise cached for a few minutes).
Inputs: no named parameters. Returns: result
omos_searchA
Full-text search across the OMOS drive. Returns matching files with project path and link; use omos_read on the ids to read content.
Args: query: keyword or phrase (searches file content and names) project: optional exact project name from omos_index to narrow the search section: optional section name (e.g. 'BRD', 'Timeline', 'Design', 'DB') to narrow further
Inputs: query (required), project, section. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: omos_index provides the full index, omos_search performs full-text search with optional filters, omos_refresh rebuilds the index, and omos_read reads file content. There is no overlap or ambiguity between them.
All tools follow a consistent 'omos_<verb>' pattern (index, search, refresh, read). The naming is predictable and uniform, making it easy for an agent to understand the action each tool performs.
With 4 tools, the set is well-scoped for a drive retrieval server. Each tool addresses a necessary function (listing, searching, refreshing, reading) without being too few or excessive. The count matches the domain's core operations.
The tool surface covers the full read lifecycle for the OMOS drive: obtaining the index, searching, refreshing for updates, and reading file content. No obvious gaps exist for a retrieval-focused server; all necessary operations are present.
Related MCP Connectors
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
MCP server for generating rough-draft project plans from natural-language prompts.
- ORANO MCP ServerDeprecatedio.github.infotik
Read-only MCP server exposing a user ORANO library to their own AI agent.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn 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.ISC
- AlicenseNot gradedqualityDmaintenanceMCP server for semantic search over Google Drive documents, enabling AI tools to search, list, and retrieve document content.MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to interact with Google Docs, Sheets, and Drive using the user's own Google account.-
- AlicenseNot gradedqualityDmaintenanceMCP server that reads Google Docs and Google Sheets content for AI assistants like Claude.11 npm1MIT