@apify/actors-mcp-server 0.1.3 → 0.1.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -208,31 +208,35 @@ Configure Claude Desktop to recognize the MCP server.
|
|
|
208
208
|
- On macOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`
|
|
209
209
|
- On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
|
|
210
210
|
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
211
|
+
```json
|
|
212
|
+
{
|
|
213
|
+
"mcpServers": {
|
|
214
|
+
"actors-mcp-server": {
|
|
215
|
+
"command": "npx",
|
|
216
|
+
"args": ["-y", "@apify/actors-mcp-server"],
|
|
217
|
+
"env": {
|
|
218
|
+
"APIFY_TOKEN": "your-apify-token"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
220
222
|
}
|
|
221
223
|
```
|
|
222
224
|
Alternatively, you can use the following command to select one or more Apify Actors:
|
|
223
|
-
```
|
|
225
|
+
```json
|
|
226
|
+
{
|
|
224
227
|
"mcpServers": {
|
|
225
228
|
"actors-mcp-server": {
|
|
226
229
|
"command": "npx",
|
|
227
230
|
"args": [
|
|
228
231
|
"-y", "@apify/actors-mcp-serves",
|
|
229
232
|
"--actors", "lukaskrivka/google-maps-with-contact-details,apify/instagram-scraper"
|
|
230
|
-
]
|
|
233
|
+
],
|
|
231
234
|
"env": {
|
|
232
235
|
"APIFY_TOKEN": "your-apify-token"
|
|
233
236
|
}
|
|
234
237
|
}
|
|
235
238
|
}
|
|
239
|
+
}
|
|
236
240
|
```
|
|
237
241
|
|
|
238
242
|
2. Restart Claude Desktop
|
|
@@ -282,13 +286,13 @@ standard input/output (stdio):
|
|
|
282
286
|
## Prerequisites
|
|
283
287
|
|
|
284
288
|
- [Node.js](https://nodejs.org/en) (v18 or higher)
|
|
285
|
-
- Python 3.
|
|
289
|
+
- Python 3.9 or higher
|
|
286
290
|
|
|
287
291
|
Create environment file `.env` with the following content:
|
|
288
292
|
```text
|
|
289
293
|
APIFY_TOKEN=your-apify-token
|
|
290
294
|
# ANTHROPIC_API_KEY is only required when you want to run examples/clientStdioChat.js
|
|
291
|
-
ANTHROPIC_API_KEY=your-anthropic-api-
|
|
295
|
+
ANTHROPIC_API_KEY=your-anthropic-api-key
|
|
292
296
|
```
|
|
293
297
|
## Local client (SSE)
|
|
294
298
|
|
|
@@ -314,7 +318,7 @@ npm run build
|
|
|
314
318
|
You can launch the MCP Inspector via [`npm`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) with this command:
|
|
315
319
|
|
|
316
320
|
```bash
|
|
317
|
-
npx @modelcontextprotocol/inspector node
|
|
321
|
+
npx @modelcontextprotocol/inspector node ./dist/index.js
|
|
318
322
|
```
|
|
319
323
|
|
|
320
324
|
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
|