DVMCP Nostr Bridge
STDIOBridges MCP servers with Nostr's Data Vending Machine ecosystem for AI tool discovery.
Bridges MCP servers with Nostr's Data Vending Machine ecosystem for AI tool discovery.
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.
This monorepo contains the following packages:
The bridge implementation that connects MCP servers to Nostr's DVM ecosystem. Handles tool announcement, execution, and status updates.
A MCP server/discovery service that aggregates MCP tools from DVMs and makes their tools available.
Shared utilities and components used across DVMCP packages.
Prerequisite: Ensure you have Bun installed.
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.
# Install the packages globally npm install -g @dvmcp/bridge @dvmcp/discovery # Run the commands dvmcp-bridge dvmcp-discovery
To expose your MCP server as a DVM on Nostr:
npx @dvmcp/bridge
To aggregate MCP tools from DVMs:
npx @dvmcp/discovery
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
Contributions are welcome! Please feel free to submit pull requests or create issues.