Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🧠 Knowledge & Memory
  3. Hithereiamaliff Mcp Nextcloud
H
Health: ActiveRecent health check succeeded.Last checked 8/10/2026, 11:03:27 PM

Hithereiamaliff Mcp Nextcloud

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository37 GitHub StarsTotal stargazers on GitHub for the source repository (37 stars).

A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "hithereiamaliff-mcp-nextcloud": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-nextcloud"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Tool Schemas (29) Directory Badge Claim listing Alternatives🧠 More in Knowledge & Memory

Capabilities & Tool Schemas (29) ~556 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server β€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Hithereiamaliff Mcp Nextcloud.

nextcloud_notes_create_note

Create a new note with title, content, and category

nextcloud_notes_update_note

Update an existing note by ID with optional title, content, or category

nextcloud_notes_append_content

Append content to an existing note with a clear separator

nextcloud_notes_search_notes

Search notes by title or content with result filtering

nextcloud_notes_delete_note

Delete a note by ID

nextcloud_calendar_list_calendars

List all available calendars for the user

Documentation Overview

Nextcloud MCP Server

MCP Endpoint: https://mcp.techmavie.digital/nextcloud/mcp

Note: This project is a complete rewrite in TypeScript of the original Python-based cbcoutinho/nextcloud-mcp-server, now with self-hosted VPS deployment and Smithery deployment support.

Key Differences from the Original Repository:

  • Language: This project is written in TypeScript, while the original is in Python.
  • Smithery Support: Added full support for Smithery deployment and local testing via Smithery playground.
  • Project Structure: The project structure has been adapted for a Node.js/TypeScript environment with MCP SDK integration.
  • Dependencies: This project uses npm for package management, whereas the original uses Python's dependency management tools.
  • Deployment: Now supports both local development and cloud deployment via Smithery.

The Nextcloud MCP (Model Context Protocol) server allows Large Language Models (LLMs) like OpenAI's GPT, Google's Gemini, or Anthropic's Claude to interact with your Nextcloud instance. This enables automation of various Nextcloud actions across Notes, Calendar, Contacts, Tables, and WebDAV file operations.

The hosted HTTP integration now supports a safer multi-user flow through the MCP Key Service. Instead of embedding raw Nextcloud credentials in the connector URL, hosted clients can use a user-scoped usr_... key and let the server resolve credentials server-side.

Features

The server provides integration with multiple Nextcloud apps, enabling LLMs to interact with your Nextcloud data through a comprehensive set of 30 tools across 5 main categories.

Supported Nextcloud Apps

AppSupport StatusDescription
Notesβœ… Full SupportCreate, read, update, delete, search, and append to notes.
Calendarβœ… Full SupportComplete calendar integration - manage calendars and events via CalDAV.
Tablesβœ… Full SupportComplete table operations - list tables, get schemas, and perform CRUD operations on rows.
Files (WebDAV)βœ… Full SupportComplete file system access - browse directories, read/write files, create/delete resources.
Contactsβœ… Full SupportCreate, read, update, and delete contacts and address books via CardDAV.

Available Tools (30 Total)

πŸ“ Notes Tools (5 tools)

ToolDescription
nextcloud_notes_create_noteCreate a new note with title, content, and category
nextcloud_notes_update_noteUpdate an existing note by ID with optional title, content, or category
nextcloud_notes_append_contentAppend content to an existing note with a clear separator
nextcloud_notes_search_notesSearch notes by title or content with result filtering
nextcloud_notes_delete_noteDelete a note by ID

πŸ“… Calendar Tools (6 tools)

ToolDescription
nextcloud_calendar_list_calendarsList all available calendars for the user
nextcloud_calendar_create_eventCreate a calendar event with summary, description, dates, and location
nextcloud_calendar_list_eventsList events from a calendar with optional date filtering
nextcloud_calendar_get_eventGet detailed information about a specific event
nextcloud_calendar_update_eventUpdate any aspect of an existing event
nextcloud_calendar_delete_eventDelete a calendar event

