
Mcp Await
io.github.ricardo-hdrnPublished by GitHub account ricardo-hdrnv0.1.3Updated Oct 24, 2026
Condition watcher for AI assistants — wait for ports, files, URLs, processes, and more
Overview
A local MCP server and CLI that lets an assistant wait for a condition — a port, file event, URL status, process, Docker container, GitHub Actions run or shell-
- What you can do
- Wait for network and service readiness: TCP ports and URLs with an expected HTTP status, optionally non-blocking with a watch ID and resource URI for later retrieval or cancellation.
- When to use it
- Use it when an assistant needs to wait for a service, deployment, file, process, container or CI run before continuing, instead of writing sleep or retry loops that waste round-trips.
- Requirements
- Runs as a local process on the user's machine, installed from a prebuilt binary, crates.io or source. Some tools need external programs on the PATH: curl for URL waits, docker for container waits and gh for GitHub Actions waits. No accounts, API keys or environment variables are declared.
Installation
In SourceWeft
- Open Mcp Await in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
mcp-await
Condition watcher MCP server + CLI for AI CLI assistants (Claude Code, Codex, Cursor, etc.).
Instead of polling with sleep loops and curl --retry that waste API round-trips, call a wait tool once — it blocks until the condition is met and returns the result.
Installation
Quick Start
Tools
All tools accept timeout_seconds (default: 300) and blocking (default: true).
CLI Usage
The binary doubles as a standalone CLI tool:
Exit Codes
Output Format
All commands output JSON:
MCP Server Setup
Claude Code
Add to ~/.claude.json:
The binary runs as a stdio MCP server when invoked without a subcommand (or with mcp-await serve).
MCP Inspector
Blocking vs Non-Blocking Mode
Blocking (default)
The tool call holds until the condition is met, times out, or is cancelled. This is the simplest mode — the AI assistant waits for the result.
Non-Blocking
Set blocking: false to get an immediate response with a watch_id and resource URI. The server monitors in the background and pushes a notification when done.
Flow:
- Call
wait_for_portwithblocking: false - Get back immediately:
- Do other work while waiting
- Receive
notifications/resources/updatedwhen the condition is met - Read
watch://port-1for the full result
Cancellation
Cancel any non-blocking watch with cancel_watch:
Resources
Non-blocking watches are exposed as MCP resources at watch://{watch_id}.
list_resources— returns all active and completed watchesread_resource("watch://port-1")— returns JSON with the watch status and result
Reinforcing Agent Usage
Agents sometimes fall back to shell workarounds instead of using mcp-await. Add a snippet to your project's agent instructions file to reinforce the behavior:
Roadmap
- Agent-level instructions to enforce mcp-await usage across all agents (system prompts, tool metadata hints)
- Broader agent compatibility testing (Codex, Gemini CLI, Cursor, Windsurf)
Development
License
Source: README.md at commit 8dbd6d0
Tools
0Version history
1- v0.1.3LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts