Skip to main content
Glama
moliver28

anythingllm-mcp

by moliver28

AnythingLLM MCP-Server

Vollständiger MCP-Server (Model Context Protocol) für AnythingLLM – die All-in-One-KI-Dokumenten-Chat-Plattform.

Funktionen

Keine menschliche Interaktion erforderlich. Einfach API-Schlüssel festlegen und loslegen.

Tools (insgesamt 15)

System

  • check_token - API-Token validieren

  • generate_api_key - Neuen API-Schlüssel generieren (Admin)

Arbeitsbereiche (Workspaces)

  • list_workspaces - Alle Arbeitsbereiche auflisten

  • get_workspace - Details eines Arbeitsbereichs abrufen

  • create_workspace - Neuen Arbeitsbereich erstellen

  • update_workspace - Einstellungen eines Arbeitsbereichs aktualisieren

  • delete_workspace - Einen Arbeitsbereich löschen

Chat

  • chat - Chat-Nachricht senden (Chat-/Abfragemodus)

  • stream_chat - Chat-Antwort streamen

Dokumente

  • upload_document - Dokument in Arbeitsbereich hochladen

  • update_embeddings - Embeddings des Arbeitsbereichs verwalten

  • list_workspace_documents - Dokumente des Arbeitsbereichs auflisten

Threads

  • list_threads - Threads des Arbeitsbereichs auflisten

  • get_thread - Details eines Threads abrufen

  • delete_thread - Einen Thread löschen

System & Kompatibilität

  • get_system_env - Systemkonfiguration abrufen

  • openai_chat_completion - OpenAI-kompatibler Endpunkt

Schnellstart

1. Installation

npm install -g anythingllm-mcp

2. API-Schlüssel festlegen

Erhalten Sie Ihren API-Schlüssel von AnythingLLM: Einstellungen > Entwickler-API

export ANYTHING_LLM_API_KEY="your-api-key-here"
export ANYTHING_LLM_BASE="http://localhost:3001/api/v1"  # optional, default

3. Zu OpenCode hinzufügen

Fügen Sie dies zu Ihrer opencode.json hinzu:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "anythingllm": {
      "type": "local",
      "command": ["anythingllm-mcp"],
      "environment": {
        "ANYTHING_LLM_API_KEY": "your-api-key-here",
        "ANYTHING_LLM_BASE": "http://localhost:3001/api/v1"
      },
      "enabled": true
    }
  }
}

4. In jeder Sitzung verwenden

Die Tools sind jetzt verfügbar. Beispiel:

> Use the chat tool to ask AnythingLLM about my documents

Entwicklung

git clone https://github.com/moliv/anythingllm-mcp.git
cd anythingllm-mcp
npm install
npm run build

Anforderungen

  • AnythingLLM läuft (lokal oder remote)

  • Gültiger API-Schlüssel von AnythingLLM

  • Node.js 18+

Lizenz

MIT

Install Server
F
license - not found
C
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/moliver28/anythingllm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server