drio
Open app

n8n AI Agent for DVM MCP

Source

An AI agent built in n8n which can find and use Model Context Protocol (MCP) Server Tools served as Data Vending Machines (DVM) over the Nostr network.

Catalog onlyCatalog onlySTDIO

Overview

The n8n AI Agent for DVM MCP is an AI agent built on the n8n platform that utilizes Model Context Protocol (MCP) Server Tools, functioning as Data Vending Machines (DVM) over the Nostr network. It enables AI agents to discover and use tools that are not installed locally by querying the network for available tools.

To use the n8n AI Agent, you need to install n8n and set up the necessary workflows and credentials. After installation, you can prompt the agent to use its tools, and it will handle the querying and response process automatically.

  • Queries the Nostr network for available MCP tools. - Posts requests to the tools and waits for responses. - Reads responses and replies to the user. - Supports integration with various APIs like OpenAI and SerpAPI.
  1. Automating data retrieval from various sources using AI.
  2. Enhancing AI capabilities by allowing it to access tools over the network.
  3. Facilitating complex workflows that require multiple tool interactions.

Add to your AI client

Use these steps to connect n8n AI Agent for DVM MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "n8n-ai-agent-dvm-mcp-client-r0d8lsh0p": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-n8n-ai-agent-dvm-mcp-client-r0d8lsh0p"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "n8n-ai-agent-dvm-mcp-client-r0d8lsh0p": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-n8n-ai-agent-dvm-mcp-client-r0d8lsh0p"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "n8n-ai-agent-dvm-mcp-client-r0d8lsh0p": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-n8n-ai-agent-dvm-mcp-client-r0d8lsh0p"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "n8n-ai-agent-dvm-mcp-client-r0d8lsh0p": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-n8n-ai-agent-dvm-mcp-client-r0d8lsh0p"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "n8n-ai-agent-dvm-mcp-client-r0d8lsh0p": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-n8n-ai-agent-dvm-mcp-client-r0d8lsh0p"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "n8n-ai-agent-dvm-mcp-client-r0d8lsh0p": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-n8n-ai-agent-dvm-mcp-client-r0d8lsh0p"
      ]
    }
  }
}

FAQ

**What is the Model Context Protocol (MCP)?**

MCP is an open protocol that allows AI agents to access data sources and tools.

**Do I need to install anything special?**

Yes, you need to install n8n and the Nostrobots Community Nodes to access Nostr tools.

**Is there a cost associated with using this agent?**

The n8n platform is open-source, but you may incur costs depending on the APIs you integrate with.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1273,"uuid":"74066683-8d3d-4aea-a6ad-f295c2a48e53","name":"n8n-AI-agent-DVM-MCP-client","title":"n8n AI Agent for DVM MCP","description":"An AI agent built in n8n which can find and use Model Context Protocol (MCP) Server Tools served as Data Vending Machines (DVM) over the Nostr network.","avatar_url":"https://avatars.githubusercontent.com/u/183039011?v=4","created_at":"2025-02-20T14:28:20.022Z","updated_at":"2025-02-23T07:21:18.129Z","status":"created","author_name":"r0d8lsh0p","author_avatar_url":"https://avatars.githubusercontent.com/u/183039011?v=4","tags":"ai,mcp,dvm,n8n,nostr","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/r0d8lsh0p/n8n-AI-agent-DVM-MCP-client","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/r0d8lsh0p/n8n-AI-agent-DVM-MCP-client/raw/main/Screenshots/DVMCP-Agent-v1-0-Workflow.png","type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]