You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: admin_manual/ai/app_context_agent.rst
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,20 @@ These tools can also be combined by the agent to fulfil tasks like the following
143
143
144
144
* Uses contacts to look up Andrew's email and then sends an email
145
145
146
+
Custom Tools using MCP
147
+
-----------------------
148
+
149
+
The admin can add custom tools in the admin settings under MCP Config. Here the admin can input a json config in the following format:
150
+
151
+
.. code-block:: json
152
+
153
+
{
154
+
"service-name": {
155
+
"url": "https://service-url.com/endpoint",
156
+
"transport": "streamable_http"
157
+
}
158
+
}
159
+
146
160
Requirements
147
161
------------
148
162
@@ -176,6 +190,13 @@ Other models that may give good results are:
176
190
177
191
See :ref:`llm2 documentation <ai-app-llm2>` on how to configure alternate models.
178
192
193
+
Using Nextcloud MCP Server
194
+
--------------------------
195
+
196
+
Context Agent exposes an MCP server that can be used by other applications to access the tools provided by Context Agent.
197
+
The server will be available at `https://your-nextcloud-domain.com/index.php/apps/app_api/proxy/context_agent/mcp/`, and
198
+
it requires authentication via an app password passed in the `Authorization` header. Ex: `Authorization: Bearer <app-password>`.
199
+
179
200
Scaling
180
201
-------
181
202
@@ -198,4 +219,7 @@ Known Limitations
198
219
* Make sure to test the language model you are using in concert with this app for whether they meet the use-case's quality requirements
199
220
* Most models have difficulties with languages other than English. Some sometimes answer in another language than used by the user.
200
221
* Customer support is available upon request, however we can't solve false or problematic output, most performance issues, or other problems caused by the underlying model.
201
-
Support is thus limited only to bugs directly caused by the implementation of the app (connectors, API, front-end, AppAPI). We still try to optimize this as far as possible, so if you encounter any false or problematic output, you can report it `in a dedicated Github issue <https://github.com/nextcloud/context_agent/issues/51>`_ to help us improve this app.
222
+
Support is thus limited only to bugs directly caused by the implementation of the app (connectors, API, front-end, AppAPI). We still try to optimize this as far as possible, so if you encounter any false or problematic output, you can report it `in a dedicated Github issue <https://github.com/nextcloud/context_agent/issues/51>`_ to help us improve this app.
223
+
* When multiple MCP services are configured that have tools with the same name undefined behavior will occur.
224
+
* Only remote MCP services are supported (streamable_http transport).
225
+
* MCP services that require different access tokens for each user are not currently supported.
0 commit comments