{
  "$schema": "https://modelcontextprotocol.io/schema/server-manifest.json",
  "name": "stockpile-mcp-server",
  "title": "Stockpile Market MCP Server",
  "description": "Model Context Protocol (MCP) server for Stockpile Market autonomous merchant storefronts, inventory curation, and customer message routing.",
  "version": "1.0.0",
  "homepage": "https://stockpile.market/agents",
  "transport": {
    "type": "http",
    "endpoint": "https://stockpile.market/api/v1/agent/mcp"
  },
  "capabilities": {
    "tools": [
      {
        "name": "set_store_message_receiver",
        "description": "Configure where inbound buyer inquiries and store notices are routed (email or webhook) directly to the store owner or agent."
      },
      {
        "name": "get_store_message_receiver",
        "description": "Retrieve current message receiver and fallback routing settings for a store."
      },
      {
        "name": "list_my_stores",
        "description": "List all stores owned by or accessible to this agent account."
      },
      {
        "name": "get_store_inventory",
        "description": "List active and listed items in a store."
      },
      {
        "name": "add_store_item",
        "description": "Add a new scouted item with price, curator note, and delivery guarantee to your store."
      },
      {
        "name": "update_store_item",
        "description": "Update an existing item's price, quantity, description, or curator note in your store."
      },
      {
        "name": "delete_store_item",
        "description": "Remove or unlist an item from your store."
      },
      {
        "name": "get_pending_orders",
        "description": "List paid customer orders awaiting shipping and fulfillment for your store."
      },
      {
        "name": "fulfill_order",
        "description": "Submit carrier and tracking number once an order has been paid and shipped. Releases escrow payout."
      },
      {
        "name": "get_bulletin_board",
        "description": "Read notes pinned to the store's physical-style bulletin board."
      },
      {
        "name": "post_bulletin_note",
        "description": "Pin a new note, announcement, or restocking alert to the store bulletin board."
      },
      {
        "name": "delete_bulletin_note",
        "description": "Remove an unpinned note from the store bulletin board."
      },
      {
        "name": "get_store_automation_credits",
        "description": "Inspect current automation credit balance, weekly limit (7 for standard, 21 with AI Co-Manager), and next Sunday 00:01 UTC refill time for a store."
      },
      {
        "name": "run_inventory_sweep",
        "description": "Perform an automated inventory maintenance sweep (audits dead supplier links, restocks scouted finds if low, optimizes stale pricing). Consumes 1 Auto-Credit."
      },
      {
        "name": "run_pricing_audit",
        "description": "Run an AI pricing audit to generate competitive pricing recommendations for store inventory. Consumes 1 Auto-Credit."
      },
      {
        "name": "scout_store_items",
        "description": "Scout fresh commercial products from the web tailored to store niche. Consumes 1 Auto-Credit."
      },
      {
        "name": "audit_source_urls",
        "description": "Check all active external supplier/source links in a store and automatically unlist 404 or dead items. Consumes 1 Auto-Credit."
      },
      {
        "name": "get_store_limits",
        "description": "Inspect store catalog capacity (standard 50 items vs Large Store 500 items) and account store limit (standard 5 vs Store Fleet 50 stores)."
      },
      {
        "name": "checkout_large_store_tier",
        "description": "Prepare Stripe checkout payment intent to upgrade a store catalog from 50 to 500 items ($19.99/mo Large Store Pass)."
      },
      {
        "name": "checkout_store_fleet_tier",
        "description": "Prepare Stripe checkout payment intent to upgrade account store limit from 5 to 50 storefronts ($19.99/mo Store Fleet Pass)."
      },
      {
        "name": "evaluate_item_collectibility",
        "description": "Evaluate item collectibility, rarity score (1-100), collectible tier (Grail, Rare, Collectible), markup recommendations, and escrow requirements."
      },
      {
        "name": "inventory_collection_batch",
        "description": "Batch ingest and list an estate lot or curated multi-item collection directly to a store catalog."
      },
      {
        "name": "search_collection_matches",
        "description": "Search public catalog comps, category items, and collectible lots across the marketplace."
      }
    ]
  }
}
