MCP Chat
MCP Chat
MCP Chat ist eine Befehlszeilenanwendung, die interaktive Chat-Funktionen mit KI-Modellen über die Anthropic-API ermöglicht. Die Anwendung unterstützt Dokumentabruf, befehlsbasierte Eingabeaufforderungen und erweiterbare Tool-Integrationen über die MCP-Architektur (Model Control Protocol).
Voraussetzungen
Python 3.9+
Anthropic API-Schlüssel
Related MCP server: MCP Chat
Einrichtung
Schritt 1: Umgebungsvariablen konfigurieren
Erstellen oder bearbeiten Sie die Datei
.envim Projektstammverzeichnis und stellen Sie sicher, dass die folgenden Variablen korrekt gesetzt sind:
ANTHROPIC_API_KEY="" # Enter your Anthropic API secret keySchritt 2: Abhängigkeiten installieren
Option 1: Einrichtung mit uv (Empfohlen)
uv ist ein schneller Python-Paketinstallierer und -Resolver.
Installieren Sie uv, falls es noch nicht installiert ist:
pip install uvErstellen und aktivieren Sie eine virtuelle Umgebung:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activateInstallieren Sie die Abhängigkeiten:
uv pip install -e .Führen Sie das Projekt aus
uv run main.pyOption 2: Einrichtung ohne uv
Erstellen und aktivieren Sie eine virtuelle Umgebung:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activateInstallieren Sie die Abhängigkeiten:
pip install anthropic python-dotenv prompt-toolkit "mcp[cli]==1.8.0"Führen Sie das Projekt aus
python main.pyVerwendung
Grundlegende Interaktion
Geben Sie einfach Ihre Nachricht ein und drücken Sie die Eingabetaste, um mit dem Modell zu chatten.
Dokumentabruf
Verwenden Sie das @-Symbol gefolgt von einer Dokument-ID, um Dokumentinhalte in Ihre Abfrage einzubeziehen:
> Tell me about @deposition.mdBefehle
Verwenden Sie das Präfix /, um im MCP-Server definierte Befehle auszuführen:
> /summarize deposition.mdBefehle werden automatisch vervollständigt, wenn Sie die Tabulatortaste drücken.
Entwicklung
Hinzufügen neuer Dokumente
Bearbeiten Sie die Datei mcp_server.py, um dem Wörterbuch docs neue Dokumente hinzuzufügen.
Implementieren von MCP-Funktionen
Um die MCP-Funktionen vollständig zu implementieren:
Vervollständigen Sie die TODOs in
mcp_server.pyImplementieren Sie die fehlende Funktionalität in
mcp_client.py
Linting- und Typprüfung
Es sind keine Lint- oder Typprüfungen implementiert.
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
- FlicenseNot gradedqualityDmaintenanceA 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.
- FlicenseBqualityDmaintenanceA 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.2
- FlicenseNot gradedqualityDmaintenanceA 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.
Related MCP Connectors
Run AI customer support from your terminal: conversations, knowledge base, and chat widget.
Persistent context for Claude. Your AI always knows your projects and next actions across sessions.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
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/dani-tc/anthropic-mcp-chat'
If you have feedback or need assistance with the MCP directory API, please join our Discord server