πŸ‘₯ Contacts Tools (6 tools)

ToolDescription
nextcloud_contacts_list_addressbooksList all available addressbooks for the user
nextcloud_contacts_create_addressbookCreate a new addressbook with display name and description
nextcloud_contacts_delete_addressbookDelete an addressbook by ID
nextcloud_contacts_list_contactsList all contacts in a specific addressbook
nextcloud_contacts_create_contactCreate a new contact with full name, emails, phones, addresses, and organizations
nextcloud_contacts_delete_contactDelete a contact from an addressbook

πŸ“Š Tables Tools (6 tools)

ToolDescription
nextcloud_tables_list_tablesList all tables available to the user
nextcloud_tables_get_schemaGet the schema/structure of a specific table including columns
nextcloud_tables_read_tableRead all rows from a table
nextcloud_tables_insert_rowInsert a new row into a table with key-value data
nextcloud_tables_update_rowUpdate an existing row in a table
nextcloud_tables_delete_rowDelete a row from a table

πŸ“ WebDAV File System Tools (6 tools)

ToolDescription
nextcloud_webdav_search_filesπŸ” NEW! Unified search across filenames, content, and metadata - no need to specify exact paths
nextcloud_webdav_list_directoryList files and directories in any Nextcloud path
nextcloud_webdav_read_fileRead file content from Nextcloud
nextcloud_webdav_write_fileCreate or update files in Nextcloud with content
nextcloud_webdav_create_directoryCreate new directories in Nextcloud
nextcloud_webdav_delete_resourceDelete files or directories from Nextcloud

πŸ” Revolutionary Unified WebDAV Search Feature

The crown jewel of this MCP server is the powerful unified search system for WebDAV files, inspired by modern search interfaces like on an another MCP that I have created: mcp-datagovmy. This completely transforms how you interact with your Nextcloud files by eliminating the need to specify exact file paths.

✨ Key Features

  • 🎯 Multi-scope Search: Search across filenames, file content, and metadata simultaneously
  • 🧠 Smart File Type Detection: Automatically handles text files, code, configuration files, documents, and media
  • πŸ”§ Advanced Filtering: Filter by file type, size range, modification date, and directory
  • πŸ“ˆ Intelligent Ranking: Results ranked by relevance with bonuses for recent files and exact matches
  • πŸ‘€ Content Preview: Optional content previews for matched text files
  • ⚑ Performance Optimized: Intelligent caching, timeout protection, and parallel processing
  • πŸ›‘οΈ Error Recovery: Fallback strategies prevent timeouts and provide helpful suggestions

πŸš€ Usage Examples

typescript
// Basic search - find all files containing "FAQ Dean List"
await nextcloud_webdav_search_files({
  query: "FAQ Dean List"
});

// Advanced search - find PDF reports from 2024
await nextcloud_webdav_search_files({
  query: "report 2024",
  fileTypes: ["pdf"],
  searchIn: ["filename", "content"],
  limit: 20,
  includeContent: true,
  quickSearch: true
});

// Directory-specific search with date range
await nextcloud_webdav_search_files({
  query: "meeting notes",
  basePath: "/Documents",
  searchIn: ["filename", "content"],
  dateRange: {
    from: "2024-01-01",
    to: "2024-12-31"
  }
});

// Search by file characteristics
await nextcloud_webdav_search_files({
  query: "configuration files",
  sizeRange: { min: 1024, max: 102400 }, // 1KB - 100KB
  fileTypes: ["json", "yaml", "xml", "conf"]
});

// Quick search for large directories (optimized)
await nextcloud_webdav_search_files({
  query: "budget",
  basePath: "/", // Root directory
  quickSearch: true, // Enables optimizations
  limit: 25,
  maxDepth: 2 // Limit search depth
});

πŸ“‹ Complete Parameter Reference

ParameterTypeDefaultDescriptionExample
querystringrequiredSearch terms - supports multiple words"FAQ Dean List"
searchInarray["filename", "content"]Search scope: filename, content, metadata["filename", "content", "metadata"]
fileTypesarrayall typesFile extensions to include["pdf", "txt", "md", "docx"]
basePathstring"/"Directory to search in"/Documents/Reports"
limitnumber50Maximum results to return20
includeContentbooleanfalseInclude content previews for text filestrue
caseSensitivebooleanfalseCase-sensitive matchingtrue
quickSearchbooleantrueUse optimized mode for root searchesfalse
maxDepthnumber3Maximum directory depth (1-10)5
sizeRangeobjectunlimitedFile size filters in bytes{min: 1024, max: 1048576}
dateRangeobjectall datesLast modified date filters{from: "2024-01-01", to: "2024-12-31"}

🎯 Performance Tips

  • For root directory searches: Use quickSearch: true and maxDepth: 2-3 for faster results
  • For specific directories: Use basePath: "/Documents" instead of searching root "/"
  • For large result sets: Add fileTypes filter to narrow scope
  • For timeout issues: Enable quickSearch and use smaller limit values

πŸ§ͺ Test Tool (1 tool)

ToolDescription
helloVerify server connectivity and list all available tools

πŸ”„ Before vs After: The Search Revolution

Before Unified Search

typescript
// You had to know exact paths
await nextcloud_webdav_read_file({
  path: "/Documents/Finance/Reports/Q4_Budget_Analysis_2024.pdf"
});

// Multiple calls needed to explore
await nextcloud_webdav_list_directory({ path: "/" });
await nextcloud_webdav_list_directory({ path: "/Documents" });
await nextcloud_webdav_list_directory({ path: "/Documents/Finance" });
// ... and so on

After Unified Search ✨

typescript
// Natural language search across entire Nextcloud!
await nextcloud_webdav_search_files({
  query: "Q4 budget analysis 2024",
  fileTypes: ["pdf"]
});

// Finds files instantly regardless of location!

πŸ› οΈ Advanced Search Strategies

Content-Aware Search

The system intelligently extracts and searches content from:

  • πŸ“ Text Files: .txt, .md, .csv - Full content indexing
  • πŸ’» Code Files: .js, .ts, .py, .html, .css - Syntax-aware search
  • βš™οΈ Config Files: .json, .xml, .yaml - Structure-aware indexing
  • πŸ“„ Documents: .pdf, .docx - Metadata and properties
  • 🎬 Media Files: Images, videos - EXIF data and metadata

Smart Ranking System

Results are ranked using advanced algorithms:

  1. Exact filename matches β†’ 100 points
  2. Word boundaries in filenames β†’ 80 points
  3. Partial filename matches β†’ 60+ points (position bonus)
  4. Content frequency matches β†’ 50+ points (term density)
  5. Recent file bonus β†’ +10 points (last 30 days)
  6. File type preference β†’ +5 points (text/code files)
  7. Size convenience β†’ +5 points (files under 100KB)

Error Handling & Recovery

  • πŸ• 20-second timeout protection - Prevents hanging operations
  • πŸ”„ Automatic fallback search - Falls back to directory listing if indexing fails
  • πŸ’‘ Intelligent suggestions - Provides helpful tips for optimization
  • πŸ“Š Performance metrics - Shows search duration and result counts

Installation

Quick Start with npm (Recommended)

Install directly from npm and run as an MCP server:

bash
# Install globally
npm install -g mcp-nextcloud

# Or install locally in your project
npm install mcp-nextcloud

Usage as MCP Server

After installation, you can run the MCP server directly:

bash
# If installed globally
mcp-nextcloud

# If installed locally
npx mcp-nextcloud

# Or using npm script
npm exec mcp-nextcloud

Environment Setup: Create a .env file with your Nextcloud credentials:

bash
NEXTCLOUD_HOST=https://your.nextcloud.instance.com
NEXTCLOUD_USERNAME=your_nextcloud_username
NEXTCLOUD_PASSWORD=your_nextcloud_app_password

Integration with LLM Applications

