mcp-wait is a reference Model Context Protocol (MCP) server that demonstrates a simple note storage system and a wait utility, built using the create-python-server SDK.
- Tools:
wait: Wait for a specified number of seconds before responding- Argument:
seconds(integer)
- Argument:
- uv (for dependency management)
- Python 3.8+
-
Install dependencies:
uv sync
-
Run the server:
uv --directory . run wait
Add the following to your Claude Desktop config:
Development/Unpublished:
"mcpServers": {
"wait": {
"command": "uv",
"args": ["--directory", "C:/cnext/mcp-wait", "run", "wait"]
}
}Published:
"mcpServers": {
"wait": {
"command": "uvx",
"args": ["wait"]
}
}- Sync dependencies:
uv sync
- Build distributions:
uv build
- Publish to PyPI:
uv publish
- Set credentials via
--token/UV_PUBLISH_TOKENor--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD
- Set credentials via
For best results, use the MCP Inspector:
npx @modelcontextprotocol/inspector uv --directory C:/cnext/mcp-wait run waitOpen the displayed URL in your browser to debug.
Build and run with Docker:
docker build -t mcp-wait .
docker run --rm -p 8000:8000 mcp-waitsrc/wait/— Main server implementationDockerfile— Containerizationpyproject.toml— Project metadata and dependenciesuv.lock— Dependency lockfile