nextcloud-agent 0.34.0__tar.gz → 2.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nextcloud_agent-2.3.1/PKG-INFO +642 -0
- nextcloud_agent-2.3.1/README.md +611 -0
- nextcloud_agent-2.3.1/nextcloud_agent/__init__.py +1 -0
- nextcloud_agent-2.3.1/nextcloud_agent/__main__.py +4 -0
- nextcloud_agent-2.3.1/nextcloud_agent/api/api_client_base.py +330 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/nextcloud_agent/api/api_client_calendar.py +14 -8
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/nextcloud_agent/api/api_client_contacts.py +14 -7
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/nextcloud_agent/api/api_client_files.py +13 -11
- nextcloud_agent-2.3.1/nextcloud_agent/api/xml_security.py +46 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/nextcloud_agent/auth.py +13 -17
- nextcloud_agent-2.3.1/nextcloud_agent/connectors/mcp_source_presets.json +14 -0
- nextcloud_agent-2.3.1/nextcloud_agent/connectors/tool_schema_fingerprints.json +8 -0
- nextcloud_agent-2.3.1/nextcloud_agent/kg_ingest.py +221 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/nextcloud_agent/mcp_server.py +30 -40
- nextcloud_agent-2.3.1/nextcloud_agent/ontology/__init__.py +7 -0
- nextcloud_agent-2.3.1/nextcloud_agent/ontology/certification.json +36 -0
- nextcloud_agent-2.3.1/nextcloud_agent/ontology/fixtures/records.json +20 -0
- nextcloud_agent-2.3.1/nextcloud_agent/ontology/mappings/source.yaml +20 -0
- nextcloud_agent-2.3.1/nextcloud_agent/ontology/migrations/manifest.json +6 -0
- nextcloud_agent-2.3.1/nextcloud_agent/ontology/nextcloud.ttl +92 -0
- nextcloud_agent-2.3.1/nextcloud_agent/ontology/shapes/connector.shacl.ttl +84 -0
- nextcloud_agent-2.3.1/nextcloud_agent/prompts/__init__.py +0 -0
- nextcloud_agent-2.3.1/nextcloud_agent/prompts/file_steward.json +43 -0
- nextcloud_agent-2.3.1/nextcloud_agent/skills/__init__.py +0 -0
- nextcloud_agent-2.3.1/nextcloud_agent/skills/nextcloud-agent-operations/SKILL.md +33 -0
- nextcloud_agent-2.3.1/nextcloud_agent/skills/nextcloud-agent-operations/agents/openai.yaml +4 -0
- nextcloud_agent-2.3.1/nextcloud_agent/skills/nextcloud-agent-operations/references/catalog.md +7 -0
- nextcloud_agent-2.3.1/nextcloud_agent/skills/nextcloud-files/SKILL.md +89 -0
- nextcloud_agent-2.3.1/nextcloud_agent/skills/nextcloud-files/WORKFLOW.md +78 -0
- nextcloud_agent-2.3.1/nextcloud_agent/skills/nextcloud-ingest/SKILL.md +82 -0
- nextcloud_agent-2.3.1/nextcloud_agent/skills/nextcloud-ingest/WORKFLOW.md +70 -0
- nextcloud_agent-2.3.1/nextcloud_agent/skills/nextcloud-shares/SKILL.md +81 -0
- nextcloud_agent-2.3.1/nextcloud_agent/skills/nextcloud-shares/WORKFLOW.md +70 -0
- nextcloud_agent-2.3.1/nextcloud_agent.egg-info/PKG-INFO +642 -0
- nextcloud_agent-2.3.1/nextcloud_agent.egg-info/SOURCES.txt +56 -0
- nextcloud_agent-2.3.1/nextcloud_agent.egg-info/entry_points.txt +17 -0
- nextcloud_agent-2.3.1/nextcloud_agent.egg-info/requires.txt +18 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/nextcloud_agent.egg-info/top_level.txt +3 -0
- nextcloud_agent-2.3.1/pyproject.toml +84 -0
- nextcloud_agent-2.3.1/scripts/security_sanitizer.py +318 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/scripts/verify_api_integration.py +153 -112
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/tests/conftest.py +1 -0
- nextcloud_agent-2.3.1/tests/test_api_client.py +0 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/tests/test_auth.py +8 -6
- nextcloud_agent-2.3.1/tests/test_cli_server.py +18 -0
- nextcloud_agent-2.3.1/tests/test_fleet_name.py +53 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/tests/test_init_dynamics.py +10 -1
- nextcloud_agent-2.3.1/tests/test_kg_ingest.py +128 -0
- nextcloud_agent-2.3.1/tests/test_mcp_server.py +100 -0
- nextcloud_agent-2.3.1/tests/test_xml_security.py +68 -0
- nextcloud_agent-0.34.0/PKG-INFO +0 -366
- nextcloud_agent-0.34.0/README.md +0 -341
- nextcloud_agent-0.34.0/nextcloud_agent/__init__.py +0 -1
- nextcloud_agent-0.34.0/nextcloud_agent/__main__.py +0 -4
- nextcloud_agent-0.34.0/nextcloud_agent/agent_server.py +0 -85
- nextcloud_agent-0.34.0/nextcloud_agent/api/api_client_base.py +0 -129
- nextcloud_agent-0.34.0/nextcloud_agent/mcp/__init__.py +0 -19
- nextcloud_agent-0.34.0/nextcloud_agent/mcp/mcp_calendar.py +0 -56
- nextcloud_agent-0.34.0/nextcloud_agent/mcp/mcp_contacts.py +0 -56
- nextcloud_agent-0.34.0/nextcloud_agent/mcp/mcp_files.py +0 -66
- nextcloud_agent-0.34.0/nextcloud_agent/mcp/mcp_sharing.py +0 -56
- nextcloud_agent-0.34.0/nextcloud_agent/mcp/mcp_user.py +0 -52
- nextcloud_agent-0.34.0/nextcloud_agent.egg-info/PKG-INFO +0 -366
- nextcloud_agent-0.34.0/nextcloud_agent.egg-info/SOURCES.txt +0 -39
- nextcloud_agent-0.34.0/nextcloud_agent.egg-info/entry_points.txt +0 -3
- nextcloud_agent-0.34.0/nextcloud_agent.egg-info/requires.txt +0 -10
- nextcloud_agent-0.34.0/pyproject.toml +0 -56
- nextcloud_agent-0.34.0/scripts/security_sanitizer.py +0 -160
- nextcloud_agent-0.34.0/tests/test_action_discovery.py +0 -59
- nextcloud_agent-0.34.0/tests/test_cli_server.py +0 -61
- nextcloud_agent-0.34.0/tests/test_concept_parity.py +0 -89
- nextcloud_agent-0.34.0/tests/test_mcp_server.py +0 -172
- nextcloud_agent-0.34.0/tests/test_startup.py +0 -11
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/LICENSE +0 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/nextcloud_agent/api/__init__.py +0 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/nextcloud_agent/api_client.py +0 -0
- nextcloud_agent-0.34.0/tests/test_api_client.py → nextcloud_agent-2.3.1/nextcloud_agent/connectors/__init__.py +0 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/nextcloud_agent/mcp_config.json +0 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/nextcloud_agent.egg-info/dependency_links.txt +0 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/setup.cfg +0 -0
- {nextcloud_agent-0.34.0 → nextcloud_agent-2.3.1}/tests/test_init.py +1 -1
|
@@ -0,0 +1,642 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nextcloud-agent
|
|
3
|
+
Version: 2.3.1
|
|
4
|
+
Summary: Nextcloud MCP Server for Agentic AI!
|
|
5
|
+
Author-email: Project Maintainers <maintainers@users.noreply.github.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Classifier: Development Status :: 3 - Alpha
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Environment :: Console
|
|
10
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Requires-Python: >=3.12
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.14
|
|
16
|
+
Requires-Dist: requests>=2.34.2
|
|
17
|
+
Requires-Dist: defusedxml>=0.7.1
|
|
18
|
+
Requires-Dist: python-dateutil>=2.9.0.post0
|
|
19
|
+
Requires-Dist: icalendar>=7.3.0
|
|
20
|
+
Requires-Dist: vobject>=0.9.9
|
|
21
|
+
Provides-Extra: mcp
|
|
22
|
+
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.14; extra == "mcp"
|
|
23
|
+
Provides-Extra: all
|
|
24
|
+
Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.14; extra == "all"
|
|
25
|
+
Provides-Extra: test
|
|
26
|
+
Requires-Dist: pytest-xdist>=3.8.0; extra == "test"
|
|
27
|
+
Requires-Dist: pytest>=9.1.1; extra == "test"
|
|
28
|
+
Requires-Dist: pytest-asyncio>=1.4.0; extra == "test"
|
|
29
|
+
Requires-Dist: pytest-cov>=7.1.0; extra == "test"
|
|
30
|
+
Dynamic: license-file
|
|
31
|
+
|
|
32
|
+
# Nextcloud Agent
|
|
33
|
+
## CLI or API | MCP | Agent
|
|
34
|
+
|
|
35
|
+