Add to your MCP client configuration (e.g., Claude Desktop, Continue, etc.):

For CLI mode (local, single-user):

config.json
{
  "mcpServers": {
    "nextcloud": {
      "command": "mcp-nextcloud",
      "env": {
        "NEXTCLOUD_HOST": "https://your.nextcloud.instance.com",
        "NEXTCLOUD_USERNAME": "your_username",
        "NEXTCLOUD_PASSWORD": "your_app_password"
      }
    }
  }
}

For hosted HTTP mode (via MCP Key Service):

config.json
{
  "mcpServers": {
    "nextcloud": {
      "transport": "streamable-http",
      "url": "https://mcp.techmavie.digital/nextcloud/mcp/usr_XXXXXXXX"
    }
  }
}

Recommended for hosted clients: Use the path-based URL form (/mcp/usr_...) for Claude.ai and similar hosted connectors. Keep the query-param form as a compatibility option for inspectors and clients that preserve query params reliably.

For self-hosted HTTP mode (your own server):

config.json
{
  "mcpServers": {
    "nextcloud": {
      "transport": "streamable-http",
      "url": "https://mcp.techmavie.digital/nextcloud/mcp",
      "headers": {
        "X-API-Key": "your-server-api-key",
        "X-Nextcloud-Host": "https://your.nextcloud.instance.com",
        "X-Nextcloud-Username": "your_username",
        "X-Nextcloud-Password": "your_app_password"
      }
    }
  }
}

Prerequisites

  • Node.js 18+
  • Access to a Nextcloud instance
  • npm or yarn package manager

Local Development Setup

  1. Clone the repository:

    bash
    git clone https://github.com/hithereiamaliff/mcp-nextcloud.git
    cd mcp-nextcloud
    
  2. Install dependencies:

    Terminal
    npm install
    
  3. Configure your Nextcloud credentials (see Configuration section)

  4. Build the project:

    Terminal
    npm run build
    

Configuration

Environment Variables

Create a .env file in the root directory based on .env.sample:

dotenv
# --- CLI/stdio mode only ---
# These are used when running the server in CLI mode (npm run dev, npm run cli).
# They are NOT used by the HTTP server.
NEXTCLOUD_HOST=https://your.nextcloud.instance.com
NEXTCLOUD_USERNAME=your_nextcloud_username
NEXTCLOUD_PASSWORD=your_nextcloud_app_password

# --- HTTP server: Self-Hosted mode ---
# Required for self-hosted /mcp auth, and also used for /analytics access.
MCP_API_KEY=your-secret-api-key-here

# --- HTTP server: Key Service mode ---
# Set both to enable user api_key=usr_... resolution via the MCP Key Service.
# Users obtain and manage those keys at https://mcpkeys.techmavie.digital
# The MCP server itself talks to the resolver endpoint below.
KEY_SERVICE_URL=https://mcpkeys.techmavie.digital/internal/resolve
KEY_SERVICE_TOKEN=your-key-service-bearer-token

# Optional: Comma-separated list of allowed CORS origins.
ALLOWED_ORIGINS=https://smithery.ai,https://claude.ai

# Optional diagnostics for remote MCP debugging.
# These are intended for temporary troubleshooting in hosted HTTP mode.
MCP_TRACE_HTTP=false
ENABLE_MCP_DIAGNOSTICS=false

# Optional dedicated endpoint for Smithery URL publishing.
ENABLE_SMITHERY_ENDPOINT=false

Important Security Notes:

  • Use a dedicated Nextcloud App Password instead of your regular login password. Generate one in your Nextcloud Security settings.
  • In HTTP mode, NEXTCLOUD_* environment variables are never used. Self-hosted clients provide credentials via X-Nextcloud-* headers, while key-service clients send only a usr_... key.
  • Generate a strong API key: openssl rand -hex 32

Smithery Configuration

When deploying via Smithery, you can configure credentials through:

  • Smithery's configuration interface for URL-published servers

