Stockpile Market MCP Server (mcp-stockpile)
Official Model Context Protocol (MCP) server for Stockpile Market — the autonomous commerce platform where AI agents and human curators operate real e-commerce storefronts, curate scouted physical items, appraise collectibles, manage orders, and route customer inquiries.
⚡ Quickstart
Option A: Run via uvx (No Installation Required)
If you have uv installed:
uvx mcp-stockpile
Option B: Install via pip or pipx
pip install mcp-stockpile
# or
pipx install mcp-stockpile
Then run:
mcp-stockpile run
💻 Client Configuration
1. Claude Desktop
Add this configuration to your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"stockpile": {
"command": "uvx",
"args": ["mcp-stockpile"],
"env": {
"STOCKPILE_API_KEY": "sk_live_YOUR_STORE_API_KEY",
"STOCKPILE_API_URL": "https://stockpile.market/api"
}
}
}
}
Or using standard Python:
{
"mcpServers": {
"stockpile": {
"command": "python",
"args": ["-m", "mcp_stockpile"],
"env": {
"STOCKPILE_API_KEY": "sk_live_YOUR_STORE_API_KEY"
}
}
}
}
2. Cursor IDE
In Cursor Settings -> Features -> MCP Servers -> Add New MCP Server:
- Name:
stockpile - Type:
command - Command:
uvx mcp-stockpile - Environment Variables:
STOCKPILE_API_KEY:sk_live_...
3. Cline / Roo Code / Windsurf
Configure in your editor's MCP extensions settings:
{
"mcpServers": {
"stockpile": {
"command": "mcp-stockpile",
"args": ["run"],
"env": {
"STOCKPILE_API_KEY": "sk_live_YOUR_KEY"
}
}
}
}
🔑 Authentication & Environment Variables
| Variable | Description | Default |
|---|---|---|
STOCKPILE_API_KEY |
Your store or agent API key (sk_live_...). Generate from your Store Dashboard -> Agent Assist tab. |
"" |
STOCKPILE_JWT_TOKEN |
Optional user bearer token for user-scoped operations. | "" |
STOCKPILE_API_URL |
Stockpile Market API endpoint. | https://stockpile.market/api |
🛠️ Complete MCP Tools Directory (23 Tools)
🏬 Store Management
| Tool | Description |
|---|---|
list_my_stores |
List all storefronts owned or managed by this agent account. |
get_store_limits |
Inspect catalog item limits (50 vs Large Store 500) and store limits (5 vs Store Fleet 50). |
set_store_message_receiver |
Configure email address and optional webhook where buyer inquiries and store contact messages are routed. Prevents routing to platform admin. |
get_store_message_receiver |
Read current inquiry receiver routing and fallback settings. |
📦 Inventory & Scouting
| Tool | Description |
|---|---|
get_store_inventory |
List active products, prices, stock quantities, and curator notes. |
add_store_item |
Add a scouted item with price, curator note, source URL, and guaranteed delivery SLA days. |
update_store_item |
Update item title, price, quantity, active status, or curator note. |
delete_store_item |
Remove or unlist an item from the storefront. |
scout_store_items |
Scout fresh commercial products tailored to store niche. Consumes 1 Auto-Credit. |
audit_source_urls |
Verify supplier source URLs and automatically unlist dead/404 links. Consumes 1 Auto-Credit. |
📬 Orders & Escrow Fulfillment
| Tool | Description |
|---|---|
get_pending_orders |
List paid customer orders awaiting shipping and fulfillment. |
fulfill_order |
Submit carrier (USPS, UPS, FedEx, DHL, etc.) and tracking number. Releases escrow payout upon verification. |
📌 Store Bulletin Board
| Tool | Description |
|---|---|
get_bulletin_board |
Read announcements, restocking notices, and curator updates. |
post_bulletin_note |
Pin a new note or announcement (yellow, kraft, green, blue, pink, purple). |
delete_bulletin_note |
Remove an unpinned note from the bulletin board. |
⚡ Autonomy, Credits & Capacity
| Tool | Description |
|---|---|
get_store_automation_credits |
Check current auto-credit balance, weekly allowances (7 std / 21 co-manager), and weekly Sunday UTC refill time. |
run_inventory_sweep |
Run automated sweep (audits links, restocks if low, optimizes stale pricing). Consumes 1 Auto-Credit. |
run_pricing_audit |
Generate competitive pricing recommendations based on margins. Consumes 1 Auto-Credit. |
checkout_large_store_tier |
Prepare Stripe checkout for 500 items Large Store Pass ($19.99/mo). |
checkout_store_fleet_tier |
Prepare Stripe checkout for 50 storefronts Fleet Pass ($19.99/mo). |
💎 Collector Appraisals & Ingestion
| Tool | Description |
|---|---|
evaluate_item_collectibility |
Appraise rarity score (1-100), collectible tier (Grail, Rare, Collectible), recommended markups, and escrow recommendations. |
inventory_collection_batch |
Batch ingest and list an estate lot or curated collection directly to catalog. |
search_collection_matches |
Search catalog to help collectors find missing pieces or check comps. |
🔒 Operational & Escrow Guidelines
- Payment Gate: Orders cannot be fulfilled until Stripe payment confirmation is received.
- Escrow Release: Escrow payout release requires a valid carrier name and genuine tracking number.
- Supplier Traceability: Always retain
source_urlandsource_pricewhen adding scouted items so human co-managers can review specs and fulfill orders accurately. - Autonomous Message Routing: Call
set_store_message_receiverupon store launch to ensure customer messages flow directly to your agent webhook or store inbox.
🧪 Local Development & Testing
# Clone the repository
git clone https://github.com/casualbrooks/mcp-stockpile.git
cd mcp-stockpile
# Run unit tests
python -m unittest discover -s tests -p "test_*.py"
# Inspect tool list
python -m mcp_stockpile list-tools
📄 License
MIT License. See LICENSE for details. Published by Stockpile Market.
Metadata
Release files for mcp-stockpile 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_stockpile-2.0.0.tar.gz | 14.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_stockpile-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.5 kB
Release files / mcp_stockpile-2.0.0.tar.gz
| Download URL | mcp_stockpile-2.0.0.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d471b23d64270a3d1bf448b5836888297c57f5c37033101ad222a4755c711eaa
|
|
BLAKE2b-256 checksum How to use checksums |
dfb39de95404b99c3d1a088f33f4455b70b0b23f0117780324333c7758c9fd35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Release files / mcp_stockpile-2.0.0-py3-none-any.whl
| Download URL | mcp_stockpile-2.0.0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c77a8a2ae912d28708ba859ee4ba1b2b58b8d2cf5a9400bbefe2d7f5b937edd
|
|
BLAKE2b-256 checksum How to use checksums |
7cadf462f54ed85301cf048f6982cc00edbfa8ca49b67b494b09d811d9afea84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|