Easy Digital Downloads

io.github.verygoodplugins由 GitHub 帳號 verygoodplugins 發布v1.1.0更新於 Oct 24, 2026

MCP server for Easy Digital Downloads REST API - sales, customers, products, analytics

已驗證STDIO僅桌面資料與分析商業與電商

概覽

AI 產生的概覽

此 MCP 伺服器將助理連接到 Easy Digital Downloads 商店的 REST API,用來查詢銷售、客戶、產品、折扣與分析資料。

可以做什麼
驗證商店 API 網址與憑證,並檢查與商店 REST API 的連線(診斷)。列出並讀取產品及其價格與統計資料,列出並讀取銷售紀錄,可依條件篩選或依購買金鑰查詢。列出並讀取客戶及其購買統計、終身價值與購買紀錄。取得收入與銷售總額、指定日期範圍的每日統計,以及依產品劃分的統計。列出並讀取折扣碼與使用統計,並取得檔案下載紀錄。
適用情境
適合以 Easy Digital Downloads 架設 WordPress 商店、希望讓助理直接回答營收、主要客戶、產品銷售表現、折扣碼或下載活動等問題,而不必開啟後台管理介面的情境。
執行需求
以 npm 套件(Node.js)形式在本機執行,或作為 Claude Desktop 擴充功能安裝。需要一個已啟用 REST API 的 EDD 商店,並設定三個環境變數:EDD_API_URL、EDD_API_KEY(公鑰)與 EDD_API_TOKEN,可在 WordPress 後台的「下載、設定、API」中產生。需要能連線到該商店的網路。
安裝前請注意
需要商店 API 憑證(EDD_API_KEY 與 EDD_API_TOKEN),可讀取銷售與客戶資料;請勿寫入共用設定或版本控制。客戶紀錄包含電子郵件與購買紀錄,回傳內容可能含個人資料。所列工具看起來是唯讀的,但仍建議使用專用的 API 使用者並限制權限。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Easy Digital Downloads,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

mcp-edd

MCP server for Easy Digital Downloads REST API - access sales data, customers, products, and analytics from your EDD store.

[npm version] [License: GPL-3.0]

Features

  • 📊 Sales Analytics - Revenue, transaction counts, date ranges
  • 👥 Customer Data - Purchase history, lifetime value
  • 🛍️ Product Catalog - Pricing tiers, licensing info
  • 🏷️ Discount Codes - Usage stats and configuration
  • 📥 Download Logs - File download tracking
  • 🔒 Type Safety - Full Zod schema validation

Installation

Quick Install (Claude Desktop)

Download the Desktop Extension for one-click installation:

Release page (download .mcpb asset)

Double-click the downloaded file to install. You'll be prompted for your API credentials.

npm Install

bash
npm install -g @verygoodplugins/mcp-edd

Or add to your Claude Desktop configuration directly (see below).

Configuration

Environment Variables

Set these environment variables before running the server:

bash
export EDD_API_URL="https://your-store.com/edd-api/"export EDD_API_KEY="your-api-public-key"export EDD_API_TOKEN="your-api-token"

Or create a .env file in your working directory.

Getting API Credentials

  1. In WordPress admin, go to Downloads → Settings → API
  2. Generate a new API key for your user
  3. Copy the Public Key and Token
  4. Your API URL is https://your-site.com/edd-api/

Claude Desktop Configuration

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "edd": {      "command": "npx",      "args": ["-y", "@verygoodplugins/mcp-edd"],      "env": {        "EDD_API_URL": "https://your-store.com/edd-api/",        "EDD_API_KEY": "your-api-public-key",        "EDD_API_TOKEN": "your-api-token"      }    }  }}

Available Tools

Setup / Diagnostics

ToolDescription
edd_validate_connectionValidate your Store API URL and credentials

Products

ToolDescription
edd_list_productsList all products with pricing and stats
edd_get_productGet detailed product info by ID

Sales

ToolDescription
edd_list_salesList recent sales with filters
edd_get_saleGet sale by ID or purchase key

Customers

ToolDescription
edd_list_customersList customers with purchase stats
edd_get_customerGet customer by ID or email

Note: edd_list_customers returns the EDD customer ID as id (usable with edd_get_customer(customerId=...)) and includes userId when available.

Statistics

ToolDescription
edd_get_statsGet earnings/sales totals
edd_get_stats_by_dateGet daily stats for date range
edd_get_stats_by_productGet stats breakdown by product

Discounts

ToolDescription
edd_list_discountsList all discount codes
edd_get_discountGet discount details by ID

Downloads

ToolDescription
edd_get_download_logsGet file download history

Example Usage

Once configured, you can ask Claude:

  • "Show me this month's sales revenue"
  • "List the top 10 customers by lifetime value"
  • "How many licenses were sold for WP Fusion last month?"
  • "Show me all active discount codes"
  • "Get the purchase history for [email protected]"

Development

bash
# Install dependenciesnpm install
# Buildnpm run build
# Run testsnpm test                    # Unit testsnpm run test:integration    # Integration tests (requires credentials)npm run test:all           # All tests
# Lintnpm run lint

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with tests
  4. Submit a pull request

API Reference

This server wraps the EDD REST API. See their documentation for detailed endpoint information.

License

GPL-3.0 - see LICENSE for details.

Support

For issues, questions, or suggestions:


Built with 🧡 by Very Good Plugins

來源:README.md,提交 058d5c6

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分