Damus
Rod profile picture
Rod
@Rod
Today I built tools for Jonny, an AI agent, to use any MCP server hosted by anyone over the internet.



It's enabled by @Gzuuus and @Don't Believe The Vibe πŸŒ±πŸ‹πŸŠ hosting "DVMCP" servers. What is this?
- MCP servers give AI agents access to tools
- DVM allows those tools to be discovered and queried (and paid for) over Nostr relays.

Why is this interesting? Any AI agent (like mine here pictured) can now use any tool, even if they don't have it installed, so long as anyone exposes it with a NIP-89 note.

What's Jonny doing here? On receiving my prompt he–
- checks if he has a tool already, if not
- queries Nostr for NIP-89 notes to see if any tools are available, and if a relevant one is, then
- posts a kind 5910 note requesting a job
- enters a loop where he waits then queries for a response, until he gets one or timeout
- brings the response back to me //exactly as if he had the tool installed and without me needing to explicitly prompt it.

Just to say that again. Jonny does not have any tool to allow him to find this information. He is finding the required tool and using it on the fly.

Given this stack, any AI agent is going to be able to do everything.

Jonny is built in an n8n workflow using Nostrobots by @おくγͺγ‚‚οΌˆζ—©γγ­γ‚οΌ‰ and is tapping @Don't Believe The Vibe πŸŒ±πŸ‹πŸŠ's Nostr DVMCP server (with thanks!) @PABLOF7z @Kayhan Sepanta
207❀️12πŸ€™3πŸ”₯2πŸš€2❀️1πŸ‘€1
Rod · 74w
Behind the scenes – You can see the sequence Jonny took, with the calls to the DVMCP servers along the way. https://m.primal.net/OaVd.png
Karnage · 74w
What’s a nip-89 note? How does one publish those? What do they look like?
Karnage · 74w
Is there any easy way to tap into these notes? Like to tell my agent to β€œlook here first before every query”? Or would you have to specify relays and stuff?
Rod · 74w
If you'd like to host an MCP tool server of your own so that agents like mine can use it see nostr:nprofile1qqsypwwgtll74lqu4huvxzjwtjyxvrlkujt35rw8y026ke6ttesmg5gpzemhxue69uhkummnw3ex2mrfw3jhxtn0wfnj7qghwaehxw309aex2mrp0yhxummnw3ezucnpdejz7wzpxlr https://github.com/gzuuus/dvmcp
Gzuuus · 74w
πŸ”₯πŸ”₯πŸ”₯
Zapgur · 74w
Does it scale in case there are thousands of available tools, will it struggle to "find" the relevant one?
Kayhan Sepanta · 74w
great job rod. how can we use it now?
Melvin Carvalho · 74w
Nice work. #agenticnostr is going to grow and grow! We should form a group.
Max · 74w
Just casually unleashing bots on the nostr.