MSIM
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MSIMAsk my AnythingLLM to draft a reply to this email."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MSIM – MCP Server Integration Manager
MSIM is a unified MCP (Model Context Protocol) server that bridges AnythingLLM with any MCP‑compatible client (Better DeepSeek, Claude Desktop, Cursor, VS Code, custom agents).
It provides a single endpoint for HTTP/JSON‑RPC, SSE, and WebSocket transports, and automatically manages workspace selection, logging, and background operation.
Features
Full MCP support –
initialize,tools/list,tools/call,notifications/initialized,ping,prompts/list,resources/list.Multi‑transport – HTTP (
/mcp), SSE (/sse), WebSocket (/ws).Automatic workspace detection – uses the first workspace if not specified.
Interactive setup – first run asks for AnythingLLM API key, base URL, and workspace.
Structured logging & rotation – JSON or plain text logs with automatic rotation.
Graceful shutdown – waits for ongoing tool calls to complete.
Supervisor mode – auto‑restarts on crash (limitable).
Endpoint banner – shows all available URLs on startup.
Docker support – runs with
docker-compose upalongside AnythingLLM.Cross‑platform – works on Windows, macOS, Linux.
Related MCP server: anythingllm-mcp
Installation
Prerequisites
Git (to clone the repository)
AnythingLLM – running locally (Desktop or Docker) with a Developer API Key (generate in Settings → API Keys).
Quick Install (manual)
git clone https://github.com/giancbaring/msim
cd msim
git submodule update --init --recursive
./install.sh # or install.ps1 on WindowsThe installer will:
Install
uv(if missing).Install Python 3.12 through
uv(if missing).Remove old virtual environment.
Install all Python dependencies (including the wrapper).
Validate the code.
Run the interactive setup (asks for API key, base URL, workspace).
Docker Install (recommended for simplicity)
git clone https://github.com/giancbaring/msim
cd msim
docker-compose upThis starts AnythingLLM (official container) on port 3001 and MSIM on port 8000 – everything is pre‑configured.
Usage
After installation, run 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 ↕▾ | Transport ↕▾ | Description ↕▾ |
− | HTTP | MCP JSON‑RPC (main) |
− | SSE | Server‑Sent Events |
− | WebSocket | WebSocket |
− | HTTP | Debug – list available tools |
− | HTTP | Health check |
⚙ |
Configuration
Settings are stored in .env (created during setup). You can also set environment variables to override them.
Key variables:
ANYTHINGLLM_BASE_URL– defaulthttp://localhost:3001ANYTHINGLLM_API_KEY– your Developer API KeyCORS_ORIGINS– comma-separated browser origins allowed to access MSIMWORKSPACE– default workspace slug (auto‑detected if blank)PORT– server port (default 8000)MSIM_HOST– bind address (default127.0.0.1; Docker uses0.0.0.0)MSIM_ALLOW_LOCAL_FILE_UPLOAD– explicitly enable local-file upload tools (defaultfalse)LOG_FORMAT–plainorjsonSUPERVISE_MAX_RESTARTS– max restarts per minute (supervisor mode)
Contributing
Feel free to open issues or pull requests on GitHub.
See CONTRIBUTING.md, CODE_OF_CONDUCT.md, and SECURITY.md for MSIM contribution, community, and security policies. The upstream anythingllm-mcp submodule has separate policies and attribution.
License
The original MSIM work is released under the MIT License; see LICENSE for the complete terms and scope notice.
The submodules/anythingllm-mcp directory is an independently licensed upstream
project. Its copyright, license, and attribution terms remain in that directory
and apply to that 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