For Smithery, the recommended model is:

  • users enter nextcloudHost, nextcloudUsername, and nextcloudPassword directly
  • Smithery forwards those values to the dedicated /smithery/mcp endpoint as headers
  • the hosted usr_... key-service flow remains separate and continues to use /mcp/usr_...

Deployment & Usage

Option 1: Hosted Server (Recommended)

The easiest way to use this MCP server is via the hosted endpoint. No installation required!

Endpoint: https://mcp.techmavie.digital/nextcloud/mcp

Authentication

The hosted server uses the MCP Key Service for authentication. You get a personal API key (usr_XXXXXXXX) from the MCP Key Service portal:

text
https://mcpkeys.techmavie.digital

The server then resolves your Nextcloud credentials automatically through the resolver endpoint behind the scenes.

Why this is safer than the old query-credential approach:

  • raw Nextcloud credentials are not embedded in the connector URL
  • revoking a usr_... key is easier than rotating a user's underlying Nextcloud password everywhere
  • server-side auditing and policy are easier to centralize
  • support/debug workflows are safer because users share a scoped key, not their real Nextcloud password

Claude.ai / hosted connector URL (recommended):

Code
https://mcp.techmavie.digital/nextcloud/mcp/usr_XXXXXXXX

Alternative URL for clients that preserve query params correctly:

Code
https://mcp.techmavie.digital/nextcloud/mcp?api_key=usr_XXXXXXXX

Client Configuration

config.json
{
  "mcpServers": {
    "nextcloud": {
      "transport": "streamable-http",
      "url": "https://mcp.techmavie.digital/nextcloud/mcp/usr_XXXXXXXX"
    }
  }
}

Test with MCP Inspector

Terminal
npx @modelcontextprotocol/inspector
# Select "Streamable HTTP"
# Enter URL: https://mcp.techmavie.digital/nextcloud/mcp/usr_XXXXXXXX

Option 2: Self-Hosted (VPS)

If you prefer to run your own instance, the built-in Docker + Nginx setup is:

server.ts
# Set required environment variables
export MCP_API_KEY=your-secret-api-key  # Required for self-hosted /mcp auth and /analytics
export KEY_SERVICE_URL=https://mcpkeys.techmavie.digital/internal/resolve  # Optional: enables key service mode
export KEY_SERVICE_TOKEN=your-key-service-bearer-token                      # Optional: enables key service mode

# Using Docker
docker compose up -d --build

# Or run directly
npm run build
npm run start:http

Recommended VPS setup

  1. Clone the repo onto your server:
    bash
    git clone https://github.com/hithereiamaliff/mcp-nextcloud.git
    cd mcp-nextcloud
    
  2. Create a .env file with your server settings:
    dotenv
    MCP_API_KEY=your-secret-api-key
    KEY_SERVICE_URL=https://mcpkeys.techmavie.digital/internal/resolve
    KEY_SERVICE_TOKEN=your-key-service-bearer-token
    ALLOWED_ORIGINS=https://smithery.ai,https://claude.ai
    ENABLE_SMITHERY_ENDPOINT=false
    
    Notes:
    • Use KEY_SERVICE_URL + KEY_SERVICE_TOKEN only if you want hosted-style usr_... key resolution.
    • Users obtain and manage those keys at https://mcpkeys.techmavie.digital.
    • The MCP server itself should keep using the resolver endpoint path, not the portal homepage.
    • Set ENABLE_SMITHERY_ENDPOINT=true only if you want to publish the dedicated Smithery direct-credentials endpoint.
  3. Start the container:
    Terminal
    docker compose up -d --build
    
  4. Add the reverse proxy config from deploy/nginx-mcp.conf to your nginx server block.
  5. Validate and reload nginx:
    bash
    sudo nginx -t
    sudo systemctl reload nginx
    
  6. Verify the server:
    Terminal
    curl http://127.0.0.1:8080/health
    

Important: The HTTP server does NOT use NEXTCLOUD_* environment variables. In self-hosted mode, each client must provide Nextcloud credentials via request headers. In key-service mode, clients send only api_key=usr_....

Remote MCP note: For hosted connectors such as Claude.ai, prefer the path-based URL form (/mcp/usr_...). Keep the query-param form as a compatibility option for inspectors and clients that preserve query params reliably.

Debugging note: If a hosted client shows a generic auth prompt, it does not automatically mean OAuth is required. First verify the auth-free diagnostics route, the key-service resolver response, and the actual initialize SSE body.

Option 3: npm Package (CLI)

Install and run as a local MCP server:

Terminal
npm install -g mcp-nextcloud
mcp-nextcloud

Note: In CLI mode, credentials are read from environment variables (NEXTCLOUD_HOST, NEXTCLOUD_USERNAME, NEXTCLOUD_PASSWORD). This is safe because CLI mode runs locally for a single user.

Option 4: Smithery Deployment

For Smithery's current URL-published model, use a dedicated endpoint that accepts direct Nextcloud credentials via headers:

bash
# Enable the Smithery endpoint on your hosted server
ENABLE_SMITHERY_ENDPOINT=true

Use this public MCP URL in Smithery:

text
https://mcp.techmavie.digital/nextcloud/smithery/mcp

Recommended Smithery config schema for this server:

config.json
{
  "type": "object",
  "properties": {
    "nextcloudHost": {
      "type": "string",
      "title": "Nextcloud Host",
      "description": "Nextcloud server URL (for example https://cloud.example.com)",
      "x-from": { "header": "X-Nextcloud-Host" }
    },
    "nextcloudUsername": {
      "type": "string",
      "title": "Nextcloud Username",
      "x-from": { "header": "X-Nextcloud-Username" }
    },
    "nextcloudPassword": {
      "type": "string",
      "title": "Nextcloud App Password",
      "format": "password",
      "x-from": { "header": "X-Nextcloud-Password" }
    }
  },
  "required": ["nextcloudHost", "nextcloudUsername", "nextcloudPassword"]
}

Why this split is recommended:

  • Smithery users can connect directly without creating an MCP Key Service key first
  • the hosted usr_... connector flow remains unchanged for Claude.ai and other hosted clients
  • the Smithery path is isolated to /smithery/mcp, so it does not interfere with /mcp or /mcp/usr_...

Important: The Smithery endpoint is designed for direct credentials via headers. It does not use the MCP Key Service and does not require the shared MCP_API_KEY.

To help Smithery discover tools without forcing a live authenticated scan, this server also exposes a static server card at https://mcp.techmavie.digital/.well-known/mcp/server-card.json. If your reverse proxy mounts the app under /nextcloud, make sure that exact root-level well-known path is proxied to the app.

Publishing to npm

For Maintainers

To publish this package to npm:

  1. Prepare the release:

    Terminal
    npm run build
    npm version patch|minor|major
    
  2. Publish to npm:

    Terminal
    npm publish
    
  3. Verify the publication:

    Terminal
    npm view mcp-nextcloud
    

Publishing Checklist

  • All tests pass (Smithery deployment confirmed working)
  • TypeScript builds without errors (npm run build)
  • Version bumped appropriately (npm version)
  • README updated with changes
  • .npmignore properly excludes development files
  • CLI executable works (dist/cli.js)

Dual Deployment Strategy

This project supports both deployment methods simultaneously:

  • Smithery: For cloud deployment and development testing
  • npm: For end-user installation and MCP client integration

The Smithery configuration (smithery.yaml) and npm package configuration coexist without interference.

Smithery Integration

This project includes full Smithery support with:

  • smithery.yaml: Specifies TypeScript runtime
  • Development server: Local testing with hot reload
  • One-click deployment: Deploy to cloud with a single command
  • Configuration management: Secure credential handling
  • Playground integration: Immediate testing interface

Security

HTTP Server Security Model

The HTTP server (http-server.ts) supports two authentication modes:

Key Service Mode (hosted/multi-user):

  • User API keys (usr_...) are resolved via the MCP Key Service which returns encrypted Nextcloud credentials.
  • No raw credentials are sent by the client - only the user-scoped API key.
  • Credentials are cached for 60 seconds to reduce key service load, then re-validated.

Self-Hosted Mode (single-operator):

  • A server-side MCP_API_KEY validates access.
  • Each client provides Nextcloud credentials via X-Nextcloud-* headers.

Common security measures:

  • Per-Request Credential Isolation: Each request gets its own isolated set of Nextcloud clients via AsyncLocalStorage. No credential state is shared between requests.
  • No Environment Variable Fallback: The HTTP server never falls back to NEXTCLOUD_* environment variables for credentials. These are only used in CLI mode.
  • Restricted CORS: Only origins listed in ALLOWED_ORIGINS are permitted (defaults to smithery.ai and claude.ai).
  • Protected Analytics: The /analytics endpoint requires MCP_API_KEY authentication in both modes. The dashboard page stores the key in session storage, never in the URL. Client IPs are hashed before storage.
  • Debug Tools Disabled in Production: Calendar debug tools are automatically disabled when NODE_ENV=production.

Self-Hosting Checklist

If you deploy your own instance:

  1. Choose an auth mode: set KEY_SERVICE_URL + KEY_SERVICE_TOKEN for key service, or MCP_API_KEY for self-hosted
  2. Set MCP_API_KEY for analytics access (required in both modes)
  3. Do NOT set NEXTCLOUD_* environment variables on the HTTP server
  4. Use HTTPS (TLS) for all connections
  5. Configure ALLOWED_ORIGINS to restrict which domains can connect
  6. Use Nextcloud App Passwords (not your main login password)

Troubleshooting

Common Issues

  1. 404 Errors on WebDAV/Calendar/Contacts:

    • Ensure your Nextcloud credentials are correct
    • Verify the Nextcloud apps (Calendar, Contacts) are installed and enabled
    • Check that your app password has the necessary permissions
  2. Authentication Failures:

    • Use an App Password instead of your regular password
    • Verify the NEXTCLOUD_HOST URL is correct (including https://)
    • Ensure the Nextcloud instance is accessible
  3. Missing Tools:

    • Run the hello tool to verify all 30 tools are available
    • Check the server logs for any initialization errors
  4. Search Timeout Issues:

    • Use quickSearch: true for root directory searches
    • Specify a basePath like "/Documents" instead of searching root "/"
    • Add fileTypes filters to narrow the search scope
    • Reduce maxDepth parameter for faster results

Hosted HTTP / Claude.ai Debugging

If the hosted connector still fails, use this order:

  1. Verify the auth-free diagnostics route first:
    • enable ENABLE_MCP_DIAGNOSTICS=true
    • test /mcp-debug/open
    • if this works, the issue is likely auth or an upstream dependency, not basic MCP transport
  2. Verify the key-service resolver directly from the deployed MCP host:
    Terminal
    curl -i -X POST "$KEY_SERVICE_URL" \
      -H "Authorization: Bearer $KEY_SERVICE_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{"key":"usr_..."}'
    
    Expected:
    • 200 OK
    • Content-Type: application/json
    • valid JSON response
  3. Verify the MCP initialize response body, not just the status code:
    Terminal
    curl -N --max-time 10 -X POST "https://mcp.techmavie.digital/nextcloud/mcp/usr_XXXXXXXX" \
      -H "Content-Type: application/json" \
      -H "Accept: application/json, text/event-stream" \
      -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"probe","version":"1.0.0"}}}'
    
    Expected:
    • 200 OK
    • Content-Type: text/event-stream
    • non-empty SSE initialize response body
  4. If the hosted client keeps retrying the same initialize request every few seconds, suspect an empty or malformed SSE initialize response even if the HTTP status is 200.
  5. Enable temporary tracing with MCP_TRACE_HTTP=true and inspect:
    • final status code
    • request accept
    • request content-type
    • content-type response header
    • auth outcome (resolved, invalid_key, service_unavailable, malformed_response)

