
Actors MCP Server
Pricing
Pay per usage

Actors MCP Server
Connect Apify Actors to AI applications (AI Agents) using Anthropic's Model Context Protocol (MCP). This MCP server provides integration of any Apify Actor through the MCP framework.
4.6 (6)
Pricing
Pay per usage
41
Total users
936
Monthly users
544
Runs succeeded
90%
Issue response
3.1 days
Last modified
4 days ago
Timeout not working as expected
Open
Hi, I am using the MCP server and have set the idle timeout to 10 seconds, but it keeps running even without any incoming requests. This can become very expensive.
Can you help, please?
Thanks.

Hi,
Thank you for using the MCP Server!
I tried to replicate the issue, but everything appears to be working as expected. If there are no incoming requests, the MCP Server should exit. You can see an example in this run, where I set the timeout to 30 seconds.
Please note that the exit is graceful — the server has 30 seconds to persist its state before shutting down.
Could you let me know which run didn’t behave as expected? Also, please make sure that all clients are fully disconnected — if any client is still connected, it might keep the server alive.
Best, Jiri