anythingllm-mcp
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., "@anythingllm-mcpask my workspace about the quarterly financial report"
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.
AnythingLLM MCP Server
Complete MCP (Model Context Protocol) server for AnythingLLM - the all-in-one AI document chat platform.
Features
Zero human interaction. Just set your API key and go.
Tools (15 total)
System
check_token- Validate API tokengenerate_api_key- Generate new API key (admin)
Workspaces
list_workspaces- List all workspacesget_workspace- Get workspace detailscreate_workspace- Create new workspaceupdate_workspace- Update workspace settingsdelete_workspace- Delete a workspace
Chat
chat- Send chat message (chat/query mode)stream_chat- Stream chat response
Documents
upload_document- Upload document to workspaceupdate_embeddings- Manage workspace embeddingslist_workspace_documents- List workspace documents
Threads
list_threads- List workspace threadsget_thread- Get thread detailsdelete_thread- Delete a thread
System & Compatible
get_system_env- Get system configurationopenai_chat_completion- OpenAI-compatible endpoint
Related MCP server: AnythingLLM MCP Server
Quick Start
1. Install
npm install -g anythingllm-mcp2. Set API Key
Get your API key from AnythingLLM: Settings > Developer API
export ANYTHING_LLM_API_KEY="your-api-key-here"
export ANYTHING_LLM_BASE="http://localhost:3001/api/v1" # optional, default3. Add to OpenCode
Add to your opencode.json:
{
"$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. Use in Any Session
The tools are now available. Example:
> Use the chat tool to ask AnythingLLM about my documentsDevelopment
git clone https://github.com/moliv/anythingllm-mcp.git
cd anythingllm-mcp
npm install
npm run buildRequirements
AnythingLLM running (local or remote)
Valid API key from AnythingLLM
Node.js 18+
License
MIT
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
- Alicense-qualityCmaintenanceMCP server that provides tools to interact with the LiteLLM proxy API, enabling LLM completions, embeddings, image generation, and admin operations.Last updated18MIT
- Alicense-qualityBmaintenanceEnables MCP-compatible clients to interact with AnythingLLM, providing tools for workspace management, chat and thread operations, document operations, vector search, and system inspection.Last updated5MIT
- Alicense-qualityDmaintenanceMCP server enabling AI agents to interact with workplace tools like GitHub, GitLab, Jira, Notion, and more via the Model Context Protocol.Last updatedMIT
- Flicense-qualityDmaintenanceMCP server for Rocket.Chat, enabling AI agents to interact with Rocket.Chat workspaces via tools like listing users, sending messages, and managing channels.Last updated2
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
Local-first RAG engine with MCP server for AI agent integration.
MCP server exposing the Backtest360 engine API as tools for AI agents.
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/moliver28/anythingllm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server