mirror of
https://git.openapi.site/https://github.com/desirecore/registry.git
synced 2026-12-06 02:59:03 +08:00
Support scoped Agent workdirs for Repomix and Excel MCP
This commit is contained in:
1 parent
b154386fc3
commit
c3d1fc7b4d
9 files changed
+16
-9
No files matched your search
@@ -99,7 +99,7 @@
|
|||||||
"macos"
|
"macos"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"requiredClientVersion": "10.0.216"
|
"requiredClientVersion": "10.0.218"
|
||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
"kind": "service",
|
"kind": "service",
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ title: 安装 Excel MCP
|
|||||||
|
|
||||||
在支持 MCP 数据目录选择的 DesireCore 本机桌面窗口发起安装。需要 Python ≥3.11 和 uvx。当前记录覆盖 macOS。
|
在支持 MCP 数据目录选择的 DesireCore 本机桌面窗口发起安装。需要 Python ≥3.11 和 uvx。当前记录覆盖 macOS。
|
||||||
|
|
||||||
选择存放工作簿的目录。使用 `--allow-dir .` 限定工作簿路径,默认只读。 路径由 DesireCore 绑定到本次安装,作为服务的启动工作目录。目录清单和安装信封不保存用户数据目录。取消选择即停止本次安装。
|
勾选 Agent 工作目录后,Excel MCP 以当前已授权默认目录为相对路径起点。其余已授权目录可以用绝对路径访问工作簿。当默认目录未获授权时,选择对应的目录工具。服务按只读模式启动。 也可以明确选择一个固定目录。安装记录确认所选范围,目录清单和安装信封不保存用户的本机路径。新注册的工作目录需要另行确认。
|
||||||
|
|
||||||
使用附带的固定目录获取信封执行 MCP 安装和连接测试,再用带同一 `catalogAcquisition` 的接口登记。后端使用用户已选目录。连接成功后再结算。
|
使用当前目录版本的信封执行 MCP 安装和连接测试,再用带同一 catalogAcquisition 的接口登记。连接成功后结算。
|
||||||
|
|
||||||
代表性验证为 `read_range` 读取合成工作簿中的指定单元格。
|
代表性验证为 `read_range` 读取合成工作簿中的指定单元格。
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
"connection": {
|
"connection": {
|
||||||
"transport": "stdio",
|
"transport": "stdio",
|
||||||
"requiresDataDirectory": true,
|
"requiresDataDirectory": true,
|
||||||
|
"workdirStrategy": "excel-allow-dir",
|
||||||
"command": "uvx",
|
"command": "uvx",
|
||||||
"args": [
|
"args": [
|
||||||
"--from",
|
"--from",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Excel MCP
|
# Excel MCP
|
||||||
|
|
||||||
选择存放工作簿的目录。使用 `--allow-dir .` 限定工作簿路径,默认只读。
|
勾选 Agent 工作目录后,Excel MCP 以当前已授权默认目录为相对路径起点。其余已授权目录可以用绝对路径访问工作簿。当默认目录未获授权时,选择对应的目录工具。服务按只读模式启动。 也可以在安装时指定一个固定目录。
|
||||||
|
|
||||||
`read_range` 读取合成工作簿中的指定单元格。
|
`read_range` 读取合成工作簿中的指定单元格。
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
"macos"
|
"macos"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"requiredClientVersion": "10.0.216"
|
"requiredClientVersion": "10.0.218"
|
||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
"kind": "service",
|
"kind": "service",
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ title: 安装 Repomix MCP
|
|||||||
|
|
||||||
在支持 MCP 数据目录选择的 DesireCore 本机桌面窗口发起安装。需要 Node.js ≥22 和 npm。当前记录覆盖 macOS。
|
在支持 MCP 数据目录选择的 DesireCore 本机桌面窗口发起安装。需要 Node.js ≥22 和 npm。当前记录覆盖 macOS。
|
||||||
|
|
||||||
选择要读取或打包的代码目录。使用 `--sandbox .` 将可用文件工具限制在该目录。 路径由 DesireCore 绑定到本次安装,作为服务的启动工作目录。目录清单和安装信封不保存用户数据目录。取消选择即停止本次安装。
|
勾选 Agent 工作目录后,DesireCore 为每个当前已授权的目录建立独立的 Repomix 连接。--sandbox . 限定文件访问。相对路径从选中的连接目录解析。需要读取或搜索打包结果时,继续使用生成该结果的连接。 也可以明确选择一个固定目录。安装记录确认所选范围,目录清单和安装信封不保存用户的本机路径。新注册的工作目录需要另行确认。
|
||||||
|
|
||||||
使用附带的固定目录获取信封执行 MCP 安装和连接测试,再用带同一 `catalogAcquisition` 的接口登记。后端使用用户已选目录。连接成功后再结算。
|
使用当前目录版本的信封执行 MCP 安装和连接测试,再用带同一 catalogAcquisition 的接口登记。连接成功后结算。
|
||||||
|
|
||||||
代表性验证为 `file_system_read_file` 读取合成项目中的文本文件。
|
代表性验证为 `file_system_read_file` 读取合成项目中的文本文件。
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
"connection": {
|
"connection": {
|
||||||
"transport": "stdio",
|
"transport": "stdio",
|
||||||
"requiresDataDirectory": true,
|
"requiresDataDirectory": true,
|
||||||
|
"workdirStrategy": "per-directory",
|
||||||
"command": "npx",
|
"command": "npx",
|
||||||
"args": [
|
"args": [
|
||||||
"--yes",
|
"--yes",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Repomix MCP
|
# Repomix MCP
|
||||||
|
|
||||||
选择要读取或打包的代码目录。使用 `--sandbox .` 将可用文件工具限制在该目录。
|
勾选 Agent 工作目录后,DesireCore 为每个当前已授权的目录建立独立的 Repomix 连接。--sandbox . 限定文件访问。相对路径从选中的连接目录解析。需要读取或搜索打包结果时,继续使用生成该结果的连接。 也可以在安装时指定一个固定目录。
|
||||||
|
|
||||||
`file_system_read_file` 读取合成项目中的文本文件。
|
`file_system_read_file` 读取合成项目中的文本文件。
|
||||||
@@ -21,13 +21,18 @@ export function withMcpDataDirectory(schema) {
|
|||||||
...connection,
|
...connection,
|
||||||
properties: {
|
properties: {
|
||||||
...connection.properties,
|
...connection.properties,
|
||||||
|
workdirStrategy: {
|
||||||
|
enum: ['per-directory', 'excel-allow-dir'],
|
||||||
|
description: 'Opt into confirmed Agent workdirs using independent processes or native Excel allow-dir options.',
|
||||||
|
},
|
||||||
requiresDataDirectory: {
|
requiresDataDirectory: {
|
||||||
const: true,
|
const: true,
|
||||||
description: 'Require the user-selected data folder as the stdio working directory.',
|
description: 'Require explicit user consent for the MCP data folders.',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
allOf: [
|
allOf: [
|
||||||
...(connection.allOf ?? []),
|
...(connection.allOf ?? []),
|
||||||
|
{ if: { required: ['workdirStrategy'] }, then: { required: ['requiresDataDirectory'] } },
|
||||||
{
|
{
|
||||||
if: { required: ['requiresDataDirectory'] },
|
if: { required: ['requiresDataDirectory'] },
|
||||||
then: { properties: { transport: { const: 'stdio' } } },
|
then: { properties: { transport: { const: 'stdio' } } },
|
||||||
|
|||||||
Reference in new issue
Block a user