Nextcloud ChatGPT Bridge
Nextcloud for ChatGPT & Codex

一个开源、租户隔离的桥接器,让 ChatGPT 和 Codex 能够处理用户自有 Nextcloud 工作区中的文件。该桥接器将其 OAuth 身份与 Nextcloud 凭据分开保存,并在缺少原生 Nextcloud MCP 能力时使用基于标准的提供程序。
产品网站:nextcloud-for-chatgpt.v4t0r.chatgpt.site

发布状态
v0.3.0 是公开应用和生产部署的发布候选版本。
该仓库包含通用 OAuth 保护的 MCP 服务所需的应用侧组件:
请求作用域的桥接身份和假名化租户隔离
Nextcloud Login Flow v2,不收集用户的 Nextcloud 密码
租户作用域的元数据以及加密的 PostgreSQL 凭据存储
根绑定的 WebDAV 和 OCS 提供程序,带有显式读写工具
保守的家庭发票审核,绝不批准、记账、支付或传输
速率限制、请求限制、安全标头、可信主机检查和无状态 MCP 传输
抗 DNS 重绑定的 HTTPS 出口代理和网络隔离的生产编排
数据库迁移、就绪检查、维护清理和发布预检
Codex 插件包以及可供审核的 OpenAI 列表和测试材料
带有隐私、条款、支持和安全页面的生产落地页
源码发布不声称提供活跃的公共服务或已获得 OpenAI 批准。公开可用性仍然需要运营方控制的生产域名、外部 OAuth 配置、审核夹具、已验证的发布者身份以及成功的 OpenAI 审核。
MCP 桥接器本身无需目录发布即可工作。Codex CLI、ChatGPT 桌面版和 Codex IDE 扩展可以直接连接;兼容的远程 MCP 主机可以使用已部署的 HTTPS 端点。ChatGPT 网页版需要开发者模式访问才能使用未发布的连接,或安装已发布的插件。参见部署模式。
Related MCP server: PC FileBridge
真实 Nextcloud 验证
基于标准的回退路径已针对 Nextcloud 33.0.7 通过实际集成运行:
经过身份验证的 OCS 发现
WebDAV 列表、创建、上传、下载、元数据查找、移动和清理
用户可见的应用清单和根绑定的共享清单
隔离的合成家庭工作区和发票审核流程
该实例上无法使用原生 Nextcloud Context Agent MCP。因此,成功的回退运行直接证明原生 MCP 是可选的,而不是隐藏依赖。不会记录任何凭据或可识别实例的值。参见兼容性矩阵。
架构
ChatGPT / Codex
|
| OAuth access token
v
Public stateless MCP boundary
|
| verified issuer + subject + scopes
v
BridgeSessionContext
|
| pseudonymous tenant scope
v
ConnectionService
|-- PostgreSQL connection metadata
`-- AES-256-GCM credential store
|
| Nextcloud Login Flow v2 credential
v
Root-bound provider core
|-- WebDAV files
|-- OCS capabilities, apps, shares, revocation
`-- Native Nextcloud MCP discovery when available桥接身份绝不包含 Nextcloud 用户名或凭据。每个连接、待处理流程、家庭配置文件和凭据操作都受已验证的租户上下文约束。
公共 MCP 工具
读取与发现
get_nextcloud_capabilitiesget_nextcloud_app_accessesprobe_native_nextcloud_mcplist_files,search_files,list_nextcloud_sharesget_file_info,read_text_file,download_file_base64list_nextcloud_connections,list_household_accounts,list_household_invoicesreview_household_invoice
创建或修改私有 Nextcloud 状态
write_text_file,upload_file_base64,create_folder,move_file,delete_filebegin_nextcloud_connection,poll_nextcloud_connection,set_nextcloud_rootdisconnect_nextcloudconfigure_household_account,prepare_household_workspacesave_household_invoice_review
每个托管工具都有明确的标题、描述、输入模式、输出模式和风险注释。生产工具契约由自动化测试锁定,并记录在 submission/TOOL_ANNOTATIONS.md 中。
安全默认值
在提供程序访问之前,拒绝账户根目录
/和父级遍历每个返回的 WebDAV 路径都会根据配置的根目录重新检查
对于托管的 Nextcloud 目标,HTTPS 和 TLS 验证是强制性的
公共目标由仅 CONNECT 的出口代理解析、验证并固定 IP
不记名令牌、应用密码、共享令牌、原始发票文本和完整 IBAN 被排除在 模型可见结果之外
凭据密文通过 AES-GCM 认证数据绑定到租户
覆盖是选择加入的;配置的根目录不能被删除
请求体和传输大小受限
写入、覆盖、移动、删除、断开连接和凭据撤销风险是明确的
托管访问是无状态的,并为每个 MCP 请求派生新的身份
部署前请阅读 SECURITY.md。请通过 GitHub 私有漏洞报告 报告漏洞,切勿通过包含机密或私有数据的公开 issue 报告。
本地开发
需要 Python 3.11 或更高版本。
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev,hosted]"
ruff check .
pytest仅在进行本地测试时,将 .env.example 复制为 .env。使用专用的 Nextcloud 账户和应用密码,保持根目录范围狭窄,切勿提交生成的文件。
运行本地 stdio 服务器:
nextcloud-chatgpt-bridge运行经过清理的只读诊断,或显式的临时写入/清理冒烟测试:
nextcloud-chatgpt-diagnose
nextcloud-chatgpt-diagnose --write-test生产部署
参考编排位于 deploy/compose.production.yml。它将 PostgreSQL、桥接器、维护、出口和 TLS 终止分离,并使桥接器不直接暴露在外部网络上。
cp deploy/.env.production.example deploy/.env.production
docker compose --env-file deploy/.env.production \
-f deploy/compose.production.yml config
docker compose --env-file deploy/.env.production \
-f deploy/compose.production.yml up -d以 Git 之外的文件形式提供数据库和加密密钥。通过专用的 migrate 服务应用迁移,然后在任何审核者访问之前,针对确切的公共 MCP、OAuth、网站、支持、隐私和条款 URL 运行 nextcloud-chatgpt-preflight。
参见 docs/PRODUCTION_DEPLOYMENT.md 和 docs/HOSTED_ACCEPTANCE.md。
OpenAI 提交包
仓库侧的审核材料位于 submission/:
规范的列表文案和入门提示
正面和负面的审核案例
审核夹具和运行手册
精确的工具注释清单
发布说明和最终运营检查清单
最终的 OpenAI 提交仍是由所有者控制的操作。参见 docs/PLUGIN_SUBMISSION.md。
项目文档
许可证
根据 Apache License 2.0 许可。这个独立项目与 Nextcloud GmbH 或 OpenAI 无关联,也未获得其认可。
Available Tools
14 toolscreate_folderCreate Nextcloud folderA
Create a folder inside the configured Nextcloud root.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| etag | No | |
| name | Yes | |
| path | Yes | |
| size | No | |
| is_dir | Yes | |
| content_type | No | |
| last_modified | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate it is not read-only, and the description adds that it creates a folder inside the configured root, which clarifies path scoping. However, it does not disclose behaviors like whether intermediate directories are created, error handling if the folder already exists, or permission requirements. Given annotations cover the mutation nature, the description adds minimal extra context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single clear sentence with no unnecessary words. It is front-loaded with the verb and resource, and every word adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter creation tool, the description covers the core purpose. However, it omits behavioral details like whether it fails if the parent path doesn't exist, if it is recursive, or what it returns. The output schema exists but is not described, and annotations don't clarify side effects. Balanced but with gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for the single 'path' parameter. It only states 'inside the configured Nextcloud root', implying a relative path, but does not clarify format (slashes), whether recursion is supported, or error conditions. This is minimal added meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Create a folder inside the configured Nextcloud root' clearly states the verb (create) and resource (folder inside a specific location), which distinguishes it from sibling file operations like write_text_file or upload_file_base64.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for creating folders but does not explicitly state when to use it versus other tools (e.g., when not to use it, or that it should be preferred over other creation methods). It lacks exclusions or explicit context about alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
delete_fileDelete Nextcloud fileADestructiveIdempotent
Delete one file or folder. Deleting the configured root itself is always refused.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | No | |
| path | Yes | |
| message | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true and idempotentHint=true, which covers mutability. The description adds a behavioral caveat: 'Deleting the configured root itself is always refused.' This is useful context not present in annotations. However, it does not disclose whether folder deletion is recursive or if there are other side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise: two short sentences. It front-loads the primary action in the first sentence and adds a critical safety note in the second. No unnecessary words or fluff; every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple (one parameter, no nested objects, output schema exists). The description covers the core action and the root-refusal safeguard. It does not mention recursive deletion for folders or error behavior, but these are likely captured by the output schema. Overall, it is adequate for a simple delete operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has a single 'path' parameter with 0% description coverage. The tool description does not explain what 'path' means, its format, relative vs absolute, or any constraints. The description fails to compensate for the lack of schema documentation, leaving the agent to infer path semantics from the parameter name alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's action: 'Delete one file or folder.' It uses a specific verb and resource, and adds a safety note about refusing to delete the configured root. This distinguishes it from sibling tools like move_file or create_folder.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not explicitly state when to use this tool versus alternatives. Usage is implied from the purpose (deleting files/folders), but no guidance is given on when deletion is appropriate versus moving or trash, or when not to use it. No alternatives are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
download_file_base64Download Nextcloud file as base64ARead-only
Download a small binary file as base64, subject to the MCP transfer size limit.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| path | Yes | |
| size | Yes | |
| content_type | No | |
| content_base64 | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, and the description adds meaningful behavioral context: the file must be small and output is subject to the MCP transfer size limit. This goes beyond the structured safety hints and helps set expectations around limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no wasted words. Every element adds useful information about the tool's purpose and constraints.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple one-parameter tool, the readOnly annotation, and the presence of an output schema, the description covers the key operational constraint (size limit) and file type. It is sufficient for an agent to select and invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description does not elaborate on the 'path' parameter—such as whether it is relative to a Nextcloud root or how to format it. With low schema coverage, the description should compensate but does not.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Download'), the resource ('Nextcloud file'), the output format ('base64'), and a key scope ('small binary file'). This distinguishes it from sibling tools like read_text_file (text) and upload_file_base64 (upload direction).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description conveys a clear usage context: small binary files, output as base64, with a transfer size limit. It does not explicitly name alternatives or state when not to use the tool, but the size and file-type qualifiers imply appropriate selection criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_file_infoGet Nextcloud file infoARead-only
Get metadata for one file or folder inside the configured Nextcloud root.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| etag | No | |
| name | Yes | |
| path | Yes | |
| size | No | |
| is_dir | Yes | |
| content_type | No | |
| last_modified | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint=true, and the description's 'Get metadata' is consistent with a read operation. The description adds scope context ('inside the configured Nextcloud root') but does not disclose potential errors, path limitations, or other behavioral nuances. It neither contradicts annotations nor adds substantial extra transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, tightly worded sentence with no filler. It front-loads the core action and scope, making it easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with one parameter and an output schema present, the description is functional but incomplete. It lacks parameter guidance and explicit usage advice, yet the output schema may compensate for return-value details. Overall, it is adequate but not thorough.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% for the 'path' parameter, and the description only names the parameter without explaining expected format (absolute vs. relative, file vs. folder, trailing slashes). The description does not compensate for the schema's lack of detail, leaving significant ambiguity about how to specify the path.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves metadata for a single file or folder within the Nextcloud root. It uses a specific verb ('Get') and resource ('file info'), and distinguishes itself from siblings like list_files (multiple items) and read_text_file (content) by focusing on metadata.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies use for individual file/folder metadata but does not explicitly state when to prefer it over alternatives (e.g., list_files for multiple items, download_file_base64 for content). No when-not-to-use guidance is provided, leaving the agent to infer from sibling names.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_nextcloud_app_accessesInspect accessible Nextcloud appsARead-only
Inventory user-visible apps and safe bridge access levels without administrator APIs.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| apps | Yes | |
| warnings | Yes | |
| search_providers | Yes | |
| nextcloud_version | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds value beyond annotations by specifying that access levels are 'safe' and that it works without admin APIs, which is not implied by readOnlyHint. It does not describe return format, but the output schema handles that; no contradictions with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, focused sentence that conveys purpose and key constraints without redundancy. Every word earns its place, and the lack of parameters makes it appropriately concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that there are no parameters, the description is sufficient for an agent to understand the tool's purpose. The presence of an output schema likely covers return values, and the tool's simplicity (zero params) means the description is complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With zero parameters, the description adds meaning by clarifying the scope (user-visible apps and safe bridge access levels), which is essential since the schema is empty. This exceeds the baseline of 4 for parameter-less tools.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool inventories user-visible apps and bridge access levels, specifying the resource (Nextcloud apps) and the action (inspect). It distinguishes itself from siblings such as get_nextcloud_capabilities and probe_native_nextcloud_mcp by emphasizing 'user-visible' and 'safe bridge access levels without administrator APIs'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies use for checking accessible apps and safe access, distinguishing from admin-API-based tools. However, it does not explicitly state when not to use it or mention alternatives, though the sibling context provides some contrast.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_nextcloud_capabilitiesInspect Nextcloud capabilitiesARead-only
Inspect server/app capability hints used to choose native Nextcloud or fallback providers.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| app_api_hint | Yes | |
| version_major | No | |
| version_micro | No | |
| version_minor | No | |
| assistant_hint | Yes | |
| capability_groups | Yes | |
| nextcloud_version | No | |
| context_agent_hint | Yes | |
| context_agent_mcp_url | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the read-only behavior is covered structurally. The description adds the context that this inspects capability hints but does not disclose additional behavior, return shape, or any potential caveats, which is acceptable for a simple zero-parameter inspect tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that is front-loaded and immediately communicates the tool's purpose and value. No filler or repetition of the title or schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only, zero-parameter tool with an output schema and appropriate annotations, the description fully covers what the tool does and why it is useful. No additional behavioral or return-value detail is necessary.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the schema is trivially complete at 100% coverage. The description adds no parameter details, but none are needed; the baseline for zero-parameter tools is 4.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Inspect') and resource ('server/app capability hints'), and clearly states its purpose: to choose native Nextcloud or fallback providers. This differentiates it from sibling tools, which focus on file operations or app accesses.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description makes clear the tool is useful for capability discovery when deciding between native and fallback providers. It does not explicitly name alternatives or state when not to use it, but the context of provider selection is implied strongly enough.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_filesList Nextcloud filesARead-only
List direct children of a folder inside the configured Nextcloud root.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| path | Yes | |
| entries | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint=true and openWorldHint=false, so the agent knows this is a safe, deterministic read operation. The description adds meaningful behavioral context beyond the annotations: it limits results to direct children and constrains paths to within the configured root.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, focused sentence with no filler or redundant information. It conveys the core action, scope, and location in a compact way.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple list operation with one optional parameter, read-only annotations, and an output schema, the description covers the essential behavioral context: non-recursive listing within a root-relative folder. It does not mention pagination or hidden files, but the output schema likely covers return structure, and the tool is simple enough that this is not a major gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% for the single 'path' parameter, so the description must compensate. It implies the path refers to a folder and is root-relative, but it does not clarify the default behavior of an empty path, whether leading slashes are accepted, or that the path must identify a folder rather than a file.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb and resource: 'List direct children of a folder inside the configured Nextcloud root.' It distinguishes itself from siblings like search_files and get_file_info by emphasizing 'direct children' and the root-relative scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'direct children' provides clear context that this is non-recursive, and 'inside the configured Nextcloud root' sets a scope boundary. It does not explicitly name alternatives or when-not-to-use cases, but the context is strong enough for an agent to differentiate from recursive search or file-reading tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
move_fileMove or rename Nextcloud fileADestructive
Move or rename a file/folder inside the configured root.
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| overwrite | No | ||
| destination | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| etag | No | |
| name | Yes | |
| path | Yes | |
| size | No | |
| is_dir | Yes | |
| content_type | No | |
| last_modified | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate destructiveHint=true, so the description doesn't need to restate that. However, it adds the constraint 'inside the configured root,' which is useful context. It does not disclose other behavioral traits like overwrite semantics or conflict handling, but given the annotation coverage, this is acceptable.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, front-loaded with the verb and object. It is concise with zero wasted words, fully fitting the tool's simple purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present, the description need not explain return values. The tool is straightforward, and the root constraint is mentioned. However, the lack of parameter semantics and overwrite behavior leaves some gaps. It is adequate but not comprehensive.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for parameter meaning. It does not mention source, destination, or overwrite at all. The action implies that source and destination are paths, but no details are given about format, overwrite behavior, or defaults, leaving the agent to infer from schema field names alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear action: 'Move or rename a file/folder inside the configured root.' It specifies the resource (file/folder) and the operation (move/rename), and distinguishes from sibling tools like delete_file or write_text_file by indicating relocation/rename rather than creation, deletion, or modification.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for moving or renaming files/folders but does not explicitly state when to use it over alternatives (e.g., copying via upload/download) or when not to use it. There are no exclusions or alternatives mentioned, so the guidance is only implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
probe_native_nextcloud_mcpProbe native Nextcloud MCPARead-only
Check whether Nextcloud Context Agent MCP is reachable; never invokes a native tool.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| endpoint | Yes | |
| available | Yes | |
| tool_names | Yes | |
| tools_truncated | No | |
| protocol_version | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, but the description adds meaningful context by guaranteeing the tool 'never invokes a native tool.' This clarifies that the probe has no side effects on the Nextcloud instance, going beyond the generic read-only hint and providing a concrete behavioral guarantee.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two short sentences, front-loaded with the core purpose and an important safety qualifier. Every word contributes value; there is no redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter health-check tool with an output schema, the description is fully sufficient. It explains what the tool does and its side-effect-free nature; the output schema covers return format, so no additional description is necessary.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the description does not need to explain parameter semantics. Per the baseline for no parameters, a score of 4 is appropriate; the description adds no extraneous parameter details and relies on the schema's empty property list.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: to check reachability of the Nextcloud Context Agent MCP. It uses a specific verb ('Check') and a clear resource, and explicitly notes it 'never invokes a native tool,' distinguishing it from sibling tools that perform native actions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies this is a safe, non-invasive probe, but it does not explicitly state when to use it versus alternatives or provide criteria for when it should be preferred. The 'never invokes a native tool' note is a constraint rather than direct usage guidance, leaving room for the agent to infer applicability.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
read_text_fileRead Nextcloud text fileARead-only
Read a UTF-8 text file, subject to the configured MCP transfer size limit.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| path | Yes | |
| size | Yes | |
| content | Yes | |
| encoding | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds a behavioral detail (size limit) beyond the readOnlyHint annotation, but nothing else about error handling or return behavior. It is consistent with annotations and adds a small extra context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no fluff, perfectly sized for the tool's simplicity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity of the tool and the existence of an output schema (not shown but indicated), the description adequately covers the core operation. It does not mention distinguishing from binary downloads, but the name and sibling context fill that gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The only parameter 'path' is not described in the schema (coverage 0%) and the tool description does not elaborate on what path means or its expected format. This leaves the parameter semantics ambiguous.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose ('Read a UTF-8 text file') and distinguishes it from sibling tools like write_text_file or download_file_base64 by specifying the file type.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It mentions a size limit constraint but does not explicitly explain when to use this tool over alternatives (e.g., download_file_base64 for binary files). Usage context is implied but not stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_filesSearch files inside the Nextcloud workspaceARead-only
Search names below one workspace folder without crossing the configured root.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| query | Yes | ||
| max_depth | No | ||
| max_results | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| path | Yes | |
| query | Yes | |
| entries | Yes | |
| truncated | Yes | |
| scanned_entries | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already establish this as a safe, read-only operation. The description adds meaningful behavioral constraints: it searches names only, operates below one workspace folder, and never crosses the configured root. This goes beyond the annotations and clarifies scope, though it omits output/pagination details, which are partially covered by the output schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, focused sentence that front-loads the action and scope. Every word contributes to the core semantics, and there is no filler or redundant restatement of the tool name.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a relatively simple search tool with annotations and an output schema, the one-sentence description is mostly adequate. However, it lacks parameter-level context and does not address when to choose this tool over list_files or other siblings, leaving some selection ambiguity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%; the description does not mention query, path, max_depth, or max_results. The parameter names and defaults in the schema are self-explanatory, but the description itself adds no semantic value or guidance for how these parameters interact with the search behavior.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool searches names below a workspace folder and respects the configured root, giving a specific verb, resource, and scope. It distinguishes itself from list_files via the searching-vs-listing focus, though it does not explicitly name a sibling alternative.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when searching file/directory names within a bounded workspace area, but it does not explicitly state when to prefer this over list_files or provide when-not-to-use guidance. The root constraint supplies some context but no direct alternative comparison.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
upload_file_base64Upload Nextcloud file from base64BDestructive
Upload a small binary file from strict base64 data, subject to the transfer size limit.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| overwrite | No | ||
| content_base64 | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| etag | No | |
| name | Yes | |
| path | Yes | |
| size | No | |
| is_dir | Yes | |
| content_type | No | |
| last_modified | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description notes the transfer size limit, adding context. Annotations already indicate destructiveHint true and readOnlyHint false, but description doesn't contradict. It doesn't detail overwrite behavior or permissions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence, efficient and front-loaded. No wasted words, but could benefit from more structuring.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema, the description is under-specified for a mutation tool. It doesn't mention overwrite behavior, error cases, or how the path should be specified. Limited compared to sibling tools.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so description should compensate. The description only mentions base64 data and size limit, but does not explain 'path', 'overwrite', or 'content_base64' semantics. The title mentions base64, but the description is thin.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool uploads a file from base64 data, and distinguishes from siblings like download_file_base64 and write_text_file. However, it doesn't mention the specific resource (Nextcloud) explicitly, though the title does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions 'small binary file' and 'transfer size limit', indicating when to use but not explicitly when not to use or alternatives. No sibling differentiation or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
write_text_fileWrite Nextcloud text fileADestructive
Write a UTF-8 text file. Existing files are protected unless overwrite is explicitly true.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| overwrite | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| etag | No | |
| name | Yes | |
| path | Yes | |
| size | No | |
| is_dir | Yes | |
| content_type | No | |
| last_modified | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds useful behavioral context beyond the annotations: existing files are protected by default and only overwritten when overwrite is explicitly true. This clarifies the destructiveHint=true annotation by specifying the exact condition under which destruction occurs.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two short sentences with no filler. The main action is front-loaded, and the critical overwrite safeguard is stated separately and clearly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple three-parameter write tool with an output schema and annotations, the description is largely sufficient. It covers the key safety behavior (overwrite protection) and encoding, though it does not mention path conventions or failure behavior when an existing file is not overwritten.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description must compensate for parameter meaning. It clarifies the overwrite parameter ('unless overwrite is explicitly true') and content type (UTF-8), but does not explain path semantics or required path format, leaving some gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb and resource: 'Write a UTF-8 text file.' It clearly identifies the tool's core action and distinguishes it from sibling tools like read_text_file or upload_file_base64 by emphasizing UTF-8 text content.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives such as upload_file_base64 or create_folder. The description states what the tool does but does not provide use cases, exclusions, or references to sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
14 tool updates
v0.3.0- First observed
create_folder - First observed
delete_file - First observed
download_file_base64 - First observed
get_file_info - First observed
get_nextcloud_app_accesses - First observed
get_nextcloud_capabilities - First observed
list_files - First observed
list_nextcloud_shares - First observed
move_file - First observed
probe_native_nextcloud_mcp - First observed
read_text_file - First observed
search_files - First observed
upload_file_base64 - First observed
write_text_file
TDQS
Scored across 14 tools
Tools address distinct resources/actions (capabilities, app access, file ops, shares), but get_nextcloud_capabilities, get_nextcloud_app_accesses, and probe_native_nextcloud_mcp all concern bridge/native capability discovery and could be confused if descriptions are skimmed. The file tools are clearly distinct: list/search/get/read/write/upload/create/move/delete.
Most names follow a verb_noun snake_case pattern (list_files, create_folder, delete_file), but there is minor inconsistency between get_ prefixed tools (get_nextcloud_capabilities), bare verbs (read_text_file, write_text_file), and descriptive verbs (probe_native_nextcloud_mcp, download_file_base64). Still predictable and readable overall.
14 tools is well within the ideal range for a file-management bridge with additional introspection. Each tool covers a concrete, non-redundant operation; none feel like padding.
File lifecycle is well covered: list, search, read, write, upload, download, create, move, delete, and metadata. Missing share management (only listing) and lack of a direct 'exists' endpoint (though get_file_info covers it), but these are minor gaps for the bridge's apparent scope.
Maintenance
Related MCP Connectors
Connect AI agents to Filepad workspaces through OAuth MCP.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Safe folder access for ChatGPT and Claude: read, write and search files, risky tools opt-in.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables to manage Nextcloud files, user info, sharing, calendar, and contacts through optimized MCP tools with dynamic tool selection and enterprise-grade security.MIT

PC FileBridgeofficial
AlicenseNot gradedqualityAmaintenanceEnables ChatGPT, Codex, and compatible MCP clients to read bounded UTF-8 text and create files or directories in operator-selected folders, with strict protections against overwrites, deletes, and path escapes.Apache 2.0- AlicenseNot gradedqualityBmaintenanceEnables ChatGPT Pro web to securely read workspace files, git diffs, and test records through OAuth-protected read-only MCP tools, so it can plan and review while Codex handles execution without uploading the repository.MIT
- AlicenseNot gradedqualityAmaintenanceEnables coding agents like Codex to use the ChatGPT web app as a planning and review brain, letting ChatGPT read only needed code via OAuth MCP and submit locally authorized tasks without API keys or repository uploads.4MIT