Skip to main content

Universal MCP notification relay — polls MCP servers and streams change events as log notifications

Project description

agent-notify

Universal MCP notification relay.

Agent_notify polls one or more MCP servers for configured tools and streams any changes as JSON notifications via MCP log events.

Install (using uv)

This repository is designed to work with uv (a thin wrapper around python/pip used throughout this workspace).

cd Agent_notify
uv venv .venv          # creates a virtualenv in .venv
.venv\Scripts\activate  # Windows (use `source .venv/bin/activate` on macOS/Linux)
uv sync                 # install dependencies from pyproject.toml

Quickstart (using uv run)

  1. Create or edit notify_config.yaml (a default example is provided in the repository).
  2. Run the agent:
uv run agent-notify

You can override the config path:

AGENT_NOTIFY_CONFIG=/path/to/notify_config.yaml uv run agent-notify

If you prefer, you can still install from PyPI:

pip install agent-notify
agent-notify

How it works

  • Polls every configured server/tool at poll_interval seconds.
  • When a tool's returned value changes between polls, it emits a JSON notification.
  • Notifications are streamed as log events (MCP ctx.info) until the client disconnects.

Usage notes

  • Enable debug logging by setting debug: true in notify_config.yaml.
  • Logs are written to stderr and optionally to log_file when configured.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_notify_mcp-0.1.2.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_notify_mcp-0.1.2-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file agent_notify_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: agent_notify_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_notify_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9be5aaca5e17ef6b80c6325c4ee032e07d440bc8b796d10db7dc50cb64487a2f
MD5 07c35be044e8be7ffce00cce58f49549
BLAKE2b-256 8da797e204e4040a2454c3bd66edc50d41eed0d0ce0c41d2d4ae91c3bfae01d8

See more details on using hashes here.

File details

Details for the file agent_notify_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: agent_notify_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_notify_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3721505924ed01040926877a8c88acf3b57e48b7c7a916ae9e5cee862d3f08aa
MD5 64cbf117cc3d60080fa3c91e9410cd81
BLAKE2b-256 7a4fd2ccd694af8a1b262334c9ce173c5f8755bb0c650837d7f30e90e70e059c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page