Cover image
Try Now
2025-04-14

DVMCP是将模型上下文协议(MCP)服务器连接到NOSTR数据自动售货机(DVM)生态系统的桥梁实现

3 years

Works with Finder

3

Github Watches

4

Github Forks

17

Github Stars

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

Contributing

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

License

MIT License

Related Projects

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    4 (1)
    Avatar
    user_k8wmfuZA
    2025-04-15

    MCP Server LeetCode by doggybee has been an amazing tool for enhancing my coding skills. The intuitive interface and seamless integration make tackling LeetCode problems a breeze. It's perfect for both beginners and advanced users looking to sharpen their problem-solving abilities. Highly recommend checking it out at https://mcp.so/server/mcp-server-leetcode/doggybee!