Skip to main content
Glama

MCP Chat

MCP Chat ist eine Befehlszeilenanwendung, die die Chat-Interaktion mit KI-Modellen über die Anthropic-API ermöglicht. Die Anwendung unterstützt Dokumentabruf, befehlsbasierte Eingabeaufforderungen und erweiterbare Tool-Integrationen über die MCP-Architektur (Modellsteuerungsprotokoll).

Voraussetzungen

  • Bun.js

  • Anthropic API Key

Related MCP server: MCP Chat

Einrichtung

  1. Erstelle oder bearbeite die Datei .env im Projektstamm und stelle sicher, dass die folgenden Variablen korrekt konfiguriert sind:

ANTHROPIC_API_KEY=""  # Introduce tu clave secreta de la API de Anthropic.
  1. Installiere Abhängigkeiten

bun install
  1. Starte das Projekt

bun run src/main.ts

Verwendung

Grundlegende Interaktion

Schreibe einfach deine Nachricht und drücke Enter, um mit dem Modell zu chatten.

Dokumentabruf

Verwende das Symbol @ gefolgt von der ID eines Dokuments, um dessen Inhalt in deine Anfrage aufzunehmen:

> Cuentame sobre @deposition.md

Befehle

Verwende das Präfix /, um im MCP-Server definierte Befehle auszuführen:

> /format deposition.md

Die Befehle werden beim Drücken von Tab automatisch vervollständigt.

Entwicklung

Neue Dokumente hinzufügen

Bearbeite das Array DOCS in src/mcp-server/core/docs.ts, um neue Dokumente hinzuzufügen.

Dieses Projekt wurde mit bun init in Bun v1.3.11 erstellt. Bun ist eine schnelle und All-in-One-JavaScript-Laufzeitumgebung.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A command-line interface application that enables interactive chat with AI models through the Anthropic API, supporting document retrieval, command-based prompts, and extensible tool integrations.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A command-line interface application that enables interactive chat with AI models through the Anthropic API, supporting document retrieval, command-based prompts, and extensible tool integrations.
    -