Skip to content

Commit b6e58cd

Browse files
authored
fix: Add log to stdio (#25)
* fix: add log to stdio * Update README.md and add claude-desktop.png
1 parent dda7b80 commit b6e58cd

File tree

7 files changed

+30
-13
lines changed

7 files changed

+30
-13
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
<!-- git-cliff-unreleased-start -->
6+
## 0.1.5 - **not yet released**
7+
8+
### 🐛 Bug Fixes
9+
10+
- Add log to stdio ([99a3e9e](https://github.com/apify/actors-mcp-server/commit/99a3e9e8a4fbf52806dd900b9543431d6a1bc083))
11+
12+
13+
<!-- git-cliff-unreleased-end -->
514
## [0.1.4](https://github.com/apify/actors-mcp-server/releases/tag/v0.1.4) (2025-01-22)
615

716
### 🐛 Bug Fixes

README.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,18 @@ npm run build
201201

202202
#### Claude Desktop
203203

204-
Configure Claude Desktop to recognize the MCP server.
205-
Make sure that you enable developer mode in Claude Desktop to access the configuration settings.
204+
To configure Claude Desktop to work with the MCP server, follow these steps. For a detailed guide, refer to the [Claude Desktop Users Guide](https://modelcontextprotocol.io/quickstart/user).
206205

207-
1. Open your Claude Desktop configuration and edit the following file:
206+
1. Download Claude for desktop
207+
- Available for Windows and macOS.
208+
- For Linux users, you can build a Debian package using this [unofficial build script](https://github.com/aaddrick/claude-desktop-debian).
209+
2. Open the Claude Desktop app and enable **Developer Mode** from the top-left menu bar.
210+
3. Once enabled, open **Settings** (also from the top-left menu bar) and navigate to the **Developer Option**, where you'll find the **Edit Config** button
211+
4. Open configuration file and edit the following file:
208212

209213
- On macOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`
210214
- On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
215+
- On Linux: `~/.config/Claude/claude_desktop_config.json`
211216

212217
```json
213218
{
@@ -222,14 +227,14 @@ Make sure that you enable developer mode in Claude Desktop to access the configu
222227
}
223228
}
224229
```
225-
Alternatively, you can use the following command to select one or more Apify Actors:
230+
Alternatively, you can use `actors` argument to select one or more Apify Actors:
226231
```json
227232
{
228233
"mcpServers": {
229234
"actors-mcp-server": {
230235
"command": "npx",
231236
"args": [
232-
"-y", "@apify/actors-mcp-serves",
237+
"-y", "@apify/actors-mcp-server",
233238
"--actors", "lukaskrivka/google-maps-with-contact-details,apify/instagram-scraper"
234239
],
235240
"env": {
@@ -239,16 +244,18 @@ Make sure that you enable developer mode in Claude Desktop to access the configu
239244
}
240245
}
241246
```
242-
243-
2. Restart Claude Desktop
247+
5. Restart Claude Desktop
244248

245249
- Fully quit Claude Desktop (ensure it’s not just minimized or closed).
246250
- Restart Claude Desktop.
247251
- Look for the 🔌 icon to confirm that the Exa server is connected.
248252

249-
3. Examples
253+
6. Open the Claude Desktop chat and ask "What Apify Actors I can use?"
254+
![Claude-desktop-with-Actors-MCP-server](https://raw.githubusercontent.com/apify/actors-mcp-server/refs/heads/master/docs/claude-dekstop.png)
255+
256+
7. Examples
250257

251-
You can ask Claude to perform web searches, such as:
258+
You can ask Claude to perform tasks, such as:
252259
```text
253260
Find and analyze recent research papers about LLMs.
254261
Find top 10 best Italian restaurants in San Francisco.

docs/claude-desktop.png

166 KB
Loading

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apify/actors-mcp-server",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"type": "module",
55
"description": "Model Context Protocol Server for Apify Actors",
66
"engines": {

src/examples/clientSse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Connect to the MCP server using SSE transport and call a tool.
44
* The Actors MCP Server will load default Actors.
55
*
6-
* !!! This example needs to be fixed as it does not work !!!
6+
* !!! NOT WORKING - This example needs to be fixed as it does not work !!!
77
*/
88

99
import path from 'path';

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ async function main() {
3030
: server.addToolsFromDefaultActors());
3131
const transport = new StdioServerTransport();
3232
await server.connect(transport);
33+
console.error('Actors MCP Server running on stdio'); // eslint-disable-line no-console
3334
}
3435

3536
main().catch((error) => {

0 commit comments

Comments
 (0)