Atlas / MCP servers / cbcoutinho / Nextcloud

NextcloudCAUTION

mcp/cbcoutinho/nextcloud

Nextcloud MCP Server

Verdict
CAUTION
Grade
F
Trust score
52 /100
Exposed tools
12 10r · 2w · 0d
Transport
stdio · streamable-http
License
AGPL-3.0
Stars
373
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://github.com/cbcoutinho/nextcloud-mcp-server/pkgs/container/nextcloud-mcp-server)

A production-ready MCP server that connects AI assistants to your Nextcloud instance.

Enable Large Language Models like Claude, GPT, and Gemini to interact with your Nextcloud data through a secure API. Create notes, manage calendars, organize contacts, work with files, and more - all through natural language conversations.

This is a dedicated standalone MCP server designed for external MCP clients like Claude Code and IDEs. It runs independently of Nextcloud (Docker, VM, Kubernetes, or local) and provides deep CRUD operations across Nextcloud apps.

[!NOTE] Want AI features inside Nextcloud instead? You can point Nextcloud's own Assistant at this server — see AI inside Nextcloud below.
[!TIP] Don't want to self-host? Astrolabe Cloud is a managed hosting service for this MCP server, aimed at users and teams who want advanced features like background sync and semantic search without operating the infrastructure themselves. The service is currently under development — sign up on the landing page to join the early-adopter list.

Quick Start

Run the server locally with uvx (no installation required):

NEXTCLOUD_HOST=https://your.nextcloud.instance.com \
NEXTCLOUD_USERNAME=your_username \
NEXTCLOUD_PASSWORD=your_app_password \
uvx nextcloud-mcp-server run --transport stdio

Or add it directly to your MCP client configuration (e.g. claude_desktop_config.json or .claude/settings.json):

{
"mcpServers": {
"nextcloud": {
"command": "uvx",
"args": ["nextcloud-mcp-server", "run", "--transport", "stdio"],
Read from source at commit 814ca78437c0OBSERVED · 2026-10-03
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add nextcloud-mcp-server --env CUSTOM_PROCESSOR_API_KEY=${CUSTOM_PROCESSOR_API_KEY} --env NEXTCLOUD_OIDC_TOKEN_TYPE=${NEXTCLOUD_OIDC_TOKEN_TYPE} --env NEXTCLOUD_PASSWORD=${NEXTCLOUD_PASSWORD} --env PACT_PASSWORD=${PACT_PASSWORD} -- uvx nextcloud-mcp-server
claude-desktop
{
  "mcpServers": {
    "nextcloud-mcp-server": {
      "command": "uvx",
      "args": [
        "nextcloud-mcp-server"
      ],
      "env": {
        "CUSTOM_PROCESSOR_API_KEY": "${CUSTOM_PROCESSOR_API_KEY}",
        "NEXTCLOUD_OIDC_TOKEN_TYPE": "${NEXTCLOUD_OIDC_TOKEN_TYPE}",
        "NEXTCLOUD_PASSWORD": "${NEXTCLOUD_PASSWORD}",
        "PACT_PASSWORD": "${PACT_PASSWORD}"
      }
    }
  }
}
03

Exposed tools (12)

10 read · 2 write · 0 destructive.

ToolRiskDescription
boomreadraise Bang
deniedreadraise ScopeDenied(
get_itemreadreturn Item(name=
leaky_toolreadraise _http_error(404)
my_toolreadclient = await get_client(ctx)
nc_notes_create_notewritereturn
nc_semantic_searchreadraise ValueError(
peekreadA tool, to prove the bridge is live on tools/call too.
raises_mcp_errorreadThe shape ~140 of our tool raise sites use.
raises_nextcloud_404readAn unhandled Nextcloud HTTP failure escaping a tool.
start_loginwriteDrives progressive consent exactly as the auth path does.
tailored_toolreadraise MCPError(code=-1, message=
04

Trust audit

CAUTIONgrade F · trust 52/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (6 observation(s))
Network
declared (6 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
found

Findings (25)

MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
env.sample:123
#   - "client_id"                   → loopback redirect URIs (http://localhost:*, http://127.0.0.1:*)
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
tests/unit/test_decomposition_config.py:193
== "postgresql://mcp:p%40ss@db:5432/mcp?sslmode=require&connect_timeout=7"
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
tests/unit/test_decomposition_config.py:217
== "postgresql://mcp:s@db/mcp?sslmode=require"
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
tests/unit/test_decomposition_config.py:228
assert config_module.get_procrastinate_conninfo() == "postgresql://mcp:s@db/mcp"
LOWInventory / provenance · inv.hidden_file · CWE-1104
.containerignore
.containerignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.env.keycloak.sample
.env.keycloak.sample
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.gitmodules
.gitmodules
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.secrets.toml.example
.secrets.toml.example
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
tests/unit/test_pdf_parse_isolation.py:630
assert pickle.loads(pickle.dumps(chunks)) == chunks
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
tests/unit/test_pdf_parse_isolation.py:643
assert pickle.loads(pickle.dumps(chunks)) == chunks
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
tests/unit/test_pdf_parse_isolation.py:757
assert pickle.loads(pickle.dumps(exc.value)).args == exc.value.args
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
tests/unit/test_pdf_parse_isolation.py:779
assert pickle.loads(pickle.dumps(exc.value)).args == exc.value.args
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
tests/unit/test_pdf_parse_isolation.py:966
pickle.loads(pickle.dumps(exc.value))
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
nextcloud_mcp_server/providers/simple.py:64
hash_bytes = hashlib.md5(word.encode()).digest()
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
tests/conftest.py:1003
logger.info("Temporary Talk conversation created (token=%s)", token)
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
tests/conftest.py:1008
logger.info("Cleaning up temporary Talk conversation token=%s", token)
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
tests/conftest.py:1011
logger.info("Successfully deleted Talk conversation token=%s", token)
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
tests/server/test_talk_mcp.py:62
logger.info("Posted message id=%s into token=%s", posted_id, token)
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/client/mail/test_mail_api.py:275
await client.get_attachment(100, "../../evil")
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/client/talk/test_talk_api.py:591
await client.add_participant("../../admin", "bob")
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/unit/client/test_webdav.py:601
"Documents/../../otheruser/secret.txt",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/unit/server/test_semantic_search_metrics.py:178
spy, _ = _run(fusion="../../etc/passwd\n\nrandom-unique-value")
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/unit/test_client_fleet_metrics.py:427
bogus = "../../etc/passwd" + "A" * 500
LOWNetwork egress · net.beacon_words · CWE-200, CWE-319
tests/conftest.py:1327
auth_states, callback_url = oauth_callback_server

Gates applied: no_behavioural_pass.

Audited 2026-10-03 · audit v0.4.1 · source sha 814ca78437c0full audit observations/trust-audit/mcp-server/cbcoutinho__nextcloud.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-03814ca78437c0CAUTIONF52first audit
06

Questions

What is the Nextcloud MCP server?

Nextcloud MCP Server

What tools does Nextcloud expose?

12 in total: 10 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Nextcloud safe to connect to an agent?

With care. The audit graded it F (52/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does Nextcloud need?

It reads CUSTOM_PROCESSOR_API_KEY, NEXTCLOUD_OIDC_TOKEN_TYPE, NEXTCLOUD_PASSWORD, PACT_PASSWORD and WEBHOOK_SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Nextcloud run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as nextcloud-mcp-server.

How current is this page?

The grade is for one exact copy of the source (814ca78437c0), read on 2026-10-03. The repository is watched and re-audited when it changes.

Advertisement