opencloud-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@opencloud-mcpfind the latest contract PDF and read the payment terms"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
opencloud-mcp
A small Model Context Protocol server that lets an AI assistant search and read the files of an OpenCloud user. It is read-only: it can find and read files, nothing else. It was written for Ambrogio, and works with any MCP client that speaks Streamable HTTP.
Tool | What it does |
| Finds files by the words in their name and in their text. The text search uses OpenCloud's full-text index, so it also finds words inside PDFs and office documents when OpenCloud extracts their text with Apache Tika. Content matches come first, with an excerpt around the words. Each result has a |
| Returns the text of a file found by |
The server sees exactly what the OpenCloud user sees. Create a dedicated user, give it the Viewer role in a space with the documents the assistant may read, and nothing else: OpenCloud enforces the permissions, not this server. Remember that whatever the assistant reads goes to the provider of its language model.
Requirements
OpenCloud with full-text search,
FRONTEND_FULL_TEXT_SEARCH_ENABLED=trueand an Apache Tika extractor, for content search.An app token of the dedicated user:
opencloud auth-app create --user-name=<user> --expiration=<duration>. App tokens expire: choose the duration and renew it before it ends.
Related MCP server: Company Data MCP Server
Configuration
Variable | Required | Meaning |
| yes | Base URL of OpenCloud, for example |
| no | Host header to send when |
| yes | The dedicated user. |
| yes | Its app token. |
| no | Apache Tika, for example |
| yes | Long random secret; MCP clients send it as |
| no | Listen address, |
| no | Characters returned by one |
| no | Largest file that is read, 20 MiB by default. |
The MCP endpoint is POST /mcp, stateless. Requests with an Origin header are refused, so that no web page can use
the server through a visitor's browser. GET /health answers ok for container health checks.
Run
services:
opencloud-mcp:
image: ghcr.io/adrianofoschi/opencloud-mcp:v0.1.0
restart: unless-stopped
env_file: opencloud-mcp.envPut the server on a Docker network that both OpenCloud and the MCP client reach, and do not publish its port outside the home network. An Ambrogio agent connects to it with:
"mcp": {
"url": "http://opencloud-mcp:3000/mcp",
"auth": { "type": "bearer", "tokenEnv": "OPENCLOUD_MCP_TOKEN" },
"tools": ["search_files", "read_file"]
}Development
corepack enable
pnpm install
pnpm verifypnpm verify runs the checks of CI: frozen install, audit, type check, tests and build. The tests use local fakes of
OpenCloud and Tika that answer as OpenCloud 7.2 does. Enable the secret scan before committing:
git config core.hooksPath .githooks with gitleaks on PATH.
Releases are tags vMAJOR.MINOR.PATCH equal to the version in package.json; CI then publishes the image to GHCR.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Gives AI assistants read access to your Dedox help centre and knowledge base articles.
1Securely search and manage workspace context files for AI agents and teams.
Search MCP servers, agent skills and open-source AI projects, plus AI tools. Read-only.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants read-only access to Sprinklr data via MCP, allowing querying reports, searching cases, and calling Sprinklr API endpoints.4 npmISC
- FlicenseNot gradedqualityCmaintenanceEnables read-only access to company data across PostgreSQL, MongoDB Atlas, and flat files through MCP tools, allowing AI assistants to query and retrieve information via natural language.-
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible AI assistants to securely search multiple mailboxes, reconstruct email threads, and inspect attachments through read-only tools without altering mailbox state.Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables read-only file-management operations from AI assistants, including health checks, connection and folder listings, search, share-link resolution, metadata retrieval, and on-demand document reading.MIT