|
|
36
|
+

|
|
37
|
+

|
|
38
|
+

|
|
39
|
+

|
|
40
|
+

|
|
41
|
+

|
|
42
|
+

|
|
43
|
+

|
|
44
|
+

|
|
45
|
+

|
|
46
|
+

|
|
47
|
+

|
|
48
|
+

|
|
49
|
+

|
|
50
|
+

|
|
51
|
+

|
|
52
|
+

|
|
53
|
+
|
|
54
|
+
*Version: 2.3.1*
|
|
55
|
+
|
|
56
|
+
> **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
|
|
57
|
+
> interfaces, and guidance for provisioning the backing Nextcloud instance are
|
|
58
|
+
> maintained in the [official documentation](https://knuckles-team.github.io/nextcloud-agent/).
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Overview
|
|
63
|
+
|
|
64
|
+
**Nextcloud Agent** is a production-grade Agent and Model Context Protocol (MCP) server designed to interface directly with Nextcloud MCP Server for Agentic AI!.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Key Features
|
|
69
|
+
|
|
70
|
+
- **Consolidated Action-Routed MCP Tools:** Minimizes token overhead and eliminates tool bloat in LLM contexts by grouping methods into optimized, togglable tool modules.
|
|
71
|
+
- **Enterprise-Grade Security:** Complete support for Eunomia policies, OIDC token delegation, and granular execution context tracking.
|
|
72
|
+
- **Integrated Graph Agent:** Built-in Pydantic AI agent supporting the Agent Control Protocol (ACP) and standard Web interfaces (AG-UI).
|
|
73
|
+
- **Native Telemetry & Tracing:** Out-of-the-box OpenTelemetry exports and native Langfuse tracing.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## CLI or API
|
|
78
|
+
|
|
79
|
+
This agent wraps the Nextcloud MCP Server for Agentic AI! API. The operator can interact with it programmatically or via its integrated execution entrypoints.
|
|
80
|
+
|
|
81
|
+
Detailed instructions on how to use the underlying API wrappers, extended schema bindings, and developer SDK references are maintained in [docs/index.md](docs/index.md).
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## MCP
|
|
86
|
+
|
|
87
|
+
This server use dynamic Action-Routed tools to optimize token overhead and maximize IDE compatibility.
|
|
88
|
+
|
|
89
|
+
### Available MCP Tools
|
|
90
|
+
|
|
91
|
+
<!-- This table is auto-generated by `python -m agent_connector_sdk.mcp.readme_tools` — do not edit by hand. -->
|
|
92
|
+
|
|
93
|
+
<!-- MCP-TOOLS-TABLE:START -->
|
|
94
|
+
|
|
95
|
+
#### Condensed action-routed tools (`MCP_TOOL_MODE=condensed`)
|
|
96
|
+
|
|
97
|
+
| MCP Tool | Toggle Env Var | Description |
|
|
98
|
+
|----------|----------------|-------------|
|
|
99
|
+
| `nextcloud_calendar` | `CALENDARTOOL` | Manage nextcloud calendar operations. |
|
|
100
|
+
| `nextcloud_contacts` | `CONTACTSTOOL` | Manage nextcloud contacts operations. |
|
|
101
|
+
| `nextcloud_files` | `FILESTOOL` | Manage nextcloud files operations. |
|
|
102
|
+
| `nextcloud_ingest_file` | `INGESTTOOL` | Fetch a Nextcloud file over WebDAV and natively store it in the knowledge |
|
|
103
|
+
| `nextcloud_sharing` | `SHARINGTOOL` | Manage nextcloud sharing operations. |
|
|
104
|
+
| `nextcloud_user` | `USERTOOL` | Manage nextcloud user operations. |
|
|
105
|
+
|
|
106
|
+
#### Verbose 1:1 API-mapped tools (`MCP_TOOL_MODE=verbose` or `both`)
|
|
107
|
+
|
|
108
|
+
<details>
|
|
109
|
+
<summary>26 per-operation tools — one per public API method (click to expand)</summary>
|
|
110
|
+
|
|
111
|
+
| MCP Tool | Toggle Env Var | Description |
|
|
112
|
+
|----------|----------------|-------------|
|
|
113
|
+
| `nextcloud_copy_item` | `APITOOL` | Alias for copy_resource to support MCP server action. |
|
|
114
|
+
| `nextcloud_copy_resource` | `APITOOL` | Copy a file or directory. |
|
|
115
|
+
| `nextcloud_create_calendar_event` | `APITOOL` | Alias for create_event to support MCP server action. |
|
|
116
|
+
| `nextcloud_create_contact` | `APITOOL` | Invoke the create_contact operation. |
|
|
117
|
+
| `nextcloud_create_directory` | `APITOOL` | Create a directory (MKCOL). |
|
|
118
|
+
| `nextcloud_create_event` | `APITOOL` | Create an event with ICS data. |
|
|
119
|
+
| `nextcloud_create_folder` | `APITOOL` | Alias for create_directory to support MCP server action. |
|
|
120
|
+
| `nextcloud_create_share` | `APITOOL` | Create a share. |
|
|
121
|
+
| `nextcloud_delete_item` | `APITOOL` | Alias for delete_resource to support MCP server action. |
|
|
122
|
+
| `nextcloud_delete_resource` | `APITOOL` | Delete a file or directory. |
|
|
123
|
+
| `nextcloud_delete_share` | `APITOOL` | Delete a share. |
|
|
124
|
+
| `nextcloud_get_properties` | `APITOOL` | Helper to get properties of a path by listing its contents. |
|
|
125
|
+
| `nextcloud_get_user_info` | `APITOOL` | Get current user info. |
|
|
126
|
+
| `nextcloud_get_user_quota` | `APITOOL` | Get storage quota information. |
|
|
127
|
+
| `nextcloud_list_address_books` | `APITOOL` | List address books. |
|
|
128
|
+
| `nextcloud_list_calendar_events` | `APITOOL` | Alias for list_events to support MCP server action. |
|
|
129
|
+
| `nextcloud_list_calendars` | `APITOOL` | List available calendars. |
|
|
130
|
+
| `nextcloud_list_contacts` | `APITOOL` | List contacts in address book. |
|
|
131
|
+
| `nextcloud_list_contents` | `APITOOL` | List files and folders in a directory using PROPFIND. |
|
|
132
|
+
| `nextcloud_list_events` | `APITOOL` | List events in a calendar (returns basic info). |
|
|
133
|
+
| `nextcloud_list_files` | `APITOOL` | Alias for list_contents to support MCP server action. |
|
|
134
|
+
| `nextcloud_list_shares` | `APITOOL` | List all shares. |
|
|
135
|
+
| `nextcloud_move_item` | `APITOOL` | Alias for move_resource to support MCP server action. |
|
|
136
|
+
| `nextcloud_move_resource` | `APITOOL` | Move a file or directory. |
|
|
137
|
+
| `nextcloud_read_file` | `APITOOL` | Download a file. |
|
|
138
|
+
| `nextcloud_write_file` | `APITOOL` | Upload a file. |
|
|
139
|
+
|
|
140
|
+
</details>
|
|
141
|
+
|
|
142
|
+
_6 action-routed tool(s) · 26 verbose 1:1 tool(s). Each is enabled unless its `<DOMAIN>TOOL` toggle is set false; `MCP_TOOL_MODE` selects the surface (**`intent` default** — the six verb-tools, granular set loaded on demand · `condensed` action-routed · `verbose` 1:1 · `both`). Auto-generated — do not edit._
|
|
143
|
+
<!-- MCP-TOOLS-TABLE:END -->
|
|
144
|
+
|
|
145
|
+
Detailed tool schemas, parameter shapes, and validation constraints are preserved in [docs/usage.md](docs/usage.md).
|
|
146
|
+
|
|
147
|
+
### Dynamic Tool Selection & Visibility
|
|
148
|
+
|
|
149
|
+
This MCP server supports dynamic toolset selection and visibility filtering at runtime. This allows the operator to restrict the set of exposed tools to prevent blowing up the LLM's context window.
|
|
150
|
+
|
|
151
|
+
The operator can configure tool filtering via multiple input channels:
|
|
152
|
+
|
|
153
|
+
- **CLI Arguments:** Pass `--tools` or `--toolsets` (or their disabled counterparts `--disabled-tools` and `--disabled-toolsets`) during startup.
|
|
154
|
+
- **Environment Variables:** Define standard environment variables:
|
|
155
|
+
- `MCP_ENABLED_TOOLS` / `MCP_DISABLED_TOOLS`
|
|
156
|
+
- `MCP_ENABLED_TAGS` / `MCP_DISABLED_TAGS`
|
|
157
|
+
- **HTTP SSE Request Headers:** Pass custom headers during transport initialization:
|
|
158
|
+
- `x-mcp-enabled-tools` / `x-mcp-disabled-tools`
|
|
159
|
+
- `x-mcp-enabled-tags` / `x-mcp-disabled-tags`
|
|
160
|
+
- **HTTP SSE Request Query Parameters:** Append query parameters directly to the operator's transport connection URL:
|
|
161
|
+
- `?tools=tool1,tool2`
|
|
162
|
+
- `?tags=tag1`
|
|
163
|
+
|
|
164
|
+
When query strings or parameters are supplied, an LLM-free **Knowledge Graph resolution layer** (using `DynamicToolOrchestrator`) matches query intents against known tool tags, names, or descriptions, with safe fallback and automated 24-hour background cache refreshing.
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
### MCP Configuration Examples
|
|
169
|
+
|
|
170
|
+
<!-- MCP-CONFIG-EXAMPLES:START -->
|
|
171
|
+
|
|
172
|
+
> **Install the connector-focused `[mcp]` extra.** Examples use `nextcloud-agent[mcp]` to add
|
|
173
|
+
> FastMCP / FastAPI through `agent-connector-sdk[mcp]`; the required Agent Utilities core
|
|
174
|
+
> still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
|
|
175
|
+
> enables model orchestration.
|
|
176
|
+
|
|
177
|
+
#### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
|
|
178
|
+
|
|
179
|
+
```json
|
|
180
|
+
{
|
|
181
|
+
"mcpServers": {
|
|
182
|
+
"nextcloud-mcp": {
|
|
183
|
+
"command": "uvx",
|
|
184
|
+
"args": [
|
|
185
|
+
"--from",
|
|
186
|
+
"nextcloud-agent[mcp]",
|
|
187
|
+
"nextcloud-mcp"
|
|
188
|
+
],
|
|
189
|
+
"env": {
|
|
190
|
+
"CALENDARTOOL": "True",
|
|
191
|
+
"CONTACTSTOOL": "True",
|
|
192
|
+
"FILESTOOL": "True",
|
|
193
|
+
"NEXTCLOUD_PASSWORD": "your_password",
|
|
194
|
+
"NEXTCLOUD_URL": "https://nextcloud.example.com",
|
|
195
|
+
"NEXTCLOUD_USERNAME": "your_username",
|
|
196
|
+
"SHARINGTOOL": "True",
|
|
197
|
+
"USERTOOL": "True"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
Runtime references require an alias-aware launcher such as Arbora. Other
|
|
205
|
+
launchers must omit those entries and inject the resolved values through their
|
|
206
|
+
own runtime secret boundary.
|
|
207
|
+
|
|
208
|
+
#### Streamable-HTTP Transport (networked / production)
|
|
209
|
+
|
|
210
|
+
```json
|
|
211
|
+
{
|
|
212
|
+
"mcpServers": {
|
|
213
|
+
"nextcloud-mcp": {
|
|
214
|
+
"command": "uvx",
|
|
215
|
+
"args": [
|
|
216
|
+
"--from",
|
|
217
|
+
"nextcloud-agent[mcp]",
|
|
218
|
+
"nextcloud-mcp",
|
|
219
|
+
"--transport",
|
|
220
|
+
"streamable-http",
|
|
221
|
+
"--port",
|
|
222
|
+
"8000"
|
|
223
|
+
],
|
|
224
|
+
"env": {
|
|
225
|
+
"TRANSPORT": "streamable-http",
|
|
226
|
+
"HOST": "127.0.0.1",
|
|
227
|
+
"PORT": "8000",
|
|
228
|
+
"CALENDARTOOL": "True",
|
|
229
|
+
"CONTACTSTOOL": "True",
|
|
230
|
+
"FILESTOOL": "True",
|
|
231
|
+
"NEXTCLOUD_PASSWORD": "your_password",
|
|
232
|
+
"NEXTCLOUD_URL": "https://nextcloud.example.com",
|
|
233
|
+
"NEXTCLOUD_USERNAME": "your_username",
|
|
234
|
+
"SHARINGTOOL": "True",
|
|
235
|
+
"USERTOOL": "True"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
Alternatively, connect to a pre-deployed Streamable-HTTP instance by `url`:
|
|
243
|
+
|
|
244
|
+
```json
|
|
245
|
+
{
|
|
246
|
+
"mcpServers": {
|
|
247
|
+
"nextcloud-mcp": {
|
|
248
|
+
"url": "http://localhost:8000/nextcloud-mcp/mcp"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
Run a reviewed container image as a least-privilege stdio child (no
|
|
255
|
+
listener or published port):
|
|
256
|
+
|
|
257
|
+
```bash
|
|
258
|
+
docker run -i --rm \
|
|
259
|
+
--read-only \
|
|
260
|
+
--cap-drop=ALL \
|
|
261
|
+
--security-opt=no-new-privileges \
|
|
262
|
+
--pids-limit=256 \
|
|
263
|
+
--tmpfs /tmp:rw,noexec,nosuid,nodev,size=64m \
|
|
264
|
+
-e TRANSPORT=stdio \
|
|
265
|
+
-e MCP_TOOL_MODE=intent \
|
|
266
|
+
-e CALENDARTOOL=True \
|
|
267
|
+
-e CONTACTSTOOL=True \
|
|
268
|
+
-e FILESTOOL=True \
|
|
269
|
+
-e INGESTTOOL=True \
|
|
270
|
+
-e NEXTCLOUD_PASSWORD=your_password \
|
|
271
|
+
-e NEXTCLOUD_URL=https://nextcloud.example.com \
|
|
272
|
+
-e NEXTCLOUD_USERNAME=your_username \
|
|
273
|
+
-e SHARINGTOOL=True \
|
|
274
|
+
-e USERTOOL=True \
|
|
275
|
+
registry.example.invalid/nextcloud-agent@sha256:<digest> nextcloud-mcp
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
For containerized network HTTP, supply an authenticated TLS ingress (or
|
|
279
|
+
direct server TLS), exact `MCP_ALLOWED_HOSTS`, and an exact trusted-proxy
|
|
280
|
+
CIDR policy through the operator-owned deployment profile. The generator
|
|
281
|
+
does not emit an unauthenticated non-loopback listener.
|
|
282
|
+
|
|
283
|
+
_Auto-generated from the code-read env surface (`MCP_TOOL_MODE` + package vars) — do not edit._
|
|
284
|
+
<!-- MCP-CONFIG-EXAMPLES:END -->
|
|
285
|
+
|
|
286
|
+
<!-- BEGIN GENERATED: additional-deployment-options -->
|
|
287
|
+
### Additional Deployment Options
|
|
288
|
+
|
|
289
|
+
`nextcloud-agent` can also run as a **local container** (Docker / Podman / `uv`) or be
|
|
290
|
+
consumed from a **remote deployment**. The
|
|
291
|
+
[Deployment guide](https://knuckles-team.github.io/nextcloud-agent/deployment/) has full, copy-paste
|
|
292
|
+
`mcp_config.json` for all four transports — **stdio**, **streamable-http**,
|
|
293
|
+
**local container / uv**, and **remote URL**:
|
|
294
|
+
|
|
295
|
+
- **Local container / uv** — launch the server from `mcp_config.json` via `uvx`,
|
|
296
|
+
`docker run`, or `podman run`, or point at a local streamable-http container by `url`.
|
|
297
|
+
The published container runs as a reviewed, least-privilege stdio child with no
|
|
298
|
+
listener or published port by default (see the hardened `docker run` example above).
|
|
299
|
+
- **Remote URL** — connect to a server deployed behind Caddy at
|
|
300
|
+
`https://nextcloud-mcp.example.invalid/mcp` using the `"url"` key, or through any
|
|
301
|
+
operator-supplied authenticated HTTPS ingress. Keep its URL, outbound identity
|
|
302
|
+
references, trust profile, and exact `MCP_ALLOWED_HOSTS` in `AgentConfig`.
|
|
303
|
+
<!-- END GENERATED: additional-deployment-options -->
|
|
304
|
+
|
|
305
|
+
## Agent
|
|
306
|
+
|
|
307
|
+
This repository features a fully integrated Pydantic AI Graph Agent. It communicates over the **Agent Control Protocol (ACP)** and interacts smoothly with the **Agent Web UI (AG-UI)** and Terminal interface.
|
|
308
|
+
|
|
309
|
+
### Running the Agent CLI
|
|
310
|
+
To start the interactive command-line agent:
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
# Set credentials
|
|
314
|
+
export NEXTCLOUD_URL="your_value"
|
|
315
|
+
export NEXTCLOUD_USERNAME="your_value"
|
|
316
|
+
export NEXTCLOUD_PASSWORD="your_value"
|
|
317
|
+
|
|
318
|
+
# Run the agent server
|
|
319
|
+
nextcloud-agent --provider openai --model-id gpt-4o
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
### Docker Compose Orchestration
|
|
323
|
+
The following `docker/agent.compose.yml` configures the Agent, Web UI, and Terminal Interface together:
|
|
324
|
+
|
|
325
|
+
```yaml
|
|
326
|
+
version: '3.8'
|
|
327
|
+
|
|
328
|
+
services:
|
|
329
|
+
nextcloud-agent-mcp:
|
|
330
|
+
image: knucklessg1/nextcloud-agent:mcp
|
|
331
|
+
container_name: nextcloud-agent-mcp
|
|
332
|
+
hostname: nextcloud-agent-mcp
|
|
333
|
+
restart: always
|
|
334
|
+
env_file:
|
|
335
|
+
- ../.env
|
|
336
|
+
environment:
|
|
337
|
+
- PYTHONUNBUFFERED=1
|
|
338
|
+
- HOST=0.0.0.0
|
|
339
|
+
- PORT=8000
|
|
340
|
+
- TRANSPORT=streamable-http
|
|
341
|
+
ports:
|
|
342
|
+
- "8000:8000"
|
|
343
|
+
healthcheck:
|
|
344
|
+
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
|
|
345
|
+
interval: 30s
|
|
346
|
+
timeout: 10s
|
|
347
|
+
retries: 3
|
|
348
|
+
start_period: 10s
|
|
349
|
+
logging:
|
|
350
|
+
driver: json-file
|
|
351
|
+
options:
|
|
352
|
+
max-size: "10m"
|
|
353
|
+
max-file: "3"
|
|
354
|
+
|
|
355
|
+
nextcloud-agent-agent:
|
|
356
|
+
image: knucklessg1/nextcloud-agent:2.3.1
|
|
357
|
+
container_name: nextcloud-agent-agent
|
|
358
|
+
hostname: nextcloud-agent-agent
|
|
359
|
+
restart: always
|
|
360
|
+
depends_on:
|
|
361
|
+
- nextcloud-agent-mcp
|
|
362
|
+
env_file:
|
|
363
|
+
- ../.env
|
|
364
|
+
command: [ "nextcloud-agent" ]
|
|
365
|
+
environment:
|
|
366
|
+
- PYTHONUNBUFFERED=1
|
|
367
|
+
- HOST=0.0.0.0
|
|
368
|
+
- PORT=9016
|
|
369
|
+
- MCP_URL=http://nextcloud-agent-mcp:8000/mcp
|
|
370
|
+
- ENABLE_OTEL=True
|
|
371
|
+
ports:
|
|
372
|
+
- "9016:9016"
|
|
373
|
+
healthcheck:
|
|
374
|
+
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:9016/health')"]
|
|
375
|
+
interval: 30s
|
|
376
|
+
timeout: 10s
|
|
377
|
+
retries: 3
|
|
378
|
+
start_period: 10s
|
|
379
|
+
logging:
|
|
380
|
+
driver: json-file
|
|
381
|
+
options:
|
|
382
|
+
max-size: "10m"
|
|
383
|
+
max-file: "3"
|
|
384
|
+
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
Detailed graph node architecture explanations, custom skill configurations, and agentic trace guides are available in [docs/deployment.md](docs/deployment.md).
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
## Security & Governance
|
|
392
|
+
|
|
393
|
+
Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.com/Knuckles-Team/agent-connector-sdk) core, standard security parameters are fully supported:
|
|
394
|
+
|
|
395
|
+
### Access Control & Policy Enforcement
|
|
396
|
+
- **Eunomia Policies:** Fine-grained, policy-driven tool authorization. Supports `none`, local `embedded` (`mcp_policies.json`), or centralized `remote` modes.
|
|
397
|
+
- **OIDC Token Delegation:** Compliant with RFC 8693 token exchange for flowing authenticating user credentials from Web UI / ACP → Agent → MCP.
|
|
398
|
+
- **Scoped Credentials:** Execution context runs restricted to the specific caller identity.
|
|
399
|
+
|
|
400
|
+
### Runtime Security Grid
|
|
401
|
+
| Feature | Feature | Enablement |
|
|
402
|
+
|---------|---------------|------------|
|
|
403
|
+
| **Tool Guard** | Sensitivity inspection with human-in-the-loop validation | Enabled by default |
|
|
404
|
+
| **Prompt Injection Defense** | Input scanning, repetition monitoring, and recursive loop blocks | Enabled by default |
|
|
405
|
+
| **Context Safety Guard** | Stuck-loop detectors and contextual overflow preemptive alerts | Enabled by default |
|
|
406
|
+
|
|
407
|
+
---
|
|
408
|
+
|
|
409
|
+
## Environment Variables
|
|
410
|
+
|
|
411
|
+
<!-- ENV-VARS-TABLE:START -->
|
|
412
|
+
|
|
413
|
+
#### Package environment variables
|
|
414
|
+
|
|
415
|
+
| Variable | Example | Description |
|
|
416
|
+
|----------|---------|-------------|
|
|
417
|
+
| `HOST` | `0.0.0.0` | |
|
|
418
|
+
| `PORT` | `8000` | |
|
|
419
|
+
| `TRANSPORT` | `stdio` | options: stdio, streamable-http, sse |
|
|
420
|
+
| `ENABLE_OTEL` | `True` | |
|
|
421
|
+
| `OTEL_EXPORTER_OTLP_ENDPOINT` | `http://localhost:8080/api/public/otel` | |
|
|
422
|
+
| `OTEL_EXPORTER_OTLP_PUBLIC_KEY_REF` | `vault-ref-to-pk` | |
|
|
423
|
+
| `OTEL_EXPORTER_OTLP_SECRET_KEY_REF` | `vault-ref-to-sk` | |
|
|
424
|
+
| `OTEL_EXPORTER_OTLP_PROTOCOL` | `http/protobuf` | |
|
|
425
|
+
| `EUNOMIA_TYPE` | `none` | options: none, embedded, remote |
|
|
426
|
+
| `EUNOMIA_POLICY_FILE` | `mcp_policies.json` | |
|
|
427
|
+
| `EUNOMIA_REMOTE_URL` | `http://eunomia-server:8000` | |
|
|
428
|
+
| `NEXTCLOUD_URL` | `https://nextcloud.example.com` | |
|
|
429
|
+
| `NEXTCLOUD_USERNAME` | `your_username` | |
|
|
430
|
+
| `NEXTCLOUD_PASSWORD` | secret-injected | |
|
|
431
|
+
| `TLS_PROFILE` | `private-ca` | AgentConfig named transport profile |
|
|
432
|
+
| `TLS_PROFILE_REF` | `secret://transport/provider` | Direct runtime profile reference |
|
|
433
|
+
| `TLS_PROFILES_REF` | `secret://transport/catalog` | Named runtime profile catalog |
|
|
434
|
+
| `FILESTOOL` | `True` | |
|
|
435
|
+
| `USERTOOL` | `True` | |
|
|
436
|
+
| `SHARINGTOOL` | `True` | |
|
|
437
|
+
| `CALENDARTOOL` | `True` | |
|
|
438
|
+
| `CONTACTSTOOL` | `True` | |
|
|
439
|
+
|
|
440
|
+
#### Inherited agent-connector-sdk variables (apply to every connector)
|
|
441
|
+
|
|
442
|
+
| Variable | Example | Description |
|
|
443
|
+
|----------|---------|-------------|
|
|
444
|
+
| `MCP_ENABLED_TOOLS` | — | Comma-separated tool allow-list |
|
|
445
|
+
| `MCP_DISABLED_TOOLS` | — | Comma-separated tool deny-list |
|
|
446
|
+
| `MCP_ENABLED_TAGS` | — | Comma-separated tag allow-list |
|
|
447
|
+
| `MCP_DISABLED_TAGS` | — | Comma-separated tag deny-list |
|
|
448
|
+
| `MCP_CLIENT_AUTH` | — | Outbound MCP child auth: `oidc-client-credentials` \| `basic` \| `none` |
|
|
449
|
+
| `OIDC_CLIENT_ID` | — | OIDC client id (service-account auth) |
|
|
450
|
+
| `OIDC_CLIENT_SECRET_REF` | `secret://identity/oidc-client-secret` | Runtime secret reference for the OIDC service account |
|
|
451
|
+
| `MCP_BASIC_AUTH_USERNAME` | — | HTTP Basic username (`MCP_CLIENT_AUTH=basic`) |
|
|
452
|
+
| `MCP_BASIC_AUTH_PASSWORD_REF` | `secret://identity/mcp-basic-password` | Runtime secret reference for HTTP Basic auth (`MCP_CLIENT_AUTH=basic`) |
|
|
453
|
+
| `DEBUG` | `False` | Verbose logging |
|
|
454
|
+
| `PYTHONUNBUFFERED` | `1` | Unbuffered stdout (recommended in containers) |
|
|
455
|
+
| `MCP_URL` | `http://localhost:8000/mcp` | URL of the MCP server the agent connects to |
|
|
456
|
+
|
|
457
|
+
_23 package + 16 inherited variable(s). Auto-generated from `.env.example` + the shared agent-connector-sdk set — do not edit._
|
|
458
|
+
<!-- ENV-VARS-TABLE:END -->
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
Every variable the server reads, grouped by purpose. See [`.env.example`](.env.example)
|
|
462
|
+
for a copy-paste starting point.
|
|
463
|
+
|
|
464
|
+
### Connection & Credentials
|
|
465
|
+
| Variable | Description | Default |
|
|
466
|
+
|----------|-------------|---------|
|
|
467
|
+
| `NEXTCLOUD_URL` | Base URL of the Nextcloud instance | `https://nextcloud.example.com` |
|
|
468
|
+
| `NEXTCLOUD_USERNAME` | Username (basic auth) | — |
|
|
469
|
+
| `NEXTCLOUD_PASSWORD` | Password / app password (basic auth) | — |
|
|
470
|
+
| `TLS_PROFILE` / `TLS_PROFILE_REF` | AgentConfig transport profile selector; peer verification is mandatory | — |
|
|
471
|
+
|
|
472
|
+
### MCP server / transport
|
|
473
|
+
| Variable | Description | Default |
|
|
474
|
+
|----------|-------------|---------|
|
|
475
|
+
| `TRANSPORT` | `stdio`, `streamable-http`, or `sse` | `stdio` |
|
|
476
|
+
| `HOST` | Bind host (HTTP transports) | `0.0.0.0` |
|
|
477
|
+
| `PORT` | Bind port (HTTP transports) | `8000` |
|
|
478
|
+
| `MCP_ENABLED_TOOLS` / `MCP_DISABLED_TOOLS` | Comma-separated tool allow/deny list | — |
|
|
479
|
+
| `MCP_ENABLED_TAGS` / `MCP_DISABLED_TAGS` | Comma-separated tag allow/deny list | — |
|
|
480
|
+
|
|
481
|
+
### Tool toggles
|
|
482
|
+
Each action-routed tool can be disabled individually via its toggle env var (set to `false`):
|
|
483
|
+
`FILESTOOL`, `USERTOOL`, `SHARINGTOOL`, `CALENDARTOOL`, `CONTACTSTOOL`. See the
|
|
484
|
+
[Available MCP Tools](#available-mcp-tools) table above.
|
|
485
|
+
|
|
486
|
+
### Telemetry & governance
|
|
487
|
+
| Variable | Description | Default |
|
|
488
|
+
|----------|-------------|---------|
|
|
489
|
+
| `ENABLE_OTEL` | Enable OpenTelemetry export | `True` |
|
|
490
|
+
| `OTEL_EXPORTER_OTLP_ENDPOINT` | OTLP collector endpoint | — |
|
|
491
|
+
| `OTEL_EXPORTER_OTLP_PUBLIC_KEY` / `OTEL_EXPORTER_OTLP_SECRET_KEY` | OTLP auth keys | — |
|
|
492
|
+
| `OTEL_EXPORTER_OTLP_PROTOCOL` | OTLP protocol (e.g. `http/protobuf`) | — |
|
|
493
|
+
| `EUNOMIA_TYPE` | Authorization mode: `none`, `embedded`, `remote` | `none` |
|
|
494
|
+
| `EUNOMIA_POLICY_FILE` | Embedded policy file | `mcp_policies.json` |
|
|
495
|
+
| `EUNOMIA_REMOTE_URL` | Remote Eunomia server URL | — |
|
|
496
|
+
|
|
497
|
+
---
|
|
498
|
+
|
|
499
|
+
## Installation
|
|
500
|
+
|
|
501
|
+
Pick the extra that matches what the operator want to run:
|
|
502
|
+
|
|
503
|
+
| Extra | Installs | Use when |
|
|
504
|
+
|-------|----------|----------|
|
|
505
|
+
| `nextcloud-agent[mcp]` | Connector-focused MCP server (`agent-connector-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
|
|
506
|
+
| `nextcloud-agent[agent]` | Agent runtime (`agent-connector-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
|
|
507
|
+
| `nextcloud-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
|
|
508
|
+
|
|
509
|
+
```bash
|
|
510
|
+
# Connector-focused MCP server (includes the shared graph engine)
|
|
511
|
+
uv pip install "nextcloud-agent[mcp]"
|
|
512
|
+
|
|
513
|
+
# Agent runtime (adds model orchestration to the shared graph engine)
|
|
514
|
+
uv pip install "nextcloud-agent[agent]"
|
|
515
|
+
|
|
516
|
+
# Everything (development)
|
|
517
|
+
uv pip install "nextcloud-agent[all]" # or: python -m pip install "nextcloud-agent[all]"
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
### Container images (`:mcp` vs `:agent`)
|
|
521
|
+
|
|
522
|
+
One multi-stage `docker/Dockerfile` builds two right-sized images, selected by `--target`:
|
|
523
|
+
|
|
524
|
+
| Image tag | Build target | Contents | Entrypoint |
|
|
525
|
+
|-----------|--------------|----------|------------|
|
|
526
|
+
| `knucklessg1/nextcloud-agent:mcp` | `--target mcp` | `nextcloud-agent[mcp]` — **connector-focused**, includes `epistemic-graph[full]`; no model-orchestration stack | `nextcloud-mcp` |
|
|
527
|
+
| `knucklessg1/nextcloud-agent:2.3.1` | `--target agent` (default) | `nextcloud-agent[agent]` — **agent runtime**, model orchestration + `epistemic-graph[full]` | `nextcloud-agent` |
|
|
528
|
+
|
|
529
|
+
```bash
|
|
530
|
+
docker build --target mcp -t knucklessg1/nextcloud-agent:mcp docker/ # connector-focused MCP server
|
|
531
|
+
docker build --target agent -t knucklessg1/nextcloud-agent:2.3.1 docker/ # agent runtime
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
`docker/mcp.compose.yml` runs the connector-focused `:mcp` server; `docker/agent.compose.yml` runs the
|
|
535
|
+
agent (`:2.3.1`) with a co-located `:mcp` sidecar.
|
|
536
|
+
|
|
537
|
+
### Knowledge-graph database (`epistemic-graph`)
|
|
538
|
+
|
|
539
|
+
Both `[mcp]` and `[agent]` carry the **epistemic-graph** engine through the required
|
|
540
|
+
Agent Utilities core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
|
|
541
|
+
the server connector-focused; `[agent]` also enables model orchestration. Local
|
|
542
|
+
deployments can use the bundled engine. For production — or to share one knowledge graph
|
|
543
|
+
across multiple agents — run **epistemic-graph as its own database container** and point the
|
|
544
|
+
agent at it instead of embedding it. Deployment recipes (single-node + Raft HA), connection
|
|
545
|
+
config, and the full database architecture (with diagrams) are documented in the
|
|
546
|
+
[epistemic-graph deployment guide](https://knuckles-team.github.io/epistemic-graph/deployment/).
|
|
547
|
+
|
|
548
|
+
---
|
|
549
|
+
|
|
550
|
+
## Documentation
|
|
551
|
+
|
|
552
|
+
The complete documentation is published as the
|
|
553
|
+
[official documentation site](https://knuckles-team.github.io/nextcloud-agent/) and is
|
|
554
|
+
the recommended reference for installation, deployment, and day-to-day operation.
|
|
555
|
+
|
|
556
|
+
| Page | Contents |
|
|
557
|
+
|---|---|
|
|
558
|
+
| [Installation](https://knuckles-team.github.io/nextcloud-agent/installation/) | pip, source, uv, prebuilt Docker image |
|
|
559
|
+
| [Deployment](https://knuckles-team.github.io/nextcloud-agent/deployment/) | run the MCP server and the agent, Compose, Caddy + Technitium, env config |
|
|
560
|
+
| [Usage](https://knuckles-team.github.io/nextcloud-agent/usage/) | the MCP tools, the `NextcloudAPI` client, the agent CLI |
|
|
561
|
+
| [Backing Platform](https://knuckles-team.github.io/nextcloud-agent/platform/) | deploy Nextcloud with Docker |
|
|
562
|
+
| [Overview](https://knuckles-team.github.io/nextcloud-agent/overview/) | the action-routed tool surface and ecosystem role |
|
|
563
|
+
| [Concepts](https://knuckles-team.github.io/nextcloud-agent/concepts/) | concept registry (`CONCEPT:NC-*`) |
|
|
564
|
+
|
|
565
|
+
---
|
|
566
|
+
|
|
567
|
+
## Repository Owners
|
|
568
|
+
|
|
569
|
+
<img width="100%" height="180em" src="https://github-readme-stats.vercel.app/api?username=example&show_icons=true&hide_border=true&&count_private=true&include_all_commits=true" />
|
|
570
|
+
|
|
571
|
+

|
|
572
|
+

|
|
573
|
+
|
|
574
|
+
---
|
|
575
|
+
|
|
576
|
+
## Contribute
|
|
577
|
+
|
|
578
|
+
Contributions are welcome! Please ensure code quality by running local checks before submitting pull requests:
|
|
579
|
+
- Format code using `ruff format .`
|
|
580
|
+
- Lint code using `ruff check .`
|
|
581
|
+
- Validate type-safety with `mypy .`
|
|
582
|
+
- Ran test suites using `pytest`
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
<!-- BEGIN agent-os-genesis-deploy (generated; do not edit between markers) -->
|
|
586
|
+
|
|
587
|
+
## Deploy with `agent-os-genesis`
|
|
588
|
+
|
|
589
|
+
This package can be provisioned for you — skill-guided — by the **`agent-os-genesis`**
|
|
590
|
+
universal skill (its *single-package deploy mode*): it picks your install method, seeds
|
|
591
|
+
secrets to OpenBao/Vault (or `.env`), trusts your enterprise CA, registers the MCP
|
|
592
|
+
server, and verifies it — the same machinery that stands up the whole Agent OS, narrowed
|
|
593
|
+
to just this package. Ask your agent to **"deploy `nextcloud-agent` with agent-os-genesis"**.
|
|
594
|
+
|
|
595
|
+
| Install mode | Command |
|
|
596
|
+
|------|---------|
|
|
597
|
+
| Bare-metal, prod (PyPI) | `uvx nextcloud-mcp` · or `uv tool install nextcloud-agent` |
|
|
598
|
+
| Bare-metal, dev (editable) | `uv pip install -e ".[all]"` · or `pip install -e ".[all]"` |
|
|
599
|
+
| Container, prod | deploy `knucklessg1/nextcloud-agent:2.3.1` via docker-compose / swarm / podman / podman-compose / kubernetes |
|
|
600
|
+
| Container, dev (editable) | deploy `docker/compose.dev.yml` (source-mounted at `/src`; edits live on restart) |
|
|
601
|
+
|
|
602
|
+
Secrets are read-existing + seeded via `vault_sync` — you are only prompted for what's missing.
|
|
603
|
+
|
|
604
|
+
<!-- END agent-os-genesis-deploy -->
|
|
605
|
+
|
|
606
|
+
<!-- BEGIN agent-connector-sdk-deployment (generated; do not edit between markers) -->
|
|
607
|
+
|
|
608
|
+
## Deploy with `agent-connector-sdk-deployment`
|
|
609
|
+
|
|
610
|
+
Provision this package with the consolidated **`agent-connector-sdk-deployment`**
|
|
611
|
+
workflow. It selects an installed-package, editable-source, or immutable-container
|
|
612
|
+
path; records only runtime secret and TLS-profile references in `AgentConfig`; and
|
|
613
|
+
runs doctor, registration, policy, observability, and rollback gates. Ask your agent
|
|
614
|
+
to **"deploy `nextcloud-agent` with agent-connector-sdk-deployment"**.
|
|
615
|
+
|
|
616
|
+
| Install mode | Command |
|
|
617
|
+
|------|---------|
|
|
618
|
+
| Installed package | `uv tool install "nextcloud-agent[mcp]"`, then run `nextcloud-mcp` |
|
|
619
|
+
| Editable source | `uv pip install -e ".[agent]"`, then run `nextcloud-mcp` |
|
|
620
|
+
| Immutable container | deploy `knucklessg1/nextcloud-agent:2.3.1` (or a pinned `@sha256:<digest>`) through the operator-selected orchestrator |
|
|
621
|
+
|
|
622
|
+
The repository embeds no deployment profile, credential value, certificate path, or
|
|
623
|
+
environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
|
|
624
|
+
configured secret provider.
|
|
625
|
+
|
|
626
|
+
<!-- END agent-connector-sdk-deployment -->
|
|
627
|
+
|
|
628
|
+
<!-- GOVERNED-CAPABILITY:START -->
|
|
629
|
+
## Governed capability contract
|
|
630
|
+
|
|
631
|
+
This package ships a compact canonical skill surface with specialist procedures
|
|
632
|
+
kept as referenced workflows. The current MCP tools, skill metadata,
|
|
633
|
+
`connector_manifest.yml`, ontology, mappings, shapes, fixtures, migrations,
|
|
634
|
+
tool-schema fingerprints, and certification metadata form one versioned
|
|
635
|
+
capability contract. Validate them together; do not rely on stale tool names or
|
|
636
|
+
historical per-task skill wrappers.
|
|
637
|
+
|
|
638
|
+
Runtime endpoints, credentials, certificate trust, tenant identity, retention,
|
|
639
|
+
and observability policy are deployment inputs and are never packaged values.
|
|
640
|
+
See [Configuration, trust, and privacy](docs/configuration.md) before enabling a
|
|
641
|
+
network transport, connector ingestion, Arbora delegation, or trace export.
|
|
642
|
+
<!-- GOVERNED-CAPABILITY:END -->
|