mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
feat(mcp): client add timeout option (#3102)
This PR adds a new MCP client option to set a timeout, which is used when calling tools. We propose this change because we are using the mastra.ai agent with the MCP client on Apify (https://apify.com/jakub.kopecky/actor-mastra-mcp-agent) that uses the Apify MCP server (https://apify.com/apify/actors-mcp-server) to execute Apify Actors. Some Actors (or tools in general) may take longer than the default MCP SDK 60 seconds limit, so we wanted to have an option to increase the limit when using mastra.ai. --------- Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
This commit is contained in:
parent
a0bac3a36b
commit
2621e3f81d
4 changed files with 31 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue