App: Context Agent (context_agent)


目录

The context_agent app is the app that provides AI agent functionality in Nextcloud's "Chat with AI" feature and acts as a backend for the Nextcloud Assistant app. Nextcloud can provide customer support upon request, please talk to your account manager for the possibilities.

When the Context Agent app is installed the AI Chat in Nextcloud Assistant will be able to interact with your Nextcloud apps via virtual integrations that are called "tools". They allow the Assistant to perform actions in your Nextcloud upon sending instructions in a chat message. Tool groups are only available if their requirements are met. They can be en- and disabled in the AI admin settings.

Additionally, the app makes all tools available via an MCP server that you can connect third-party agents to (see below).

Currently implemented tools

Artificial intelligence tools

Calendar tools

Tasks tools

Circles/teams tools

Collectives tools (require Collectives)

Contacts tools

Cookbook tools

Deck tools (require Deck)

Files tools

Forms tools

Bookmarks tools

Search tools

All search providers in Nextcloud are also automatically available as tools.

Share tools

  • Example prompt: "Does martin have write access to the Design/Ideas.md file I shared with him?"

Talk tools (require Talk)

Mail tools (require Mail)

Miscellaneous tools

Combining tools

These tools can also be combined by the agent to fulfil tasks like the following:

Custom Tools using MCP

Model Context Protocol (MCP) is a protocol that enables Large Language Models (LLMs) to interact with external data sources and tools. The Context Agent app allows administrators to extend its capabilities by adding custom services via MCP. This can be configured in the admin settings under "MCP Config," where you can provide a JSON configuration in the following format:

{
  "service-name": {
    "url": "https://service-url.com/endpoint",
    "transport": "streamable_http"
  }
}

Requirements

Installation

  1. Make sure the Nextcloud Assistant app is installed
  2. Install AppAPI and setup a Deploy Demon
  3. Install the "Context Agent" ExApp via the "Apps" page in the Nextcloud web admin user interface
  4. If you want to use the agent in the Nextcloud UI, install a text generation backend like llm2 or integration_openai via the "Apps" page in Nextcloud; if you only want to use the MCP server you don't need these.

Model requirements

This app requires underlying Large language models to support tool calling. The default model in llm2 does support tool calling since version 2.4.0. Other models that may give good results are:

See llm2 documentation on how to configure alternate models.

Using Nextcloud MCP Server

Context Agent exposes an MCP server that can be used by other large language models or applications to access the tools provided by Context Agent. The server will be available at https://your-nextcloud-domain.com/index.php/apps/app_api/proxy/context_agent/mcp/, and it requires authentication via an app password passed in the Authorization header. Ex: Authorization: Bearer <app-password>.

Scaling

It is currently not possible to scale this app, we are working on this.

App store

You can also find the app in our app store, where you can write a review: https://apps.nextcloud.com/apps/context_agent

Repository

You can find the app's code repository on GitHub where you can report bugs and contribute fixes and features: https://github.com/nextcloud/context_agent

Nextcloud customers should file bugs directly with our Support system.

Known Limitations


版本号 #3
由 cocobook-sync 创建于 2026-10-28 16:28:57 UTC
由 cocobook-sync 更新于 2026-10-29 01:09:22 UTC