# logic2-MCP: wait\_capture() with timeout

**URL:** <https://discuss.saleae.com/t/logic2-mcp-wait-capture-with-timeout/3828>\
**Category:** Uncategorized\
**Created:** [October 19, 2026, 12:22pm UTC](https://discuss.saleae.com/t/logic2-mcp-wait-capture-with-timeout/3828 "2026-10-19T12:22:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhobison](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@rhobison](https://discuss.saleae.com/u/rhobison)\
**Post date:** [October 19, 2026, 12:22pm UTC](https://discuss.saleae.com/t/logic2-mcp-wait-capture-with-timeout/3828/1 "2026-10-19T12:22:03Z")

</div>

This is more like a feature request. Not sure if this is the right place, but…

When using `logic2-mcp`, the agent can set a trigger and start a capture. In order to wait for the capture, the agent calls `wait_capture()`. When the capture is not triggered by the configured trigger event, the call to `wait_capture()` never returns and the agent is blocked forever.

My request it to add a `timeout` parameter, so that the agent can set the maximum time to wait. If after that time the trigger event does not happen, then `wait_capture()` stops the capture and returns with an error (‘timeout’ in this case).

If you don’t want to risk breaking others workflow, this parameter could be optional: when not given (or `0`), `wait_capture()` tool would behave as before (waiting forever). Or you could introduce another tool function: `wait_capture_ex()`, for example.

It is frustrating to let the agent executing 100’s tests that take hours and when you are back to check the result, the agent is stuck in the second test (because the SUT failed and did not trigger the analyzer).

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [October 23, 2026, 9:12pm UTC](https://discuss.saleae.com/t/logic2-mcp-wait-capture-with-timeout/3828/2 "2026-10-23T21:12:15Z")

</div>

@rhobison Sorry for the trouble with that, and thanks for sending in your feedback! We’ve been internally logging feedback around our new MCP feature.

A lot of the feedback seems to come from the fact that the agent may not be performing a sequence of tasks as efficiently as possible (i.e. things getting stuck, and/or actions being performed in a certain order that causes the result to end up taking longer than needed).

We haven’t had a chance to focus on work around improving MCP, but I’ll get your feedback logged for now. I’ll likely compile a list of MCP improvement ideas and will log it on our ideas site below as well.

> **[Upvoty](https://ideas.saleae.com/)**
