{
  "markdown": "# @striderlabs/mcp-target\n\nMCP (Model Context Protocol) server connector for Target retail shopping. Enables AI assistants to search products, manage carts, and track orders on Target.com via browser automation.\n\n## Installation\n\n```bash\nnpx @striderlabs/mcp-target\n```\n\nOr install globally:\n\n```bash\nnpm install -g @striderlabs/mcp-target\n```\n\n## MCP Configuration\n\nAdd to your MCP client config (e.g., Claude Desktop `claude_desktop_config.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"target\": {\n      \"command\": \"npx\",\n      \"args\": [\"@striderlabs/mcp-target\"]\n    }\n  }\n}\n```\n\n## Tools\n\n### `status`\nCheck Target authentication status and session info.\n\n**Parameters:** none\n\n---\n\n### `login`\nAuthenticate with your Target account via browser automation.\n\n**Parameters:**\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| `email` | string | ✅ | Target account email |\n| `password` | string | ✅ | Target account password |\n| `headless` | boolean | | Run browser headlessly (default: `true`). Set `false` to see the browser window. |\n\nCredentials are never stored — only session cookies are persisted to `~/.striderlabs/target/`.\n\n---\n\n### `logout`\nClear session cookies and log out.\n\n**Parameters:** none\n\n---\n\n### `search_products`\nSearch Target products with optional filters and sorting.\n\n**Parameters:**\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| `query` | string | ✅ | Search term |\n| `category` | string | | Category filter (e.g., `electronics`) |\n| `min_price` | number | | Minimum price filter |\n| `max_price` | number | | Maximum price filter |\n| `sort_by` | string | | Sort order: `relevance`, `price_low`, `price_high`, `newest`, `bestselling` |\n| `limit` | number | | Max results (default: 10, max: 24) |\n\n---\n\n### `get_product`\nGet detailed product information including price, description, and availability.\n\n**Parameters:**\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| `url` | string | | Full Target product URL |\n| `tcin` | string | | Target product TCIN/item ID |\n\n_Provide either `url` or `tcin`._\n\n---\n\n### `check_store_availability`\nCheck if a product is available for in-store pickup at nearby Target stores.\n\n**Parameters:**\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| `tcin` | string | | Target product TCIN |\n| `url` | string | | Product URL |\n| `zip_code` | string | | ZIP code for nearby store search |\n\n_Provide either `url` or `tcin`._\n\n---\n\n### `add_to_cart`\nAdd a product to your Target cart.\n\n**Parameters:**\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| `url` | string | | Target product URL |\n| `tcin` | string | | Target product TCIN |\n| `quantity` | number | | Quantity (default: 1) |\n| `fulfillment` | string | | `pickup`, `shipping`, or `delivery` (default: `shipping`) |\n\n_Requires login._\n\n---\n\n### `view_cart`\nView current cart contents and totals.\n\n**Parameters:** none\n_Requires login._\n\n---\n\n### `clear_cart`\nRemove all items from cart.\n\n**Parameters:** none\n_Requires login._\n\n---\n\n### `checkout`\nPreview or place a Target order.\n\n**Parameters:**\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| `confirm` | boolean | | Set `true` to place the order. Default `false` (preview only). |\n\n_Requires login. Always preview first before confirming._\n\n---\n\n### `get_orders`\nGet order history.\n\n**Parameters:**\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| `limit` | number | | Number of recent orders (default: 10) |\n\n_Requires login._\n\n---\n\n### `track_order`\nTrack an order's status and delivery information.\n\n**Parameters:**\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| `order_id` | string | ✅ | Target order ID |\n\n_Requires login._\n\n---\n\n## Session Storage\n\nSession cookies are stored at `~/.striderlabs/target/`:\n- `cookies.json` — Browser session cookies\n- `auth.json` — Account metadata (email, login timestamp)\n\nCredentials (email/password) are **never** persisted.\n\n## Technical Details\n\n- **Transport:** stdio (MCP standard)\n- **Browser automation:** Playwright with Chromium + stealth patches\n- **Stealth:** Patches `navigator.webdriver`, plugins, permissions, and other bot-detection vectors\n- **Cookie persistence:** Survives across sessions; no repeated logins needed\n\n## Notes\n\n- Target.com may prompt for CAPTCHA or additional verification on first login. Use `headless: false` to handle these interactively.\n- Store availability and cart operations require geolocation; defaults to Chicago, IL.\n- The `checkout` tool with `confirm: true` will place a real order. Always preview first.\n\n## License\n\nMIT — Strider Labs\n",
  "bytes": 4774,
  "sha": "e276744294393992ecb320c21f9d5ba4174ca433ae45fb1d9afa70b7ca9aae58",
  "repo_slug": "markswendsen-code/mcp-target",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_markswendsen_code_target_6ea4e1de/readme"
}