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.