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.4.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 | Provenance | Actions |
|---|---|---|---|---|
| mcp_stockpile-2.4.0.tar.gz | 18.7 kB | Without provenance | Details for mcp_stockpile-2.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_stockpile-2.4.0-py3-none-any.whl | Python 3 | none | any | Details for mcp_stockpile-2.4.0-py3-none-any.whl |
Total release size: 33.9 kB
Release files / mcp_stockpile-2.4.0.tar.gz
| Download URL | mcp_stockpile-2.4.0.tar.gz |
|---|---|
| Size | 18.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33eada8192393d3ee318cd10cd46cfcbf8be95e188b2b6f9ddb7d5d4cb4eb1cb
|
|
BLAKE2b-256 checksum How to use checksums |
c7f4a2547a02912fb31c1988d27a31cc4ca6a8089b4c1653808bfa020e525302
|
| 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.4.0-py3-none-any.whl
| Download URL | mcp_stockpile-2.4.0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5c0f3d03e05087346030bc4b05e6329a92ac8677f340e95352e39df9485e7c5
|
|
BLAKE2b-256 checksum How to use checksums |
b9de60e920604c4c48400b40bd4bd3f15b3d4dc6f866784c5c491eff5f439f36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Security for mcp-stockpile 2.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.