Skip to main content

Module serializers

Module serializers 

Source
Expand description

Serialization utilities for converting between MCP messages and Nostr events.

Functions§

get_tag_value
Extract a tag value from a Nostr event’s tags.
get_tag_value_from_slice
Extract a tag value from a slice of tags.
mcp_to_nostr_event
Convert an MCP message to a Nostr event template (unsigned).
nostr_event_to_mcp_message
Deserialize a Nostr event’s content into an MCP message.