Nextcloud Agent MCP sunucusu
Commit 13 Kas 2026Dosya, takvim, kişi, Deck panoları ve iletişimi yönetmek için bir AI agent'ına araçlar sağlamak amacıyla Nextcloud ile arayüz oluşturur.
Ayrıca bilinen adı Knuckles-Team/nextcloud-agent
- Yıldızlar
- 1
- Araçlar
- 90
- İndirmeler, 30 gün
- —
- En son sürüm
- —
- Son commit
- 13 Kas 2026
- Lisans
- MIT
Nextcloud Agent MCP nedir?
Dosya, takvim, kişi, Deck panoları ve iletişimi yönetmek için bir AI agent'ına araçlar sağlamak amacıyla Nextcloud ile arayüz oluşturur. 90 araç sunar; örneğin nextcloud_dismiss_notification, nextcloud_list_activities, nextcloud_list_notifications.
Özet, projenin README dosyasından oluşturuldu
Nextcloud Agent MCP sunucusu hakkında
Nextcloud Agent, kişisel ve profesyonel verileri yönetmek için kapsamlı bir araç seti sunarak AI agent'ları ile Nextcloud örnekleri arasında bir köprü görevi görür. Bir AI istemcisinin çeşitli Nextcloud modülleriyle tek bir arayüz üzerinden etkileşime girmesine olanak tanıyan bir MCP server olarak çalışır. Kullanıcılar dosyaları, takvimleri, kişileri, notları ve Deck panolarını yönetebilir veya Talk üzerinden iletişimi kontrol edebilirler. Sunucu, mevcut 89 aracını ACTIVITYTOOL, CALENDARTOOL ve FILESTOOL gibi belirli, açılıp kapatılabilir modüllere gruplandırarak token kullanımını en aza indirecek şekilde tasarlanmıştır.
Geliştiriciler bu sistemle bir CLI, bir API veya bir IDE içindeki MCP server aracılığıyla etkileşime girebilirler. Pydantic AI agent'ları için yerleşik desteğe sahiptir ve Agent Control Protocol protokolünü takip eder. Güvenlik önceliklidir; OIDC token delegasyonu ve Eunomia politika desteği gibi özellikler sunar. İzleme için sunucu, yürütmeyi ve telemetriyi takip etmek amacıyla yerleşik Langfuse izleme ve OpenTelemetry dışa aktarımları sağlar.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
Nextcloud Agent MCP araçları 90
README dosyasından algılandınextcloud_dismiss_notificationnextcloud_list_activitiesnextcloud_list_notificationsnextcloud_add_user_to_groupnextcloud_create_groupnextcloud_create_usernextcloud_delete_groupnextcloud_delete_usernextcloud_disable_appnextcloud_disable_usernextcloud_enable_appnextcloud_enable_user
| nextcloud_dismiss_notification | — | |
| nextcloud_list_activities | — | |
| nextcloud_list_notifications | — | |
| nextcloud_add_user_to_group | — | |
| nextcloud_create_group | — | |
| nextcloud_create_user | — | |
| nextcloud_delete_group | — | |
| nextcloud_delete_user | — | |
| nextcloud_disable_app | — | |
| nextcloud_disable_user | — | |
| nextcloud_enable_app | — | |
| nextcloud_enable_user | — |
90 aracın tümünü gösterDaha az araç göster
nextcloud_get_appnextcloud_get_usernextcloud_get_user_infonextcloud_list_appsnextcloud_list_group_membersnextcloud_list_groupsnextcloud_list_usersnextcloud_remove_user_from_groupnextcloud_update_usernextcloud_create_calendarnextcloud_create_eventnextcloud_create_tasknextcloud_delete_calendarnextcloud_delete_calendar_objectnextcloud_get_calendar_objectnextcloud_list_calendarsnextcloud_list_eventsnextcloud_list_tasksnextcloud_update_eventnextcloud_update_tasknextcloud_create_contactnextcloud_delete_contactnextcloud_get_contactnextcloud_list_address_booksnextcloud_list_contactsnextcloud_update_contactnextcloud_assign_card_usernextcloud_create_boardnextcloud_create_cardnextcloud_create_stacknextcloud_delete_boardnextcloud_delete_cardnextcloud_delete_stacknextcloud_get_boardnextcloud_get_cardnextcloud_list_boardsnextcloud_list_stacksnextcloud_move_cardnextcloud_update_cardnextcloud_copy_itemnextcloud_create_foldernextcloud_delete_itemnextcloud_get_propertiesnextcloud_get_user_quotanextcloud_list_filesnextcloud_list_trashnextcloud_list_versionsnextcloud_move_itemnextcloud_read_filenextcloud_restore_trash_itemnextcloud_restore_versionnextcloud_search_filesnextcloud_write_filenextcloud_create_notenextcloud_delete_notenextcloud_get_notenextcloud_list_notesnextcloud_update_notenextcloud_create_documentnextcloud_list_document_templatesnextcloud_open_documentnextcloud_create_sharenextcloud_delete_sharenextcloud_get_sharenextcloud_list_sharesnextcloud_update_sharenextcloud_add_participantnextcloud_create_conversationnextcloud_delete_conversationnextcloud_delete_messagenextcloud_get_conversationnextcloud_list_conversationsnextcloud_list_messagesnextcloud_list_participantsnextcloud_remove_participantnextcloud_rename_conversationnextcloud_send_messagex-mcp-enabled
| nextcloud_get_app | — | |
| nextcloud_get_user | — | |
| nextcloud_get_user_info | — | |
| nextcloud_list_apps | — | |
| nextcloud_list_group_members | — | |
| nextcloud_list_groups | — | |
| nextcloud_list_users | — | |
| nextcloud_remove_user_from_group | — | |
| nextcloud_update_user | — | |
| nextcloud_create_calendar | — | |
| nextcloud_create_event | — | |
| nextcloud_create_task | — | |
| nextcloud_delete_calendar | — | |
| nextcloud_delete_calendar_object | — | |
| nextcloud_get_calendar_object | — | |
| nextcloud_list_calendars | — | |
| nextcloud_list_events | — | |
| nextcloud_list_tasks | — | |
| nextcloud_update_event | — | |
| nextcloud_update_task | — | |
| nextcloud_create_contact | — | |
| nextcloud_delete_contact | — | |
| nextcloud_get_contact | — | |
| nextcloud_list_address_books | — | |
| nextcloud_list_contacts | — | |
| nextcloud_update_contact | — | |
| nextcloud_assign_card_user | — | |
| nextcloud_create_board | — | |
| nextcloud_create_card | — | |
| nextcloud_create_stack | — | |
| nextcloud_delete_board | — | |
| nextcloud_delete_card | — | |
| nextcloud_delete_stack | — | |
| nextcloud_get_board | — | |
| nextcloud_get_card | — | |
| nextcloud_list_boards | — | |
| nextcloud_list_stacks | — | |
| nextcloud_move_card | — | |
| nextcloud_update_card | — | |
| nextcloud_copy_item | — | |
| nextcloud_create_folder | — | |
| nextcloud_delete_item | — | |
| nextcloud_get_properties | — | |
| nextcloud_get_user_quota | — | |
| nextcloud_list_files | — | |
| nextcloud_list_trash | — | |
| nextcloud_list_versions | — | |
| nextcloud_move_item | — | |
| nextcloud_read_file | — | |
| nextcloud_restore_trash_item | — | |
| nextcloud_restore_version | — | |
| nextcloud_search_files | — | |
| nextcloud_write_file | — | |
| nextcloud_create_note | — | |
| nextcloud_delete_note | — | |
| nextcloud_get_note | — | |
| nextcloud_list_notes | — | |
| nextcloud_update_note | — | |
| nextcloud_create_document | — | |
| nextcloud_list_document_templates | — | |
| nextcloud_open_document | — | |
| nextcloud_create_share | — | |
| nextcloud_delete_share | — | |
| nextcloud_get_share | — | |
| nextcloud_list_shares | — | |
| nextcloud_update_share | — | |
| nextcloud_add_participant | — | |
| nextcloud_create_conversation | — | |
| nextcloud_delete_conversation | — | |
| nextcloud_delete_message | — | |
| nextcloud_get_conversation | — | |
| nextcloud_list_conversations | — | |
| nextcloud_list_messages | — | |
| nextcloud_list_participants | — | |
| nextcloud_remove_participant | — | |
| nextcloud_rename_conversation | — | |
| nextcloud_send_message | — | |
| x-mcp-enabled | — |
Yapılandırma
NEXTCLOUD_PASSWORDNEXTCLOUD_URLNEXTCLOUD_USERNAME
| Ad | Açıklama | Sunucu |
|---|---|---|
| NEXTCLOUD_PASSWORD | — | |
| NEXTCLOUD_URL | — | |
| NEXTCLOUD_USERNAME | — |
Otomatik kontroller
Çalıştırıldı 14 Kas 2026Tam rapor →Henüz doğrulanmadı. Bir sunucunun 80 puana, ciddi bir bulgu olmamasına ve kontrol edebilmemiz için yeterli veriye ihtiyacı vardır. Kontroller nasıl çalışır · Daha fazla puan için nelerin düzeltileceği
- Kaynak deposu bağlantılı ve erişilebilirknuckles-team/nextcloud-agent is public and reachablegithub.com/knuckles-team/nextcloud-agent ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyorKontrol edilmedi
- Derleme kökeni (Sigstore onayı)Kontrol edilmedi
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-11-13github.com/knuckles-team/nextcloud-agent ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilKontrol edilmedi
- Pakette veya bağımlılıklarında kritik uyarı yokKontrol edilmedi
- Modele yönelik gizli talimat yok90 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişNo tool named like delete, drop or execGeçti
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorKontrol edilmedi
Nextcloud Agent
CLI or API | MCP | Agent
Documentation — Installation, deployment, usage across the API, CLI, and MCP interfaces, and guidance for provisioning the backing Nextcloud instance are maintained in the official documentation.
Overview
Nextcloud Agent is a production-grade Agent and Model Context Protocol (MCP) server designed to interface directly with Nextcloud MCP Server for Agentic AI!.
Key Features
- Consolidated Action-Routed MCP Tools: Minimizes token overhead and eliminates tool bloat in LLM contexts by grouping methods into optimized, togglable tool modules.
- Enterprise-Grade Security: Complete support for Eunomia policies, OIDC token delegation, and granular execution context tracking.
- Integrated Graph Agent: Built-in Pydantic AI agent supporting the Agent Control Protocol (ACP) and standard Web interfaces (AG-UI).
- Native Telemetry & Tracing: Out-of-the-box OpenTelemetry exports and native Langfuse tracing.
CLI or API
This agent wraps the Nextcloud MCP Server for Agentic AI! API. The operator can interact with it programmatically or via its integrated execution entrypoints.
Detailed instructions on how to use the underlying API wrappers, extended schema bindings, and developer SDK references are maintained in docs/index.md.
MCP
This server use dynamic Action-Routed tools to optimize token overhead and maximize IDE compatibility.
Available MCP Tools
One typed tool per operation (89 tools), grouped by domain. Each domain is enabled unless its toggle is set false. Destructive tools ask for confirmation.
activity (toggle ACTIVITYTOOL)
| MCP Tool | Description |
|---|---|
nextcloud_dismiss_notification |
Dismiss one notification. |
nextcloud_list_activities |
Read the activity stream, newest first; narrow to one object (object_type="files" with a file id) when given. |
nextcloud_list_notifications |
List the account's current notifications. |
admin (toggle ADMINTOOL)
| MCP Tool | Description |
|---|---|
nextcloud_add_user_to_group |
Add one account to a group. |
nextcloud_create_group |
Create one group. |
nextcloud_create_user |
Create one account. Give a password, or an email for a set-password invite. |
nextcloud_delete_group |
Delete one group (its members keep their accounts). |
nextcloud_delete_user |
Delete one account and its files. |
nextcloud_disable_app |
Disable one app. |
nextcloud_disable_user |
Disable one account (it can no longer log in; data is kept). |
nextcloud_enable_app |
Enable one installed app. |
nextcloud_enable_user |
Enable one disabled account. |
nextcloud_get_app |
Read one installed app's metadata (name, version, dependencies). |
nextcloud_get_user |
Read one account's details. |
nextcloud_get_user_info |
Read the connected account: id, display name, email, quota, groups. |
nextcloud_list_apps |
List installed app ids that are enabled, disabled, or all of them. |
nextcloud_list_group_members |
List the account ids in one group. |
nextcloud_list_groups |
List group ids, optionally matching a search string. |
nextcloud_list_users |
List account ids, optionally matching a search string. |
nextcloud_remove_user_from_group |
Remove one account from a group. |
nextcloud_update_user |
Change one field of an account. |
calendar (toggle CALENDARTOOL)
| MCP Tool | Description |
|---|---|
nextcloud_create_calendar |
Create one calendar that holds events and, by default, tasks. |
nextcloud_create_event |
Create one event. Attendees get a draft invitation unless send_invitations. |
nextcloud_create_task |
Create one task (VTODO) in a task-capable calendar (the Tasks app shows it). |
nextcloud_delete_calendar |
Delete one calendar and everything in it (it moves to the calendar trash). |
nextcloud_delete_calendar_object |
Delete one event or task. |
nextcloud_get_calendar_object |
Read one event or task: its parsed fields, etag and raw iCalendar text. |
nextcloud_list_calendars |
List the account's calendars and the components (VEVENT, VTODO) each holds. |
nextcloud_list_events |
List the events of one calendar, optionally within an ISO time range. |
nextcloud_list_tasks |
List the tasks (VTODO) of one task-capable calendar. |
nextcloud_update_event |
Change one event's fields; the write is guarded by the event's etag. |
nextcloud_update_task |
Change one task, or mark it complete or open again; guarded by its etag. |
contacts (toggle CONTACTSTOOL)
| MCP Tool | Description |
|---|---|
nextcloud_create_contact |
Create one contact in an address book. |
nextcloud_delete_contact |
Delete one contact. |
nextcloud_get_contact |
Read one contact: parsed fields, etag and the raw vCard. |
nextcloud_list_address_books |
List the account's address books. |
nextcloud_list_contacts |
List the contacts of one address book with name, emails, phones and organization. |
nextcloud_update_contact |
Change one contact; omitted fields keep their value. Guarded by the etag. |
deck (toggle DECKTOOL)
| MCP Tool | Description |
|---|---|
nextcloud_assign_card_user |
Assign one user to a card. |
nextcloud_create_board |
Create one board; color is a hex RGB value without #. |
nextcloud_create_card |
Create one card in a stack; duedate is ISO 8601. |
nextcloud_create_stack |
Create one stack (column) on a board. |
nextcloud_delete_board |
Delete one board (Deck keeps it restorable for a while). |
nextcloud_delete_card |
Delete one card. |
nextcloud_delete_stack |
Delete one stack and its cards. |
nextcloud_get_board |
Read one board with its labels and members. |
nextcloud_get_card |
Read one card. |
nextcloud_list_boards |
List the Deck boards the account can see. |
nextcloud_list_stacks |
List the stacks (columns) of one board, each with its cards. |
nextcloud_move_card |
Move one card to a stack (column) of the board, at position order. |
nextcloud_update_card |
Change one card's title, description or due date. |
files (toggle FILESTOOL)
| MCP Tool | Description |
|---|---|
nextcloud_copy_item |
Copy one file or folder. |
nextcloud_create_folder |
Create one folder. |
nextcloud_delete_item |
Delete one file or folder (it moves to the trash bin). |
nextcloud_get_properties |
Read the properties of one file or folder (size, type, etag, file id). |
nextcloud_get_user_quota |
Read the storage quota of the connected account. |
nextcloud_list_files |
List the files and folders in one folder (PROPFIND, depth 1). |
nextcloud_list_trash |
List the items in the trash bin of the connected account. |
nextcloud_list_versions |
List the stored versions of one file, newest first. |
nextcloud_move_item |
Move or rename one file or folder. |
nextcloud_read_file |
Download one file; the bytes come back base64-encoded. |
nextcloud_restore_trash_item |
Restore one trash-bin item to its original location. |
nextcloud_restore_version |
Restore one stored version of a file; the current content becomes a version. |
nextcloud_search_files |
Search files by name (case-insensitive substring) under one folder. |
nextcloud_write_file |
Upload one file, creating missing parent folders. |
notes (toggle NOTESTOOL)
| MCP Tool | Description |
|---|---|
nextcloud_create_note |
Create one note. |
nextcloud_delete_note |
Delete one note. |
nextcloud_get_note |
Read one note with its content. |
nextcloud_list_notes |
List the account's notes, optionally of one category. |
nextcloud_update_note |
Change one note's title, content, category or favorite flag. |
office (toggle OFFICETOOL)
| MCP Tool | Description |
|---|---|
nextcloud_create_document |
Create one new document at path; the extension picks the type (.docx, .xlsx, .pptx, .odg, .md). |
nextcloud_list_document_templates |
List the document types the server can create (document, spreadsheet, presentation, diagram, markdown) with their extensions and templates. |
nextcloud_open_document |
Open one document for editing and return a one-time editor url for the connected account (Office for office files, Text for markdown). |
shares (toggle SHARESTOOL)
| MCP Tool | Description |
|---|---|
nextcloud_create_share |
Share one file or folder and return the share (a public link carries its url). |
nextcloud_delete_share |
Revoke one share. |
nextcloud_get_share |
Read one share by id. |
nextcloud_list_shares |
List shares: all of the account's shares, the shares on one path, or the shares other people gave the account. |
nextcloud_update_share |
Change one share's permissions, password, expiry, label or note. |
talk (toggle TALKTOOL)
| MCP Tool | Description |
|---|---|
nextcloud_add_participant |
Add a user, group, email guest or team to one conversation. |
nextcloud_create_conversation |
Create one conversation and return it with its token. |
nextcloud_delete_conversation |
Delete one conversation for everyone (moderators only). |
nextcloud_delete_message |
Delete one chat message. |
nextcloud_get_conversation |
Read one conversation by its token. |
nextcloud_list_conversations |
List the conversations the account takes part in. |
nextcloud_list_messages |
Read the chat history of one conversation, newest first. |
nextcloud_list_participants |
List the participants of one conversation. |
nextcloud_remove_participant |
Remove one attendee (by attendee id from list_participants) from a conversation. |
nextcloud_rename_conversation |
Rename one conversation. |
nextcloud_send_message |
Post one chat message to a conversation. |
Detailed tool schemas, parameter shapes, and validation constraints are preserved in docs/usage.md.
Dynamic Tool Selection & Visibility
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.
The operator can configure tool filtering via multiple input channels:
- CLI Arguments: Pass
--toolsor--toolsets(or their disabled counterparts--disabled-toolsand--disabled-toolsets) during startup. - Environment Variables: Define standard environment variables:
MCP_ENABLED_TOOLS/MCP_DISABLED_TOOLSMCP_ENABLED_TAGS/MCP_DISABLED_TAGS
- HTTP SSE Request Headers: Pass custom headers during transport initialization:
x-mcp-enabled-tools/x-mcp-disabled-toolsx-mcp-enabled-tags/x-mcp-disabled-tags
- HTTP SSE Request Query Parameters: Append query parameters directly to the operator's transport connection URL:
?tools=tool1,tool2?tags=tag1
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.
MCP Configuration Examples
Install the connector-focused
[mcp]extra. Examples usenextcloud-agent[mcp]to add FastMCP / FastAPI throughscion-sdk[mcp]; the required Agent Utilities core still carriesepistemic-graph[full]. The[agent-runtime]extra additionally enables model orchestration.
stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
{
"mcpServers": {
"nextcloud-mcp": {
"command": "uvx",
"args": [
"--from",
"nextcloud-agent[mcp]",
"nextcloud-mcp"
],
"env": {
"CALENDARTOOL": "True",
"CONTACTSTOOL": "True",
"FILESTOOL": "True",
"NEXTCLOUD_PASSWORD": "your_password",
"NEXTCLOUD_URL": "https://nextcloud.example.com",
"NEXTCLOUD_USERNAME": "your_username",
"SHARESTOOL": "True",
"ADMINTOOL": "True"
}
}
}
}
Runtime references require an alias-aware launcher such as Arbora. Other launchers must omit those entries and inject the resolved values through their own runtime secret boundary.
Streamable-HTTP Transport (networked / production)
{
"mcpServers": {
"nextcloud-mcp": {
"command": "uvx",
"args": [
"--from",
"nextcloud-agent[mcp]",
"nextcloud-mcp",
"--transport",
"streamable-http",
"--port",
"8000"
],
"env": {
"TRANSPORT": "streamable-http",
"HOST": "127.0.0.1",
"PORT": "8000",
"CALENDARTOOL": "True",
"CONTACTSTOOL": "True",
"FILESTOOL": "True",
"NEXTCLOUD_PASSWORD": "your_password",
"NEXTCLOUD_URL": "https://nextcloud.example.com",
"NEXTCLOUD_USERNAME": "your_username",
"SHARESTOOL": "True",
"ADMINTOOL": "True"
}
}
}
}
Alternatively, connect to a pre-deployed Streamable-HTTP instance by url:
{
"mcpServers": {
"nextcloud-mcp": {
"url": "http://localhost:8000/nextcloud-mcp/mcp"
}
}
}
Run a reviewed container image as a least-privilege stdio child (no listener or published port):
docker run -i --rm \
--read-only \
--cap-drop=ALL \
--security-opt=no-new-privileges \
--pids-limit=256 \
--tmpfs /tmp:rw,noexec,nosuid,nodev,size=64m \
-e TRANSPORT=stdio \
-e MCP_TOOL_MODE=intent \
-e CALENDARTOOL=True \
-e CONTACTSTOOL=True \
-e FILESTOOL=True \
-e INGESTTOOL=True \
-e NEXTCLOUD_PASSWORD=your_password \
-e NEXTCLOUD_URL=https://nextcloud.example.com \
-e NEXTCLOUD_USERNAME=your_username \
-e SHARESTOOL=True \
-e ADMINTOOL=True \
registry.example.invalid/nextcloud-agent@sha256:<digest> nextcloud-mcp
For containerized network HTTP, supply an authenticated TLS ingress (or
direct server TLS), exact MCP_ALLOWED_HOSTS, and an exact trusted-proxy
CIDR policy through the operator-owned deployment profile. The generator
does not emit an unauthenticated non-loopback listener.
Auto-generated from the code-read env surface (MCP_TOOL_MODE + package vars) — do not edit.
Additional Deployment Options
nextcloud-agent can also run as a local container (Docker / Podman / uv) or be
consumed from a remote deployment. The
Deployment guide has full, copy-paste
mcp_config.json for all four transports — stdio, streamable-http,
local container / uv, and remote URL:
- Local container / uv — launch the server from
mcp_config.jsonviauvx,docker run, orpodman run, or point at a local streamable-http container byurl. The published container runs as a reviewed, least-privilege stdio child with no listener or published port by default (see the hardeneddocker runexample above). - Remote URL — connect to a server deployed behind Caddy at
https://nextcloud-mcp.example.invalid/mcpusing the"url"key, or through any operator-supplied authenticated HTTPS ingress. Keep its URL, outbound identity references, trust profile, and exactMCP_ALLOWED_HOSTSinAgentConfig.
Agent
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.
Running the Agent CLI
To start the interactive command-line agent:
# Set credentials
export NEXTCLOUD_URL="your_value"
export NEXTCLOUD_USERNAME="your_value"
export NEXTCLOUD_PASSWORD="your_value"
# Run the agent server
nextcloud-agent --provider openai --model-id gpt-4o
Docker Compose Orchestration
The following docker/agent.compose.yml configures the Agent, Web UI, and Terminal Interface together:
version: '3.8'
services:
nextcloud-agent-mcp:
image: knucklessg1/nextcloud-agent:mcp
container_name: nextcloud-agent-mcp
hostname: nextcloud-agent-mcp
restart: always
env_file:
- ../.env
environment:
- PYTHONUNBUFFERED=1
- HOST=0.0.0.0
- PORT=8000
- TRANSPORT=streamable-http
ports:
- "8000:8000"
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
nextcloud-agent-agent:
image: knucklessg1/nextcloud-agent:2.3.3
container_name: nextcloud-agent-agent
hostname: nextcloud-agent-agent
restart: always
depends_on:
- nextcloud-agent-mcp
env_file:
- ../.env
command: [ "nextcloud-agent" ]
environment:
- PYTHONUNBUFFERED=1
- HOST=0.0.0.0
- PORT=9016
- MCP_URL=http://nextcloud-agent-mcp:8000/mcp
- ENABLE_OTEL=True
ports:
- "9016:9016"
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:9016/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
Detailed graph node architecture explanations, custom skill configurations, and agentic trace guides are available in docs/deployment.md.
Security & Governance
Built directly upon the enterprise-ready scion-sdk core, standard security parameters are fully supported:
Access Control & Policy Enforcement
- Eunomia Policies: Fine-grained, policy-driven tool authorization. Supports
none, localembedded(mcp_policies.json), or centralizedremotemodes. - OIDC Token Delegation: Compliant with RFC 8693 token exchange for flowing authenticating user credentials from Web UI / ACP → Agent → MCP.
- Scoped Credentials: Execution context runs restricted to the specific caller identity.
Runtime Security Grid
| Feature | Feature | Enablement |
|---|---|---|
| Tool Guard | Sensitivity inspection with human-in-the-loop validation | Enabled by default |
| Prompt Injection Defense | Input scanning, repetition monitoring, and recursive loop blocks | Enabled by default |
| Context Safety Guard | Stuck-loop detectors and contextual overflow preemptive alerts | Enabled by default |
Environment Variables
Package environment variables
| Variable | Example | Description |
|---|---|---|
HOST |
0.0.0.0 |
|
PORT |
8000 |
|
TRANSPORT |
stdio |
options: stdio, streamable-http, sse |
ENABLE_OTEL |
True |
|
OTEL_EXPORTER_OTLP_ENDPOINT |
http://localhost:8080/api/public/otel |
|
OTEL_EXPORTER_OTLP_PUBLIC_KEY_REF |
vault-ref-to-pk |
|
OTEL_EXPORTER_OTLP_SECRET_KEY_REF |
vault-ref-to-sk |
|
OTEL_EXPORTER_OTLP_PROTOCOL |
http/protobuf |
|
EUNOMIA_TYPE |
none |
options: none, embedded, remote |
EUNOMIA_POLICY_FILE |
mcp_policies.json |
|
EUNOMIA_REMOTE_URL |
http://eunomia-server:8000 |
|
NEXTCLOUD_URL |
https://nextcloud.example.com |
|
NEXTCLOUD_USERNAME |
your_username |
|
NEXTCLOUD_PASSWORD |
secret-injected | |
TLS_PROFILE |
private-ca |
AgentConfig named transport profile |
TLS_PROFILE_REF |
secret://transport/provider |
Direct runtime profile reference |
TLS_PROFILES_REF |
secret://transport/catalog |
Named runtime profile catalog |
FILESTOOL |
True |
|
ADMINTOOL |
True |
|
SHARESTOOL |
True |
|
CALENDARTOOL |
True |
|
CONTACTSTOOL |
True |
Inherited scion-sdk variables (apply to every connector)
| Variable | Example | Description |
|---|---|---|
MCP_ENABLED_TOOLS |
— | Comma-separated tool allow-list |
MCP_DISABLED_TOOLS |
— | Comma-separated tool deny-list |
MCP_ENABLED_TAGS |
— | Comma-separated tag allow-list |
MCP_DISABLED_TAGS |
— | Comma-separated tag deny-list |
MCP_CLIENT_AUTH |
— | Outbound MCP child auth: oidc-client-credentials | basic | none |
OIDC_CLIENT_ID |
— | OIDC client id (service-account auth) |
OIDC_CLIENT_SECRET_REF |
secret://identity/oidc-client-secret |
Runtime secret reference for the OIDC service account |
MCP_BASIC_AUTH_USERNAME |
— | HTTP Basic username (MCP_CLIENT_AUTH=basic) |
MCP_BASIC_AUTH_PASSWORD_REF |
secret://identity/mcp-basic-password |
Runtime secret reference for HTTP Basic auth (MCP_CLIENT_AUTH=basic) |
DEBUG |
False |
Verbose logging |
PYTHONUNBUFFERED |
1 |
Unbuffered stdout (recommended in containers) |
MCP_URL |
http://localhost:8000/mcp |
URL of the MCP server the agent connects to |
23 package + 16 inherited variable(s). Auto-generated from .env.example + the shared scion-sdk set — do not edit.
Every variable the server reads, grouped by purpose. See .env.example
for a copy-paste starting point.
Connection & Credentials
| Variable | Description | Default |
|---|---|---|
NEXTCLOUD_URL |
Base URL of the Nextcloud instance | https://nextcloud.example.com |
NEXTCLOUD_USERNAME |
Username (basic auth) | — |
NEXTCLOUD_PASSWORD |
Password / app password (basic auth) | — |
TLS_PROFILE / TLS_PROFILE_REF |
AgentConfig transport profile selector; peer verification is mandatory | — |
Nextcloud Agent MCP soruları
Nextcloud Agent MCP hangi araçları sunar?
90 araç sunar; bunlar arasında nextcloud_dismiss_notification, nextcloud_list_activities, nextcloud_list_notifications, nextcloud_add_user_to_group, nextcloud_create_group yer alır.
Nextcloud Agent içinde hangi araçlar mevcuttur?
Sunucu; aktivite, admin, takvim, kişiler, deck, dosyalar, notlar, ofis, paylaşımlar ve talk gibi alanlara ayrılmış 89 adet tiplendirilmiş araç sunar.
Sunucu token maliyetini nasıl yönetiyor?
Token maliyetini en aza indirmek ve LLM bağlamlarındaki araç kalabalığını önlemek için birleştirilmiş, eylem yönlendirmeli MCP araçlarını kullanır.
Agent gözlemlenebilirliği destekliyor mu?
Evet, OpenTelemetry dışa aktarımları ve Langfuse izleme aracılığıyla yerleşik telemetri ve izleme özelliklerine sahiptir.