From c2ee1f9220b3b9d4440e50651d440713c6a24f21 Mon Sep 17 00:00:00 2001 From: MQ Date: Fri, 15 Aug 2025 12:59:36 +0200 Subject: [PATCH 1/6] feat(dxt): add mcp tool configuration options --- manifest.json | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 814f31a6..79797f88 100644 --- a/manifest.json +++ b/manifest.json @@ -40,7 +40,13 @@ "mcp_config": { "command": "node", "args": [ - "${__dirname}/dist/stdio.js" + "${__dirname}/dist/stdio.js", + "--tools", + "${user_config.enabled_tools}", + "--actors", + "${user_config.enabled_actors}", + "--enable-adding-actors", + "${user_config.enable_dynamic_actors}" ], "env": { "APIFY_TOKEN": "${user_config.apify_token}" @@ -55,6 +61,26 @@ "description": "Your Apify API token for authentication", "sensitive": true, "required": true + }, + "enabled_tools": { + "type": "string", + "title": "Enabled Tool Categories", + "description": "Enter a comma-separated list of tool categories to enable. Available options: docs, runs, storage, preview.", + "required": false, + "default": "docs" + }, + "enabled_actors": { + "type": "string", + "title": "Enabled Actors", + "description": "Enter a comma-separated list of full Actor names to add to the server on startup (e.g., apify/rag-web-browser).", + "required": false, + "default": "apify/rag-web-browser" + }, + "enable_dynamic_actors": { + "type": "boolean", + "title": "Enable Dynamic Actor Adding", + "description": "Allow dynamically adding Actors as tools based on user requests during a session.", + "default": true } }, "compatibility": { @@ -68,4 +94,4 @@ "node": ">=20.0.0" } } -} +} \ No newline at end of file From afe619c65589447c22818fceab18b8049e890933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kopeck=C3=BD?= Date: Fri, 15 Aug 2025 13:10:17 +0200 Subject: [PATCH 2/6] Update manifest.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jiří Spilka --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 79797f88..39e06498 100644 --- a/manifest.json +++ b/manifest.json @@ -65,7 +65,7 @@ "enabled_tools": { "type": "string", "title": "Enabled Tool Categories", - "description": "Enter a comma-separated list of tool categories to enable. Available options: docs, runs, storage, preview.", + "description": "A comma-separated list of tool categories to enable. Available options: docs, runs, storage, preview.", "required": false, "default": "docs" }, From 36ca63b4753b961226877d47b445ef8be27c7d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kopeck=C3=BD?= Date: Fri, 15 Aug 2025 13:10:23 +0200 Subject: [PATCH 3/6] Update manifest.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jiří Spilka --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 39e06498..670cd954 100644 --- a/manifest.json +++ b/manifest.json @@ -72,7 +72,7 @@ "enabled_actors": { "type": "string", "title": "Enabled Actors", - "description": "Enter a comma-separated list of full Actor names to add to the server on startup (e.g., apify/rag-web-browser).", + "description": "A comma-separated list of full Actor names to add to the server on startup (e.g., apify/rag-web-browser).", "required": false, "default": "apify/rag-web-browser" }, From f60445adfa9531521c9554529831a995abe95fe8 Mon Sep 17 00:00:00 2001 From: MQ Date: Fri, 15 Aug 2025 13:14:13 +0200 Subject: [PATCH 4/6] fix vocab --- manifest.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index 670cd954..91ff937f 100644 --- a/manifest.json +++ b/manifest.json @@ -42,11 +42,11 @@ "args": [ "${__dirname}/dist/stdio.js", "--tools", - "${user_config.enabled_tools}", + "${user_config.tools}", "--actors", - "${user_config.enabled_actors}", + "${user_config.actors}", "--enable-adding-actors", - "${user_config.enable_dynamic_actors}" + "${user_config.enable-adding-actors}" ], "env": { "APIFY_TOKEN": "${user_config.apify_token}" @@ -62,21 +62,21 @@ "sensitive": true, "required": true }, - "enabled_tools": { + "tools": { "type": "string", "title": "Enabled Tool Categories", "description": "A comma-separated list of tool categories to enable. Available options: docs, runs, storage, preview.", "required": false, "default": "docs" }, - "enabled_actors": { + "actors": { "type": "string", "title": "Enabled Actors", "description": "A comma-separated list of full Actor names to add to the server on startup (e.g., apify/rag-web-browser).", "required": false, "default": "apify/rag-web-browser" }, - "enable_dynamic_actors": { + "enable-adding-actors": { "type": "boolean", "title": "Enable Dynamic Actor Adding", "description": "Allow dynamically adding Actors as tools based on user requests during a session.", From cd76a0853f9d78540f8dd13a5b0ac7d64e3cf325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kopeck=C3=BD?= Date: Fri, 15 Aug 2025 13:43:36 +0200 Subject: [PATCH 5/6] Update manifest.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jiří Spilka --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 91ff937f..aa431dfe 100644 --- a/manifest.json +++ b/manifest.json @@ -64,7 +64,7 @@ }, "tools": { "type": "string", - "title": "Enabled Tool Categories", + "title": "Enabled tool categories", "description": "A comma-separated list of tool categories to enable. Available options: docs, runs, storage, preview.", "required": false, "default": "docs" From 82cbbb6ca5fee69b0e10a8290938920212483046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kopeck=C3=BD?= Date: Fri, 15 Aug 2025 13:43:43 +0200 Subject: [PATCH 6/6] Update manifest.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jiří Spilka --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index aa431dfe..e369563e 100644 --- a/manifest.json +++ b/manifest.json @@ -78,7 +78,7 @@ }, "enable-adding-actors": { "type": "boolean", - "title": "Enable Dynamic Actor Adding", + "title": "Enable dynamic Actor adding", "description": "Allow dynamically adding Actors as tools based on user requests during a session.", "default": true }