Package Exports
- wtb-mcp
- wtb-mcp/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wtb-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
WTB MCP
A Model Context Protocol (MCP) server for retrieving SKU and pricing information from PriceSpider and Hatch APIs.
Installation
You can run this MCP server using npx:
npx wtb-mcpOr install it globally:
npm install -g wtb-mcpEnvironment Variables
Before running the server, you need to set the following environment variables:
CLIENT_ID- Your PriceSpider client IDCONFIG_ID- Your PriceSpider config IDTOKEN- Your PriceSpider API token
Example:
export CLIENT_ID="your_client_id"
export CONFIG_ID="your_config_id"
export TOKEN="your_token"
npx wtb-mcpUsage
Important: MCP servers don't accept command line arguments. They communicate via stdin/stdout using the Model Context Protocol. You need to connect this server to an MCP client (like Claude Desktop, Cline, or other MCP-compatible tools).
The server will wait for MCP protocol messages on stdin.
Available Tools
get-sku-information
Retrieves SKU information from PriceSpider API.
Parameters:
sku(string, required) - The SKU to look upcountry_code(string, optional) - Country code (defaults to "US")
Connecting to MCP Clients
To use this server with Claude Desktop, add it to your claude_desktop_config.json:
{
"mcpServers": {
"wtb": {
"command": "npx",
"args": ["wtb-mcp"],
"env": {
"CLIENT_ID": "your_client_id",
"CONFIG_ID": "your_config_id",
"TOKEN": "your_token"
}
}
}
}Development
To build and run locally:
npm install
npm run build
npm startLicense
ISC