概要
What is n8n AI Agent for DVM MCP?
n8n AI Agent for DVM MCP is a set of n8n workflows that create an AI Agent capable of discovering and using Model Context Protocol (MCP) tools served as Data Vending Machines (DVMs) over the Nostr network. It enables LLMs to find and use tools they do not have installed, by querying for them as DVMs on Nostr.
How to use n8n AI Agent for DVM MCP?
Install a self-hosted n8n instance and add the Nostrobots Community Nodes. Import the five GitHub workflows (DVMCP Agent Example v1.0 and four Tools Subworkflows) into n8n. Configure credentials for OpenAI API (or other LLM), SerpAPI, a Nostr private key (Nsec), and a Postgresql/Supabase database. Set workflow variables (Assistant Name, Assistant Npub, Nostr Relays, User Localisation). Manually reconnect each Tool Subworkflow to the main workflow on first install.
Key features of n8n AI Agent for DVM MCP
- Discover and use MCP tools over Nostr network
- No need to pre-install MCP servers locally
- Built on n8n low-code platform
- Integrates DVMCP protocol for server-tool discovery
- Includes five reusable n8n subworkflows
- Uses a system prompt to orchestrate tool usage
Use cases of n8n AI Agent for DVM MCP
- Deploy an AI agent that dynamically discovers and uses remote MCP tools
- Create a user assistant that queries Nostr for tool availability
- Automate multi-step workflows requiring external data or services
- Experiment with MCP tool discovery and usage in a low-code environment
FAQ from n8n AI Agent for DVM MCP
What is DVM?
Data Vending Machines (DVMs) listen for and respond to queries over the Nostr network, allowing tools to be served remotely.
What is MCP?
The Model Context Protocol is an open protocol that allows AI agents to access data sources and tools.
What is DVMCP?
Data Vending Machine Context Protocol bridges MCP servers with Nostr’s DVM ecosystem, enabling any MCP server to serve tools over the network and any agent to access them.
What are the prerequisites?
You need a self-hosted n8n instance, the Nostrobots Community Nodes, credentials for an LLM API, SerpAPI, a Nostr private key, and a Postgresql/Supabase database.
How do I set up the workflows after import?
Import the five workflows, configure credentials and workflow variables, then manually reconnect each Tool Subworkflow to the main DVMCP Agent workflow.