Skip to main content
Glama
AaLexUser

mcp-wait

by AaLexUser

mcp-wait

TypeScript MCP server License: MIT

An MCP server that provides a wait tool for AI agents to pause execution until a time duration elapses or a process terminates. Useful for polling scenarios, waiting for builds, deployments, etc.

Installation

npm install && npm run build

Related MCP server: MCP Wait Timer Server

Usage with MCP Clients

Add to your MCP client configuration (e.g., Claude Desktop, Claude Code):

{
  "mcpServers": {
    "wait": {
      "command": "npx",
      "args": ["-y", "github:AaLexUser/mcp-wait"]
    }
  }
}

Tool: wait

Arguments (at least one required):

Argument

Type

Description

seconds

number

Seconds to wait

pid

number

Process ID to monitor until exit

Behavior:

  • Only seconds → wait N seconds

  • Only pid → wait until process exits

  • Both → wait until first condition is met

Returns: A message indicating why waiting stopped and how long was waited.

Examples

  • Wait 5 seconds: { "seconds": 5 }

  • Wait for process 1234: { "pid": 1234 }

  • Wait up to 30 seconds for process 1234: { "seconds": 30, "pid": 1234 }

Development

npm run build    # Compile TypeScript
npm run lint     # Run ESLint
npm run format   # Format with Prettier
npm run check    # Lint + format check

License

MIT

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AaLexUser/mcp-wait'

If you have feedback or need assistance with the MCP directory API, please join our Discord server