Adapter Details: p2p

The venue's node on the Convex P2P network: list the nodes it knows, with their DIDs, names and whether they are connected, and connect it to a peer. Off unless the operator joins the network. Venue-owned.

Name:p2p
Class:covia.adapter.P2PAdapter

MCP Tools

This adapter provides 2 MCP tool(s) for AI agent integration:

Tool NameDescription
p2p_connectConnects this venue's P2P node to another node, given the node's did:key and its address, and returns once the node has proved its key and the two have exchanged what they know. The venue keeps redialling the node until its own node stops; this is not saved across restarts, so list lasting bootstrap peers in adapters.p2p.peers. Fails when the venue has not joined the network. Venue-owned: requires p2p/manage on <venue DID>/p2p.
p2p_peersLists this venue's own node on the Convex P2P network and every other node it knows: each node's did:key, the name and any other DID it publishes (alsoKnownAs, a claim the node signs, not a verified identity), whether it is connected now, how it is reached (outbound or inbound route, through relays it lists, or none), its transport URLs and software version. Entries are open maps; more fields may appear. joined is false, with no peers, when the venue has not joined the network. Venue-owned: requires p2p/read on <venue DID>/p2p.

Navigation

Back to all adapters

Back to index