Development

Project Structure

Code
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ index.ts          # Main Smithery entry point
β”‚   β”œβ”€β”€ http-server.ts    # Streamable HTTP server for VPS deployment
β”‚   β”œβ”€β”€ app.ts            # Legacy entry point
β”‚   β”œβ”€β”€ client/           # Nextcloud API clients
β”‚   β”œβ”€β”€ models/           # TypeScript interfaces
β”‚   β”œβ”€β”€ tools/            # Tool implementations
β”‚   └── utils/            # Utility functions
β”œβ”€β”€ deploy/
β”‚   └── nginx-mcp.conf    # Nginx reverse proxy config
β”œβ”€β”€ .github/
β”‚   └── workflows/
β”‚       └── deploy-vps.yml # GitHub Actions auto-deploy
β”œβ”€β”€ docker-compose.yml    # Docker deployment config
β”œβ”€β”€ Dockerfile            # Container build config
β”œβ”€β”€ smithery.yaml         # Smithery configuration
β”œβ”€β”€ package.json          # Project dependencies and scripts
└── README.md             # This file

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test with npm run dev
  5. Submit a pull request

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0) - see the LICENSE file for details.

Acknowledgments

  • Original Python implementation by cbcoutinho
  • Built with Model Context Protocol
  • Deployable via Smithery

Related MCP Servers

View all in Knowledge & Memory View all alternatives
  • Moxie Docs MCP logoMoxie Docs MCP
    β˜… Featured

    MCP & Agent Skills for Automated Documentation, and codebase conventions + context

    🧠 Knowledge & Memory17 views
    Compare vs Moxie Docs MCP β†’
  • Mcp Obsidian logoMcp Obsidian

    Universal AI bridge for Obsidian vaults using MCP. Provides safe read/write access to notes with 11 comprehensive methods for vault operations including search, batch operations, tag management, and frontmatter handling. Works with Claude, ChatGPT, and any MCP-compatible AI assistant.

    🧠 Knowledge & Memory2 views
    Compare vs Mcp Obsidian β†’
  • Codebase Memory Mcp logoCodebase Memory Mcp

    Code-intelligence engine that indexes a repo into a persistent knowledge graph β€” functions, classes, call chains, HTTP routes, cross-service links. 159 languages via tree-sitter + Hybrid LSP, sub-ms structural queries, 99% fewer tokens than grep. Single static binary, zero dependencies, 100% local. npx codebase-memory-mcp

    🧠 Knowledge & Memory6 views
    Compare vs Codebase Memory Mcp β†’
  • Memora logoMemora

    Persistent memory with knowledge graph visualization, semantic/hybrid search, cloud sync (S3/R2), and cross-session context management.

    🧠 Knowledge & Memory2 views
    Compare vs Memora β†’

Frequently Asked Questions about Hithereiamaliff Mcp Nextcloud

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "hithereiamaliff-mcp-nextcloud": { "command": "npx", "args": ["-y", "hithereiamaliff-mcp-nextcloud"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHithereiamaliff Mcp Nextcloud AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hithereiamaliff-mcp-nextcloud?style=directory)](https://allmcps.com/mcp/hithereiamaliff-mcp-nextcloud)
HTML Embed
<a href="https://allmcps.com/mcp/hithereiamaliff-mcp-nextcloud"><img src="https://allmcps.com/api/badge/hithereiamaliff-mcp-nextcloud?style=directory" alt="Hithereiamaliff Mcp Nextcloud on AllMCPs" /></a>

Technical Specs & Signals

Category🧠Knowledge & Memory
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars37
GitHub Star CountTotal stargazers on GitHub representing community popularity (37 stars).
Last commit4mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Mar 14, 2026
52Quality signal: Good Β· 52/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools25/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🧠 Knowledge & Memory β†’Best MCP servers for Memory & Knowledge β†’Alternatives to Hithereiamaliff Mcp Nextcloud β†’Install in Claude DesktopInstall in CursorInstall in VS Code