loading…
Search for a command to run...
loading…
MCP server for AnythingLLM that enables AI document chat platform interaction with tools for workspaces, chat, documents, threads, and system operations.
MCP server for AnythingLLM that enables AI document chat platform interaction with tools for workspaces, chat, documents, threads, and system operations.
Complete MCP (Model Context Protocol) server for AnythingLLM - the all-in-one AI document chat platform.
Zero human interaction. Just set your API key and go.
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 workspaceChat
chat - Send chat message (chat/query mode)stream_chat - Stream chat responseDocuments
upload_document - Upload document to workspaceupdate_embeddings - Manage workspace embeddingslist_workspace_documents - List workspace documentsThreads
list_threads - List workspace threadsget_thread - Get thread detailsdelete_thread - Delete a threadSystem & Compatible
get_system_env - Get system configurationopenai_chat_completion - OpenAI-compatible endpointnpm install -g anythingllm-mcp
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, default
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
}
}
}
The tools are now available. Example:
> Use the chat tool to ask AnythingLLM about my documents
git clone https://github.com/moliv/anythingllm-mcp.git
cd anythingllm-mcp
npm install
npm run build
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"anythingllm-mcp": {
"command": "npx",
"args": []
}
}
}