Skip to main content

fastmcp-events

Events for FastMCP servers and clients: the io.modelcontextprotocol/events extension defined in SEP-3415, with poll and push delivery.

Experimental: the API may change in any release without a deprecation period.

pip install "fastmcp[events]"
# with the Redis-backed log, through Docket
pip install "fastmcp[events]" "fastmcp-events[docket]"
from pydantic import BaseModel

from fastmcp import FastMCP
from fastmcp_events import EventsExtension

mcp = FastMCP("alerts")
events = EventsExtension()
mcp.add_extension(events)


@events.event("alert.fired")
class AlertFired(BaseModel):
    """An alert fired."""

    project: str


# later, in a tool or webhook handler:
# await events.emit(AlertFired(project="api"))

See the Events docs.

Metadata

Release files for fastmcp-events 4.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastmcp-events 4.2.6
File Size Uploaded Provenance Actions
fastmcp_events-4.2.6.tar.gz 25.7 kB Without provenance Details for fastmcp_events-4.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fastmcp-events 4.2.6
File Interpreter ABI Platform Actions
fastmcp_events-4.2.6-py3-none-any.whl Python 3 none any Details for fastmcp_events-4.2.6-py3-none-any.whl

Total release size: 57.1 kB

Release files / fastmcp_events-4.2.6.tar.gz

Download URL fastmcp_events-4.2.6.tar.gz
Size 25.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e322a2ee3c8452ffb8f898167405090e8b13151d36d695cb7b9407822e909013
BLAKE2b-256 checksum
How to use checksums
31f87829d7075cc09934fb4832af974008d2dfb8dd4aacff9f989a1c00302e60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fastmcp_events-4.2.6-py3-none-any.whl

Download URL fastmcp_events-4.2.6-py3-none-any.whl
Size 31.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db140fd52818c40484e6e6cc31261eca7262fe0356bb8963f76690065addd159
BLAKE2b-256 checksum
How to use checksums
83f584ce489648afdabf19f49a370b972ffa02da1acd956d8d35ea9d24e98de7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for fastmcp-events 4.2.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page