MCPSERV.CLUB
gzuuus

DVMCP

MCP Server

Decentralized MCP server discovery via Nostr

Stale(45)
26stars
1views
Updated Sep 1, 2025

About

DVMCP bridges Model Context Protocol servers with Nostr's Data Vending Machine ecosystem, enabling decentralized discovery, secure communication, and seamless integration of AI services across a cryptographically verified network.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Overview

DVMCP (Data Vending Machine Context Protocol) is a bridge that fuses the Model Context Protocol (MCP) with Nostr’s Data Vending Machine (DVM) ecosystem. By translating MCP servers into the decentralized, cryptographically‑signed language of Nostr, DVMCP eliminates the need for centralized registries and allows AI services to be discovered, authenticated, and invoked through a single, open network. This integration gives developers a way to expose AI tools, resources, and prompts as DVMs that can be queried by any MCP‑compliant client without trusting a single provider.

At its core, DVMCP publishes server announcements and lists of available tools, resources, and prompts as Nostr events (kinds 31316–31319). These announcements are signed with the server’s Nostr key, ensuring that a client can verify the origin of each capability before use. When a request is made, the bridge sends a signed request event (kind 25910) and listens for a corresponding response event (kind 26910). Feedback or status updates can be communicated via kind 21316, and encrypted messages (NIP‑59) keep sensitive data private. The JSON‑RPC pattern used by both MCP and DVMs means that the bridge can forward calls with minimal overhead, preserving the familiar request/response semantics for developers.

Key capabilities include:

  • Decentralized discovery – Any MCP client can subscribe to the Nostr relay network and automatically receive new server announcements, eliminating manual registration steps.
  • Verifiable authenticity – Every message is cryptographically signed; clients can reject tampered or spoofed capabilities without additional checks.
  • Tool aggregation – The discovery service collects tools from multiple DVMs, presenting them as a unified MCP interface that clients can query with standard tool‑listing APIs.
  • Bidirectional communication – Status updates and feedback flow back to the server via Nostr events, allowing long‑running or streaming operations to be monitored in real time.

Real‑world scenarios that benefit from DVMCP include:

  • Federated AI marketplaces where developers publish niche models (e.g., image captioning or code generation) as DVMs and allow clients to discover them through the same relay network that powers other decentralized services.
  • Secure, privacy‑preserving workflows where sensitive prompts or data are wrapped in NIP‑59 messages, ensuring that only the intended recipient can read them.
  • Rapid prototyping in research labs where new MCP tools need to be exposed quickly without setting up a dedicated registry; publishing an announcement event is all that’s required.

By integrating seamlessly with existing MCP tooling, DVMCP gives developers a powerful way to make AI services discoverable, verifiable, and fully decentralized. The result is a robust, future‑proof infrastructure that aligns with the growing trend toward open, trustless AI ecosystems.