Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

dvmcp

MCP.Pizza Chef: gzuuus

DVMCP is a server bridging Model Context Protocol (MCP) servers to Nostr's Data Vending Machine (DVM) ecosystem. It enables AI and computational tools to be discovered, announced, executed, and managed via Nostr's decentralized network. The monorepo includes packages for bridging, discovery, and shared utilities, facilitating seamless integration of MCP tools with decentralized data vending.

Use This MCP server To

Connect MCP servers to decentralized Nostr DVM networks Announce and manage AI tools on Nostr's DVM ecosystem Aggregate MCP tools from multiple DVM sources for discovery Enable execution and status tracking of MCP tools via Nostr Integrate decentralized data vending with AI tool workflows

README

DVMCP: Data Vending Machine Context Protocol

A monorepo containing packages that bridge Model Context Protocol (MCP) servers with Nostr's Data Vending Machine (DVM) ecosystem, enabling AI and computational tools to be discovered and utilized via Nostr's decentralized network.

Packages

This monorepo contains the following packages:

@dvmcp/bridge

The bridge implementation that connects MCP servers to Nostr's DVM ecosystem. Handles tool announcement, execution, and status updates.

@dvmcp/discovery

A MCP server/discovery service that aggregates MCP tools from DVMs and makes their tools available.

@dvmcp/commons

Shared utilities and components used across DVMCP packages.

Installation & Usage

Prerequisite: Ensure you have Bun installed.

Quick Start with NPX (No Installation)

You can run the packages directly using npx without installing them:

# Run the bridge
npx @dvmcp/bridge
# Run the discovery service
npx @dvmcp/discovery

The interactive CLI will guide you through configuration setup on first run.

Global Installation

# Install the packages globally
npm install -g @dvmcp/bridge @dvmcp/discovery
# Run the commands
dvmcp-bridge
dvmcp-discovery

Setting Up a Bridge

To expose your MCP server as a DVM on Nostr:

  1. Navigate to the directory where you want to configure the bridge
  2. Run: npx @dvmcp/bridge
  3. Follow the interactive setup to configure:
  • Your MCP server path
  • Nostr private key (or generate a new one)
  • Relays to connect to
  1. The bridge will start and begin proxying requests between Nostr and your MCP server

Setting Up a Discovery Service

To aggregate MCP tools from DVMs:

  1. Navigate to your desired directory
  2. Run: npx @dvmcp/discovery
  3. Follow the setup to configure:
  • Nostr private key
  • Relays to monitor

Development

For contributors to this repository:

# Clone the repo
git clone https://github.com/gzuuus/dvmcp.git
cd dvmcp
# Install dependencies
bun install
# Start the bridge in development mode
bun run dev --cwd packages/dvmcp-bridge
# Start the discovery service in development mode
bun run dev --cwd packages/dvmcp-discovery

Documentation

  • DVMCP Specification
  • Bridge Package
  • Discovery Package
  • Commons Package

Contributing

Contributions are welcome! Please feel free to submit pull requests or create issues.

License

MIT License

Related Projects

dvmcp FAQ

How does DVMCP connect MCP servers to Nostr's DVM ecosystem?
DVMCP acts as a bridge that announces, executes, and updates the status of MCP tools on Nostr's decentralized Data Vending Machine network.
What packages are included in the DVMCP monorepo?
It includes @dvmcp/bridge for bridging MCP servers, @dvmcp/discovery for aggregating tools, and @dvmcp/commons for shared utilities.
Is installation required to use DVMCP?
No, you can run DVMCP packages directly using npx without installation, though Bun is a prerequisite.
Can DVMCP handle tool discovery across multiple DVMs?
Yes, the discovery package aggregates MCP tools from various DVMs to make them available for use.
How does DVMCP improve decentralized AI tool workflows?
By enabling seamless integration, announcement, execution, and status updates of MCP tools on a decentralized network, it enhances tool accessibility and management.
What prerequisites are needed to run DVMCP?
You need to have Bun installed to run the DVMCP packages effectively.
Can DVMCP be used with multiple LLM providers?
Yes, it supports integration with various LLMs like OpenAI, Claude, and Gemini through MCP servers.