Skip to content

Commit c27c381

Browse files
committed
Update README.md and clientSse.ts
1 parent a6ad059 commit c27c381

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The server can be used in two ways:
99
- 🇦 **Apify MCP Server Actor**: runs an HTTP server with MCP and can be accessed via Server-Sent Events (SSE).
1010
-**Apify MCP Server Stdio**: runs the server locally with MCP via standard input/output (stdio).
1111

12-
You can test the MCP server using [Apify Tester MCP Client](https://apify.com/jiri.spilka/tester-mcp-client)
12+
You can test the MCP server using [Tester MCP Client](https://apify.com/jiri.spilka/tester-mcp-client)
1313

1414
# 🎯 What does Apify MCP server do?
1515

@@ -134,10 +134,13 @@ https://actors-mcp-server-task.apify.actor?token=<APIFY_TOKEN>
134134

135135
You can find a list of all available Actors in the [Apify Store](https://apify.com/store).
136136

137-
#### 💬 Interact with the MCP Server
137+
#### 💬 Interact with the MCP Server over SSE
138138

139139
Once the server is running, you can interact with Server-Sent Events (SSE) to send messages to the server and receive responses.
140-
You can use MCP clients such as [Superinference.ai](https://superinterface.ai/) or [LibreChat](https://www.librechat.ai/).
140+
The easiest way is to use [Tester MCP Client](https://apify.com/jiri.spilka/tester-mcp-client) on Apify.
141+
142+
Other clients do not support SSE yet, but this will likely change.
143+
Please verify if MCP clients such ass [Superinference.ai](https://superinterface.ai/) or [LibreChat](https://www.librechat.ai/) support SSE with custom headers.
141144
([Claude Desktop](https://claude.ai/download) does not support SSE transport yet, see [Claude Desktop Configuration](#claude-desktop) section for more details).
142145

143146
In the client settings you need to provide server configuration:
@@ -365,10 +368,9 @@ Enum fields and titles are truncated to max 50 options.
365368
Memory for each Actor is limited to 4GB.
366369
Free users have an 8GB limit, 128MB needs to be allocated for running `Actors-MCP-Server`.
367370

368-
If you need other features or have any feedback, please [submit an issue](https://console.apify.com/actors/3ox4R101TgZz67sLr/issues) in Apify Console to let us know.
371+
If you need other features or have any feedback, please [submit an issue](https://console.apify.com/actors/1lSvMAaRcadrM1Vgv/issues) in Apify Console to let us know.
369372

370373
# 🚀 Roadmap (January 2025)
371374

372-
- Document examples for [LibreChat](https://www.librechat.ai/).
373375
- Add Apify's dataset and key-value store as resources.
374376
- Add tools such as Actor logs and Actor runs for debugging.

src/examples/clientSse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +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+
* It requires the `APIFY_TOKEN` in the `.env` file.
67
*/
78

89
import path from 'path';
@@ -15,7 +16,6 @@ import dotenv from 'dotenv';
1516
import { EventSource } from 'eventsource';
1617

1718
const REQUEST_TIMEOUT = 120_000; // 2 minutes
18-
// Resolve dirname equivalent in ES module
1919
const filename = fileURLToPath(import.meta.url);
2020
const dirname = path.dirname(filename);
2121

0 commit comments

Comments
 (0)