ki-bridge
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | Yes | Gemini API key created in Google AI Studio (aistudio.google.com/apikey). | |
| OPENAI_API_KEY | Yes | OpenAI API key created at platform.openai.com/api-keys. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Brücke zu ChatGPT (OpenAI API, kostenpflichtig, sparsam nutzen), Gemini (nur kostenlose Modelle) und zum Menschen (handoff_to_me). Antworten mit 'RÜCKFRAGE NÖTIG' bedeuten: erst die Person fragen, dann mit dem entsprechenden Bestätigungs-Flag erneut aufrufen. Antworten mit 'STOPP' bedeuten: keine Wiederholung, Person informieren, Handoff anbieten.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| set_balanceA | Setzt den aktuellen OpenAI-Guthabenstand (USD), z. B. nach dem Nachfüllen. Hebt eine evtl. bestehende Sperre nach einem Quota-Fehler auf. |
| usage_reportB | Zeigt geschätzten OpenAI-Reststand, Verbrauch diesen Monat und wofür. |
| generate_imageA | Erzeugt Bild(er) mit der OpenAI Images API und speichert sie als Datei. |
| ask_chatgptB | Fragt ChatGPT über die OpenAI API (Standard: günstiges Modell). Nur nutzen, wenn es echten Mehrwert bringt (Zweitmeinung, nachweisliche Stärke). Kostenpflichtig; Regeln wie bei generate_image (confirmed / low_balance_ok). |
| ask_geminiA | Fragt Gemini (nur kostenlose Modelle). Gut für Video-/Audio-Analyse, sehr lange Dokumente/PDFs, Bilder und Fragen mit Google-Suche (use_google_search=true). - files: absolute Pfade zu Bildern, PDFs, Audio, Video, Text. Achtung Datenschutz: Eingaben im kostenlosen API-Tarif kann Google zur Verbesserung nutzen. Keine vertraulichen/persönlichen Inhalte ohne Zustimmung der Person senden. Bei Limit (429 / limit: 0) wird automatisch ein anderes Free-Modell probiert, sonst kommt eine Wartezeit bzw. ein Handoff-Vorschlag zurück. |
| handoff_to_meA | Erstellt eine Aufgabe für die Person (alles, was Claude/ChatGPT/Gemini nicht selbst können oder was Geld kosten würde) und trägt sie in /handoffs.md ein. |
| handoff_statusC | Status der Download-Überwachung eines Handoffs bzw. Liste offener Handoffs. wait_seconds (max. 600): so lange auf das Eintreffen der Datei warten. |
| complete_handoffB | Hakt einen Handoff in handoffs.md ab (z. B. wenn die Person Text/Foto im Chat geliefert hat). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Each tool maps to a clearly distinct action or resource: balance administration, OpenAI text/image calls, Gemini multimodal calls, and a three-step handoff lifecycle. ask_chatgpt/ask_gemini and generate_image all call external models, but provider, cost, and media constraints are explicit enough that boundaries are clear.
All names are snake_case and most follow a verb_noun pattern (set_balance, generate_image, ask_chatgpt, ask_gemini, complete_handoff). The exceptions are noun-first/status names like usage_report, handoff_status, and handoff_to_me, which are readable but break the dominant verb_noun convention.
Eight tools are well-scoped for an AI bridge: balance setting/reporting, three AI/API operations, and three handoff lifecycle tools. There is no obvious redundancy or missing slot that would require more or fewer tools.
The surface covers the core workflows: set/report balance, generate images, ask ChatGPT, ask Gemini, and create/check/complete handoffs. Minor gaps exist around editing or cancelling handoffs and richer handoff retrieval, but agents can work around these.