MSIM
MSIM – MCP Server Integration Manager
MSIM ist ein einheitlicher MCP-Server (Model Context Protocol), der AnythingLLM mit jedem MCP-kompatiblen Client (Better DeepSeek, Claude Desktop, Cursor, VS Code, benutzerdefinierte Agents) verbindet.
Er bietet einen einzigen Endpunkt für HTTP/JSON‑RPC-, SSE- und WebSocket-Transporte und verwaltet automatisch Workspace-Auswahl, Protokollierung und Hintergrundbetrieb.
Funktionen
Vollständige MCP-Unterstützung –
initialize,tools/list,tools/call,notifications/initialized,ping,prompts/list,resources/list.Multi-Transport – HTTP (
/mcp), SSE (/sse), WebSocket (/ws).Automatische Workspace-Erkennung – verwendet den ersten Workspace, falls keiner angegeben ist.
Interaktive Einrichtung – fragt beim ersten Start nach AnythingLLM-API-Schlüssel, Basis-URL und Workspace.
Strukturierte Protokollierung & Rotation – JSON- oder Klartext-Logs mit automatischer Rotation.
Sanftes Herunterfahren – wartet, bis laufende Tool-Aufrufe abgeschlossen sind.
Supervisor-Modus – automatischer Neustart bei Absturz (begrenzbar).
Endpoint-Banner – zeigt beim Start alle verfügbaren URLs an.
Docker-Unterstützung – läuft mit
docker-compose upzusammen mit AnythingLLM.Plattformübergreifend – funktioniert unter Windows, macOS, Linux.
Related MCP server: anythingllm-mcp
Installation
Voraussetzungen
Git (zum Klonen des Repositorys)
AnythingLLM – lokal ausgeführt (Desktop oder Docker) mit einem Developer-API-Schlüssel (in Einstellungen → API-Schlüssel erstellen).
Schnellinstallation (manuell)
git clone https://github.com/giancbaring/msim
cd msim
git submodule update --init --recursive
./install.sh # or install.ps1 on WindowsDer Installer führt Folgendes aus:
uvinstallieren (falls fehlend).Python 3.12 über
uvinstallieren (falls fehlend).Alte virtuelle Umgebung entfernen.
Alle Python-Abhängigkeiten installieren (einschließlich des Wrappers).
Code validieren.
Interaktive Einrichtung ausführen (fragt nach API-Schlüssel, Basis-URL und Workspace).
Docker-Installation (empfohlen, da einfach)
git clone https://github.com/giancbaring/msim
cd msim
docker-compose upDies startet AnythingLLM (offizieller Container) auf Port 3001 und MSIM auf Port 8000 – alles ist vorkonfiguriert.
Verwendung
Nach der Installation MSIM ausführen:
uv run python MSIM.py # interactive menu
uv run python MSIM.py serve # foreground server
uv run python MSIM.py start # background daemon
uv run python MSIM.py stop # stop daemon
uv run python MSIM.py status # check status
uv run python MSIM.py logs # view logs
uv run python MSIM.py install # install as Windows service (NSSM)
uv run python MSIM.py uninstall # remove serviceEndpunkte
Endpunkt ↕▾ | Transport ↕▾ | Beschreibung ↕▾ |
− | HTTP | MCP JSON‑RPC (Hauptendpunkt) |
− | SSE | Server‑Sent Events |
− | WebSocket | WebSocket |
− | HTTP | Debug – verfügbare Tools auflisten |
− | HTTP | Health-Check |
⚙ |
Konfiguration
Die Einstellungen werden in .env gespeichert (während der Einrichtung erstellt). Sie können auch Umgebungsvariablen setzen, um sie zu überschreiben.
Wichtige Variablen:
ANYTHINGLLM_BASE_URL– Standardhttp://localhost:3001ANYTHINGLLM_API_KEY– Ihr Developer-API-SchlüsselCORS_ORIGINS– durch Kommas getrennte Browser-Ursprünge, die auf MSIM zugreifen dürfenWORKSPACE– Standard-Workspace-Slug (automatisch erkannt, wenn leer)PORT– Server-Port (Standard 8000)MSIM_HOST– Bind-Adresse (Standard127.0.0.1; Docker verwendet0.0.0.0)MSIM_ALLOW_LOCAL_FILE_UPLOAD– lokale Datei-Upload-Tools explizit aktivieren (Standardfalse)LOG_FORMAT–plainoderjsonSUPERVISE_MAX_RESTARTS– maximale Neustarts pro Minute (Supervisor-Modus)
Mitwirken
Eröffnen Sie gerne Issues oder Pull Requests auf GitHub.
Siehe CONTRIBUTING.md, CODE_OF_CONDUCT.md und SECURITY.md für die Beitrags-, Community- und Sicherheitsrichtlinien von MSIM. Das Upstream-Submodul anythingllm-mcp hat separate Richtlinien und Zuschreibungsbedingungen.
Lizenz
Die ursprüngliche MSIM-Arbeit wird unter der MIT-Lizenz veröffentlicht; siehe LICENSE für die vollständigen Bedingungen und den Hinweis zum Geltungsbereich.
Das Verzeichnis submodules/anythingllm-mcp ist ein unabhängig lizenziertes Upstream-Projekt. Seine Urheberrechts-, Lizenz- und Zuschreibungsbedingungen bleiben in diesem Verzeichnis und gelten für diesen Upstream-Code.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to connect to LLM/API services using the Model Context Protocol, providing real-time interaction and tool access. Also offers RESTful API endpoints via FastAPI for programmatic integration with existing systems.Apache 2.0
- FlicenseCqualityDmaintenanceMCP server for AnythingLLM that enables AI document chat platform interaction with tools for workspaces, chat, documents, threads, and system operations.17-
- FlicenseNot gradedqualityDmaintenanceExposes your local machine's filesystem, git, shell, network, databases, and system to any MCP-compatible LLM client over HTTP.6-
- AlicenseAqualityCmaintenanceEnables MCP-compatible clients to interact with AnythingLLM, providing tools for workspace management, chat and thread operations, document operations, vector search, and system inspection.346MIT
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/giancbaring/msim'
If you have feedback or need assistance with the MCP directory API, please join our Discord server