MSIM
MSIM – MCP Server Integration Manager
MSIM es un servidor MCP (Model Context Protocol) unificado que conecta AnythingLLM con cualquier cliente compatible con MCP (Better DeepSeek, Claude Desktop, Cursor, VS Code, agentes personalizados).
Proporciona un único endpoint para los transportes HTTP/JSON‑RPC, SSE y WebSocket, y gestiona automáticamente la selección del workspace, el registro de logs y el funcionamiento en segundo plano.
Características
Soporte MCP completo –
initialize,tools/list,tools/call,notifications/initialized,ping,prompts/list,resources/list.Multitransporte – HTTP (
/mcp), SSE (/sse), WebSocket (/ws).Detección automática del workspace – utiliza el primer workspace si no se especifica.
Configuración interactiva – en la primera ejecución solicita la API key de AnythingLLM, la URL base y el workspace.
Registro estructurado y rotación – logs en JSON o texto plano con rotación automática.
Apagado ordenado – espera a que las llamadas a herramientas en curso finalicen.
Modo supervisor – se reinicia automáticamente ante un fallo (limitable).
Banner de endpoints – muestra todas las URLs disponibles al iniciar.
Soporte Docker – se ejecuta con
docker-compose upjunto a AnythingLLM.Multiplataforma – funciona en Windows, macOS y Linux.
Related MCP server: anythingllm-mcp
Instalación
Requisitos previos
Git (para clonar el repositorio)
AnythingLLM – ejecutándose localmente (Desktop o Docker) con una Developer API Key (genérala en Settings → API Keys).
Instalación rápida (manual)
git clone https://github.com/giancbaring/msim
cd msim
git submodule update --init --recursive
./install.sh # or install.ps1 on WindowsEl instalador:
Instala
uv(si no está instalado).Instala Python 3.12 mediante
uv(si no está instalado).Elimina el entorno virtual anterior.
Instala todas las dependencias de Python (incluido el wrapper).
Valida el código.
Ejecuta la configuración interactiva (solicita API key, URL base y workspace).
Instalación con Docker (recomendada por su simplicidad)
git clone https://github.com/giancbaring/msim
cd msim
docker-compose upEsto inicia AnythingLLM (contenedor oficial) en el puerto 3001 y MSIM en el puerto 8000 – todo está preconfigurado.
Uso
Tras la instalación, ejecuta MSIM:
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 serviceEndpoints
Endpoint ↕▾ | Transporte ↕▾ | Descripción ↕▾ |
− | HTTP | MCP JSON‑RPC (principal) |
− | SSE | Server‑Sent Events |
− | WebSocket | WebSocket |
− | HTTP | Depuración – lista las herramientas disponibles |
− | HTTP | Comprobación de estado |
⚙ |
Configuración
Los ajustes se guardan en .env (creado durante la configuración). También puedes definir variables de entorno para sobrescribirlos.
Variables principales:
ANYTHINGLLM_BASE_URL– por defectohttp://localhost:3001ANYTHINGLLM_API_KEY– tu Developer API KeyCORS_ORIGINS– orígenes de navegador separados por comas permitidos para acceder a MSIMWORKSPACE– slug del workspace por defecto (se detecta automáticamente si está vacío)PORT– puerto del servidor (por defecto 8000)MSIM_HOST– dirección de bind (por defecto127.0.0.1; Docker usa0.0.0.0)MSIM_ALLOW_LOCAL_FILE_UPLOAD– habilita explícitamente las herramientas de subida de archivos locales (por defectofalse)LOG_FORMAT–plainojsonSUPERVISE_MAX_RESTARTS– máximo de reinicios por minuto (modo supervisor)
Contribuciones
No dudes en abrir issues o pull requests en GitHub.
Consulta CONTRIBUTING.md, CODE_OF_CONDUCT.md y SECURITY.md para conocer las políticas de contribución, comunidad y seguridad de MSIM. El submódulo upstream anythingllm-mcp tiene políticas y atribución independientes.
Licencia
El trabajo original de MSIM se publica bajo la Licencia MIT; consulta LICENSE para conocer los términos completos y el aviso de alcance.
El directorio submodules/anythingllm-mcp es un proyecto upstream con licencia independiente. Sus términos de copyright, licencia y atribución permanecen en ese directorio y se aplican a ese código upstream.
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