n8n AI Agent for DVM MCP logo

n8n AI Agent for DVM MCP

by r0d8lsh0p

This project provides n8n workflows to create an AI Agent that utilizes Model Context Protocol (MCP) Server Tools served as Data Vending Machines (DVM) over the Nostr network. The agent can discover and use tools over the Nostr network by querying for them as DVMs.

View on GitHub

Last updated: N/A

What is n8n AI Agent for DVM MCP?

This is an n8n-based AI agent that can discover and use tools served as Data Vending Machines (DVM) over the Nostr network using the Model Context Protocol (MCP). It allows LLMs to access and utilize tools without needing them installed locally.

How to use n8n AI Agent for DVM MCP?

  1. Install a self-hosted n8n instance. 2. Install Nostrobots Community Nodes. 3. Add the five provided workflows to your n8n instance by importing from the raw JSON URLs. 4. Add credentials for OpenAI API (or other LLM), SerpAPI, Nostr Private Key (Nsec), and Postgresql/Supabase. 5. Configure workflow variables in the Set Variables Node (Assistant Name, Assistant Npub, Nostr Relays, User Localisation). 6. Reconnect the DVMCP Agent to its Tool Subworkflows.

Key features of n8n AI Agent for DVM MCP

  • Discovers MCP Tools over the Nostr network

  • Uses DVMs to access tools remotely

  • Integrates with n8n for low-code automation

  • Utilizes the Model Context Protocol (MCP)

  • Supports querying and interacting with tools via the Nostr network

Use cases of n8n AI Agent for DVM MCP

  • Automating tasks that require access to external data sources and tools

  • Building AI agents that can adapt to new tools and data sources dynamically

  • Creating decentralized AI applications that leverage the Nostr network

  • Integrating LLMs with real-world data and services

FAQ from n8n AI Agent for DVM MCP

What is MCP?

The Model Context Protocol is an open protocol that allows AI agents to access data sources and tools.

What is a DVM?

Data Vending Machines listen for and respond to queries over the Nostr network.

What is DVMCP?

Data Vending Machine Context Protocol bridges Model Context Protocol servers with Nostr's Data Vending Machine ecosystem.

Why use n8n for this?

n8n is a low-code platform which is very convenient for creating Langchain Tools Agents.

Where can I generate a Nostr private key?

You can generate one at NostrTool.com.