Skip to content

Commit c2ee1f9

Browse files
committed
feat(dxt): add mcp tool configuration options
1 parent 2bd1ad7 commit c2ee1f9

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

manifest.json

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@
4040
"mcp_config": {
4141
"command": "node",
4242
"args": [
43-
"${__dirname}/dist/stdio.js"
43+
"${__dirname}/dist/stdio.js",
44+
"--tools",
45+
"${user_config.enabled_tools}",
46+
"--actors",
47+
"${user_config.enabled_actors}",
48+
"--enable-adding-actors",
49+
"${user_config.enable_dynamic_actors}"
4450
],
4551
"env": {
4652
"APIFY_TOKEN": "${user_config.apify_token}"
@@ -55,6 +61,26 @@
5561
"description": "Your Apify API token for authentication",
5662
"sensitive": true,
5763
"required": true
64+
},
65+
"enabled_tools": {
66+
"type": "string",
67+
"title": "Enabled Tool Categories",
68+
"description": "Enter a comma-separated list of tool categories to enable. Available options: docs, runs, storage, preview.",
69+
"required": false,
70+
"default": "docs"
71+
},
72+
"enabled_actors": {
73+
"type": "string",
74+
"title": "Enabled Actors",
75+
"description": "Enter a comma-separated list of full Actor names to add to the server on startup (e.g., apify/rag-web-browser).",
76+
"required": false,
77+
"default": "apify/rag-web-browser"
78+
},
79+
"enable_dynamic_actors": {
80+
"type": "boolean",
81+
"title": "Enable Dynamic Actor Adding",
82+
"description": "Allow dynamically adding Actors as tools based on user requests during a session.",
83+
"default": true
5884
}
5985
},
6086
"compatibility": {
@@ -68,4 +94,4 @@
6894
"node": ">=20.0.0"
6995
}
7096
}
71-
}
97+
}

0 commit comments

Comments
 (0)