AnythingLLM integration
AnythingLLM is a self-hosted document workspace that turns files into a searchable knowledge base and answers questions over it. The API lets an agent upload files, links and raw text as documents, browse the document folders, read a document and its metadata schema, create and remove folders and move files between them, create workspaces, pin or embed documents into a workspace, ask a workspace or one of its threads a question in chat or query mode and read the sources it answered from, run a raw vector search over a workspace, read and delete chat history, manage threads, manage users, invites and workspace membership, publish and inspect embeddable chat widgets, and read instance settings and vector counts. The host is part of the credential because every install is its own deployment. Authentication is an API key generated in the AnythingLLM settings under Tools, Developer API, sent as a bearer token.
Say what should happen.
The workflow builds itself.
What you can do with AnythingLLM
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Chat, 6 operations
chat_with_threadChat with threadPOSTAgents: ask firstChat with a workspace thread.chat_with_workspaceChat with workspacePOSTAgents: ask firstExecute a chat with a workspace.get_embed_session_chatsGet embed session chatsGETAgents: ask firstGet chats for a specific embed and session.list_embed_chatsList embed chatsGETAgents: ask firstGet all chats for a specific embed.list_thread_chatsList thread chatsGETAgents: ask firstGet chats for a workspace thread.list_workspace_chatsList workspace chatsGETAgents: ask firstGet a workspaces chats regardless of user by its unique slug.
User, 5 operations
delete_userDelete userDELETEAgents: ask firstDelete existing user by id. Methods are disabled until multi user mode is enabled via the UI.list_admin_usersList admin usersGETAgents: ask firstCheck to see if the instance is in multi-user-mode first. Methods are disabled until multi user mode is enabled via the UI.list_usersList usersGETAgents: ask firstList all users.list_workspace_usersList workspace usersGETAgents: ask firstRetrieve a list of users with permissions to access the specified workspace.update_userUpdate userPOSTAgents: ask firstUpdate existing user settings. Methods are disabled until multi user mode is enabled via the UI.
Embed, 3 operations
delete_embedDelete embedDELETEAgents: ask firstDelete an existing embed configuration.list_embedsList embedsGETAgents: ask firstList all active embeds.update_embedUpdate embedPOSTAgents: ask firstUpdate an existing embed configuration.
Workspace, 3 operations
delete_workspaceDelete workspaceDELETEAgents: ask firstDeletes a workspace by its slug.get_workspaceGet workspaceGETAgents: ask firstGet a workspace by its unique slug.list_workspacesList workspacesGETAgents: ask firstList all current workspaces.
Document, 2 operations
get_documentGet documentGETAgents: ask firstGet a single document by its unique AnythingLLM document name.list_documentsList documentsGETAgents: ask firstList of all locally-stored documents in instance. Optionally, pass ?folder=name to fetch the contents of a single folder, paginated with offset and limit (limit=all returns every.
Invite, 2 operations
delete_inviteDelete inviteDELETEAgents: ask firstDeactivates (soft-delete) invite by id. Methods are disabled until multi user mode is enabled via the UI.list_invitesList invitesGETAgents: ask firstList all existing invitations to instance regardless of status. Methods are disabled until multi user mode is enabled via the UI.
Update, 2 operations
update_threadUpdate threadPOSTAgents: ask firstUpdate thread name by its unique slug.update_workspaceUpdate workspacePOSTAgents: ask firstUpdate workspace settings by its unique slug.
Upload, 2 operations
upload_documentUpload documentPOSTAgents: ask firstUpload a new file to AnythingLLM to be parsed and prepared for embedding, with optional metadata.upload_document_to_folderUpload document to folderPOSTAgents: ask firstUpload a new file to a specific folder in AnythingLLM to be parsed and prepared for embedding. If the folder does not exist, it will be created.
Accepted file type, 1 operation
list_accepted_file_typesList accepted file typesGETAgents: ask firstCheck available filetypes and MIMEs that can be uploaded.
Auth, 1 operation
verify_api_keyVerify api keyGETAgents: ask firstVerify the attached Authentication header contains a valid API token.
Export chat, 1 operation
export_chatsExport chatsGETAgents: ask firstExport all of the chats from the system in a known format. Output depends on the type sent. Will be send with the correct header for the output.
Folder, 1 operation
get_document_folderGet document folderGETAgents: ask firstGet all documents stored in a specific folder. Returns every document by default; pass offset and limit to paginate.
Generated file, 1 operation
get_generated_fileGet generated fileGETAgents: ask firstDownload a file generated by an agent skill (e.g., PDF, DOCX, XLSX, PPTX). The filename is returned in the `outputs` array of a chat response when an agent generates a file. Use.
Is multi user mode, 1 operation
get_multi_user_modeGet multi user modeGETAgents: ask firstCheck to see if the instance is in multi-user-mode first. Methods are disabled until multi user mode is enabled via the UI.
Manage user, 1 operation
manage_workspace_usersManage workspace usersPOSTAgents: ask firstSet workspace permissions to be accessible by the given user ids and admins. Methods are disabled until multi user mode is enabled via the UI.
Metadata schema, 1 operation
get_metadata_schemaGet metadata schemaGETAgents: ask firstGet the known available metadata schema for when doing a raw-text upload and the acceptable type of value for each key.
New, 1 operation
create_threadCreate threadPOSTAgents: ask firstCreate a new workspace thread.
Remove document, 1 operation
delete_documentsDelete documentsDELETEAgents: ask firstPermanently remove documents from the system.
Remove folder, 1 operation
remove_document_folderRemove document folderDELETEAgents: ask firstRemove a folder and all its contents from the documents storage directory.
System, 1 operation
get_system_settingsGet system settingsGETAgents: ask firstGet all current system settings that are defined.
Thread, 1 operation
delete_threadDelete threadDELETEAgents: ask firstDelete a workspace thread.
Update embedding, 1 operation
update_workspace_embeddingsUpdate workspace embeddingsPOSTAgents: ask firstAdd or remove documents from a workspace by its unique slug.
Update pin, 1 operation
update_workspace_pinUpdate workspace pinPOSTAgents: ask firstAdd or remove pin from a document in a workspace by its unique slug.
Update user, 1 operation
update_workspace_usersUpdate workspace usersPOSTAgents: ask firstOverwrite workspace permissions to only be accessible by the given user ids and admins. Methods are disabled until multi user mode is enabled via the UI.
Vector count, 1 operation
get_vector_countGet vector countGETAgents: ask firstNumber of all vectors in connected vector database.
Vector search, 1 operation
search_workspace_vectorsSearch workspace vectorsPOSTAgents: ask firstPerform a vector similarity search in a workspace.
Use AnythingLLM from Claude Code, Cursor or Codex
Connect AnythingLLM in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its AnythingLLM operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect AnythingLLM
- Create your workspace
Sign up free. Nothing to install.
- Connect AnythingLLM once
Add your AnythingLLM connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
AnythingLLM integration FAQ
What can you do with the AnythingLLM integration?
LiveContext exposes 43 operations on AnythingLLM, covering chat, user, embed and workspace.
