
Actors MCP Server
Pricing
Pay per usage

Actors MCP Server
⚠️ Legacy: This Actor is outdated. For the latest features and full documentation, visit https://mcp.apify.com. Easily connect any Apify Actor to AI agents using Anthropic’s Model Context Protocol (MCP) with our actively maintained MCP server.
4.7 (7)
Pricing
Pay per usage
80
Total users
1.7K
Monthly users
467
Runs succeeded
66%
Issues response
19 hours
Last modified
7 days ago
Timeout not working as expected
Closed
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

I’ll go ahead and close this issue now, but feel free to ask any questions or open a new one if needed. Jiri