Skip to content

Commit 44d4103

Browse files
committed
Correct Claude examples in README.md
1 parent 94c8e14 commit 44d4103

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

README.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -208,31 +208,35 @@ Configure Claude Desktop to recognize the MCP server.
208208
- On macOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`
209209
- On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
210210

211-
```text
212-
"mcpServers": {
213-
"actors-mcp-server": {
214-
"command": "npx",
215-
"args": ["-y", "@apify/actors-mcp-server"]
216-
"env": {
217-
"APIFY_TOKEN": "your-apify-token"
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+
}
220222
}
221223
```
222224
Alternatively, you can use the following command to select one or more Apify Actors:
223-
```text
225+
```json
226+
{
224227
"mcpServers": {
225228
"actors-mcp-server": {
226229
"command": "npx",
227230
"args": [
228231
"-y", "@apify/actors-mcp-serves",
229232
"--actors", "lukaskrivka/google-maps-with-contact-details,apify/instagram-scraper"
230-
]
233+
],
231234
"env": {
232235
"APIFY_TOKEN": "your-apify-token"
233236
}
234237
}
235238
}
239+
}
236240
```
237241

238242
2. Restart Claude Desktop
@@ -314,7 +318,7 @@ npm run build
314318
You can launch the MCP Inspector via [`npm`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) with this command:
315319

316320
```bash
317-
npx @modelcontextprotocol/inspector node @apify/actors-mcp-server --env APIFY_TOKEN=your-apify-token
321+
npx @modelcontextprotocol/inspector node ./dist/index.js
318322
```
319323

320324
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

0 commit comments

Comments
 (0)