Skip to content

Commit 53a1a21

Browse files
committed
mcp server docs
Signed-off-by: Lukas Schaefer <[email protected]>
1 parent 86dd5b1 commit 53a1a21

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

admin_manual/ai/app_context_agent.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,20 @@ These tools can also be combined by the agent to fulfil tasks like the following
143143

144144
* Uses contacts to look up Andrew's email and then sends an email
145145

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+
146160
Requirements
147161
------------
148162

@@ -176,6 +190,13 @@ Other models that may give good results are:
176190

177191
See :ref:`llm2 documentation <ai-app-llm2>` on how to configure alternate models.
178192

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+
179200
Scaling
180201
-------
181202

@@ -198,4 +219,7 @@ Known Limitations
198219
* 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
199220
* Most models have difficulties with languages other than English. Some sometimes answer in another language than used by the user.
200221
* 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

Comments
 (0)