File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ Alternatively, you can use simple python [client_see.py](https://github.com/apif
129129
1301302. Send a message to the server by making a POST request with the `sessionId`:
131131 ```shell
132- curl -X POST "https://actors-mcp-server.apify.actor?token=<APIFY_TOKEN>&session_id=a1b" -H "Content-Type: application/json" -d '{
132+ curl -X POST "https://actors-mcp-server.apify.actor/message ?token=<APIFY_TOKEN>&session_id=a1b" -H "Content-Type: application/json" -d '{
133133 "jsonrpc": "2.0",
134134 "id": 1,
135135 "method": "tools/call",
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const mcpServer = new ApifyMcpServer();
2424let transport : SSEServerTransport ;
2525
2626const HELP_MESSAGE = `Connect to the server with GET request to ${ HOST } /sse?token=YOUR-APIFY-TOKEN`
27- + ` and then send POST requests to ${ HOST } /message?token=YOUR-APIFY-TOKEN. ` ;
27+ + ` and then send POST requests to ${ HOST } /message?token=YOUR-APIFY-TOKEN` ;
2828
2929/**
3030 * Process input parameters and update tools
@@ -102,13 +102,13 @@ if (STANDBY_MODE) {
102102 log . info ( 'Actor is running in the STANDBY mode.' ) ;
103103 await mcpServer . addToolsFromDefaultActors ( ) ;
104104 app . listen ( PORT , ( ) => {
105- log . info ( `The Actor web server is listening for user requests at ${ HOST } . ` ) ;
105+ log . info ( `The Actor web server is listening for user requests at ${ HOST } ` ) ;
106106 } ) ;
107107} else {
108108 log . info ( 'Actor is not designed to run in the NORMAL model (use this mode only for debugging purposes)' ) ;
109109
110110 if ( input && ! input . debugActor && ! input . debugActorInput ) {
111- await Actor . fail ( 'If you need to debug a specific actor, please provide the debugActor and debugActorInput fields in the input. ' ) ;
111+ await Actor . fail ( 'If you need to debug a specific actor, please provide the debugActor and debugActorInput fields in the input' ) ;
112112 }
113113 await mcpServer . callActorGetDataset ( input . debugActor ! , input . debugActorInput ! ) ;
114114 await Actor . exit ( ) ;
You can’t perform that action at this time.
0 commit comments