StashDog MCP Server
A Model Context Protocol (MCP) server that provides natural language tools for managing your StashDog inventory. This server enables AI assistants to interact with your StashDog inventory through intuitive natural language commands.
š Features
Natural Language Interface: Use plain English to manage your inventory
Comprehensive Item Management: Add, update, search, delete, and organize items
Collection Management: Create and manage collections with ease
Smart Search: Intelligent search across your inventory with complex queries
Tag Management: Create, rename, and organize tags
URL Import: Import items directly from URLs
Authentication: Secure authentication with your StashDog account
Rich Formatting: Beautiful, formatted responses with emojis and structured data
š ļø Installation
Clone or download this MCP server to your local machine:
git clone <repository-url> cd stashdog-mcp-serverInstall dependencies:
npm installBuild the server:
npm run buildConfigure environment variables:
cp .env.example .env # Edit .env with your StashDog API configuration
āļø Configuration
Environment Variables
Create a .env file in the root directory:
MCP Client Configuration
Add this server to your .cursor/mcp.json or similar MCP client configuration:
š§ Available Tools
1. authenticate
Authenticate with your StashDog account.
Example:
2. manage_inventory_items
Add, update, search, delete, or manage inventory items using natural language.
Examples:
"Add a new MacBook Pro with tags electronics, work, expensive""Search for items tagged with kitchen""Update item abc123 to add note about warranty expiring soon""Delete item xyz789""Find all storage containers""Add item called 'Wireless Mouse' with notes 'Logitech MX Master 3' and tags office, electronics"
3. manage_collections
Create, update, delete collections or manage items within collections.
Examples:
"Create a new collection called 'Kitchen Appliances'""Add items abc123, def456 to collection xyz789""Delete collection old-stuff""Update collection xyz789 to change name to 'Home Office'"
4. import_from_url
Import items from URLs (product pages, images, etc.).
Example:
5. manage_tags
Create, search, rename, or delete tags.
Examples:
"Create tag electronics""Search for tags containing kitchen""Rename tag old-name to new-name""Delete tag unused-tag"
6. get_inventory_stats
Get statistics about your inventory.
Example:
7. smart_search
Perform intelligent searches with natural language queries.
Examples:
"Show me all electronics in the office""Find kitchen items that are favorited""List storage containers with more than 5 items"
8. manage_users
Fetch user details.
Example:
9. manage_notifications
Fetch user notifications.
Examples:
"Fetch all unread notifications""Get notifications with a limit of 10"
10. manage_groups
Fetch user groups.
Example:
11. manage_subscriptions
Manage subscriptions including fetching details and creating subscriptions.
Examples:
"Get subscription details for US in USD""Create a subscription with tier PREMIUM"
š Usage Examples
Adding Items
Searching Items
Managing Collections
Complex Operations
šÆ Natural Language Parsing
The server includes sophisticated natural language parsing that understands:
Actions: add, create, update, modify, delete, remove, search, find, favorite, etc.
Tags: Supports
#hashtagformat and comma-separated listsItem IDs: Automatically detects UUIDs in various formats
Custom Fields: Parses
field_name: valuepatternsStorage Indicators: Recognizes storage/container keywords
Quotes: Handles quoted names and descriptions
Limits and Offsets: Understands pagination keywords
š Authentication
The server supports multiple authentication methods:
Environment Token: Set
STASHDOG_AUTH_TOKENin your environmentRuntime Authentication: Use the
authenticatetool to log inAuto-login: Configure
STASHDOG_EMAILandSTASHDOG_PASSWORDfor automatic authentication
š Response Format
All responses follow a consistent format:
š Error Handling
The server provides detailed error messages for common scenarios:
Missing required parameters
Authentication failures
Network connectivity issues
GraphQL errors
Validation errors
š Project Structure
š Development
Running in Development Mode
Building
Testing
š¤ Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
š License
MIT License - see LICENSE file for details.
š Support
If you encounter any issues:
Check that your StashDog API is running and accessible
Verify your authentication credentials
Check the server logs for detailed error messages
Ensure all dependencies are properly installed
š Examples in Action
Complete Workflow Example
This MCP server makes managing your StashDog inventory as easy as having a conversation with an AI assistant!