Plytix MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Plytix MCP Server
A lightweight, stateless Model Context Protocol (MCP) server that provides AI assistants with live access to Plytix PIM (Product Information Management) data. This server enables AI tools like Claude Desktop, Claude mobile app, and other MCP clients to search, look up, and retrieve product information directly from the Plytix API.
Note: This is a stateless, live API tool for read and write operations. For sync, caching, or ETL workflows, pair it with a separate persistence layer of your choosing.
Features
51 MCP tools via stdio and 46 via the remote worker
Smart product lookup with automatic identifier detection (SKU, MPN, GTIN, label)
Family & inheritance tracking with overwritten_attributes support
Schema discovery for attributes and search filters
Automatic authentication with token refresh
Rate limit handling — proactive pacing to the account's advertised window plus jittered 429/5xx backoff
Zero persistence — stateless, no database required
Remote server support — Deploy to Cloudflare Workers for mobile/web access
Related MCP server: Iconik MCP Server
Installation
Prerequisites
Node.js 20+
Plytix PIM account with API access
Setup
Clone and install:
git clone https://github.com/Supplyline/plytix-mcp.git
cd plytix-mcp
npm installConfigure credentials:
cp .env.example .env
# Edit .env with your Plytix API credentialsBuild the project:
npm run buildUsage
With Claude Desktop
Add to your Claude Desktop MCP configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"plytix": {
"command": "node",
"args": ["/path/to/plytix-mcp/dist/index.js"],
"env": {
"PLYTIX_API_KEY": "your_api_key_here",
"PLYTIX_API_PASSWORD": "your_api_password_here"
}
}
}
}Standalone
npm start # Production mode
npm run dev # Development with hot reloadRemote Server (Cloudflare Workers)
Deploy as a remote MCP server for access from Claude mobile app, web clients, or shared team access.
Quick Deploy
# Install dependencies (includes wrangler)
npm install
# Login to Cloudflare
wrangler login
# Deploy to Cloudflare Workers
npm run deployUsing the Remote Server
Once deployed, connect from any MCP client using the deployed URL and your Plytix credentials:
# With Claude Desktop (using mcp-remote)
npx mcp-remote https://plytix-mcp.your-subdomain.workers.dev/mcp \
--header "X-Plytix-API-Key: YOUR_API_KEY" \
--header "X-Plytix-API-Password: YOUR_API_PASSWORD"Release 0.7.0 exposes 83 tools in the Worker and 88 over stdio. It intentionally omits local-only utilities and filesystem tools: identifier_detect, identifier_normalize, match_score, products_batch_update_manifest, and products_batch_export_to_file.
Protocol versions
The worker is dual-era: it serves both the stateless 2026-07-28 revision and the
older handshake-based revisions on the same endpoint, choosing per request.
Client sends | Served as |
|
|
| Legacy — responses unchanged from previous releases |
A client newer than this server receives -32022 with the supported list and can
renegotiate down. The 2026-07-28 transport dropped the standalone GET stream and
DELETE teardown, so both now answer 405; Mcp-Session-Id is ignored rather than
echoed.
The stdio server still speaks the legacy handshake — it delegates the protocol to
@modelcontextprotocol/sdk, which has not yet shipped 2026-07-28.
Local Development
npm run dev:worker # Start local worker at localhost:8787
npm run test:worker # Test the worker endpointsFor detailed setup instructions, see docs/remote-setup.md.
Available Tools
Product Tools
Tool | Description |
| Smart lookup by any identifier (auto-detects ID, SKU, MPN, GTIN, label) |
| Get single product by ID with full details and |
| Get one product with related family, variants, categories, and assets |
| Advanced search with filters, pagination, and sorting |
| Simple multi-criteria search (SKU, MPN, MNO, GTIN, label, fuzzy) |
| Capped inline product snapshot by search, SKU, or product ID |
| Stdio-only JSONL/NDJSON product export under |
| Create a new product |
| Partial update to product fields/attributes |
| Apply a small guarded product-update batch |
| Stdio-only guarded product updates from a local JSON manifest |
| Submit up to 1,000 updates as ONE async Plytix bulk job and wait for it to settle (no drift guards; |
| Poll a bulk job by |
| Assign or unassign a product family |
| Delete one product (two-step dry run + confirm; |
| Atomic set of one attribute value |
| Atomic clear of one attribute value |
Family Tools
Tool | Description |
| List or search product families |
| Get single family with linked attributes |
| Create a new product family |
| Link one or more attributes to a family |
| Unlink one or more attributes from a family |
| List attributes directly linked to a family |
| List direct and inherited family attributes |
Attribute & Filter Tools
Tool | Description |
| List all attributes (system + custom) with types and options |
| Get full metadata for one attribute label |
| Get allowed values for a selectable attribute |
| Create an attribute definition (any type; options, sorting, family links, completeness tracking) |
| Rename, describe, and edit dropdown/multiselect options ( |
| Delete an attribute definition (two-step dry run + confirm; refused while a catalog or channel uses it) |
| Deprecated alias for product filter discovery |
| Get product search filter metadata |
| Get asset search filter metadata |
| Get relationship search filter metadata |
Asset Tools
Tool | Description |
| Get one asset by ID |
| Search account assets |
| Update asset metadata ( |
| List assets (images, videos, documents) linked to a product |
| Link an asset to a product |
| Unlink an asset from a product |
Category Tools
Tool | Description |
| Search existing categories |
| List categories associated with a product |
| Link a category to a product |
| Unlink a category from a product |
| Create a root category or a subcategory |
| Rename, move ( |
| Reorder the root-level categories |
| Delete a category (two-step dry run + confirm; |
Variant Tools
Tool | Description |
| Create a variant under a parent product |
| Link an existing product as a variant |
| Unlink a variant from its parent without deleting it |
| List variants for a product |
| Reset variant attributes to inherit parent values |
Relationship Tools
Tool | Description |
| Get a relationship definition by ID |
| Search relationship definitions |
| Link one related product row in a relationship |
| Unlink one related product row in a relationship |
| Update quantity for one related product row |
Identifier Utilities (Stdio Only)
Tool | Description |
| Detect identifier type from raw value |
| Normalize identifier for matching |
| Score identifier-product match confidence |
The remote worker exposes every tool above except the three identifier utilities in the final section and the two stdio-only filesystem tools: products_batch_update_manifest and products_batch_export_to_file.
Smart Lookup System
The products_lookup tool automatically detects identifier types and uses staged search strategies:
Detection priority:
MongoDB ObjectId (24-char hex) →
id(confidence: 1.0)GTIN (8/12/13/14 digits) →
gtin(confidence: 0.95)Contains spaces →
label(confidence: 0.9)Dashed alphanumeric →
mpn(confidence: 0.8)Alphanumeric with separators →
sku(confidence: 0.7)
Search strategies (in order):
Direct ID lookup (if detected as ID)
Exact field matches (SKU, GTIN, MPN, MNO)
Text search across multiple fields
Broad LIKE search (last resort)
Example:
Input: "LMI-PD-123"
→ Detected as: sku (confidence: 0.7)
→ Tries: sku_eq, mpn fields, text_search, broad_like
→ Returns: best match with confidence scoreInheritance Tracking
products_get returns the full product by default. For a smaller view of custom
attributes, pass attribute_labels: ["short_description", "list_price"] (at most
50 exact, unprefixed labels). [] selects no custom attribute values. This opt-in
mode returns { product, projection }; projection.requested_labels and
projection.missing_labels distinguish unrequested fields from keys absent in
the fetched attributes. Explicit null values remain null. Native top-level
fields and the entire overwritten_attributes list remain unchanged. This is
local display filtering after a full direct GET, not an upstream projection or a
response-size cap. A projected view is not a complete write/readback baseline.
Products return an overwritten_attributes array listing which attributes are explicitly set (not inherited from family). Use this with:
product_family_id— The family this product belongs tofamilies_get— Retrieve family-level default valuesCompare to determine inherited vs overwritten values
Configuration
Environment Variables
Variable | Required | Default | Description |
| ✅ | — | Your Plytix API key |
| ✅ | — | Your Plytix API password |
| ❌ |
| Plytix API base URL |
| ❌ |
| Auth endpoint |
| ❌ |
| JSON array of MPN attribute labels |
| ❌ |
| JSON array of MNO attribute labels |
| ❌ | — | Required only for |
| ❌ |
| Deletes one server process (or Worker isolate, via a |
Delete safety gate
src/safety.ts provides a two-call gate for the destructive tools
(products_delete, attributes_delete, categories_delete). A caller first
invokes the tool with dry_run: true and gets back a preview of what would be
removed plus a confirm_token; executing requires calling again with that
token. Tokens are single-use, scoped to one tool and one target, and expire
after 5 minutes. A per-process cap (PLYTIX_MCP_MAX_DELETES, default 3) bounds
how much any one session can remove.
The execute call must repeat the side-effect options the preview was issued for
(unlink_variants on a product, move_children_to on a category), and it is
refused if the target's variants or children changed since the dry run. Plytix
deletes a parent's variants and a category's whole subtree; those two options
unlink the variants (they become standalone products) or move the direct
children out first, so only the named item is removed. Plytix has no bulk
product delete, so products_delete is one product per call.
What this does and does not protect against. The token goes back to the calling agent, not to a human — an autonomous agent can read it from the dry-run response and immediately call again. So the gate is a forced pause with a visible preview and a hard ceiling, not a human confirmation step. It stops a runaway loop from clearing a catalog; it does not stop an agent that has decided to delete something.
Genuine human confirmation needs the MCP elicitInput capability, where the
server asks the client to prompt the user. A future revision can elicit when the
client advertises that capability and fall back to this token flow otherwise.
Development
Scripts
Command | Description |
| Development server with hot reload (stdio) |
| Development server for Cloudflare Workers |
| Build TypeScript to JavaScript |
| Deploy to Cloudflare Workers |
| Start production server (stdio) |
| Run unit tests (vitest) |
| Run tests in watch mode |
| Test MCP protocol handshake |
| Test worker endpoints |
| Build + unit + integration + MCP tests |
| Type check without building |
Architecture
src/
index.ts # MCP server entry point (stdio transport)
worker.ts # Cloudflare Worker entry point (HTTP transport)
client.ts # Plytix API client with auth & rate limiting
worker-client.ts # Worker-compatible client (BYOK credentials)
worker-lookup.ts # Worker-compatible smart lookup
types.ts # TypeScript types
lookup/
identifier.ts # Identifier type detection
lookup.ts # Smart lookup with staged search
tools/
products.ts # Product tools (lookup, get, search, find, write ops)
families.ts # Family tools (list, get, create, attribute membership)
attributes.ts # Attribute metadata + filter discovery tools
product-attributes.ts # Atomic product attribute write tools
assets.ts # Asset get/search/update + product asset link tools
categories.ts # Category search + product category link tools
variants.ts # Variant lifecycle tools
relationships.ts # Relationship discovery + product relationship write tools
extensions/ # Optional deployment-specific customizations
wrangler.toml # Cloudflare Workers configuration
docs/
remote-setup.md # Remote server setup guideDesign Principles
This MCP server is intentionally stateless and lightweight:
No database — All queries go directly to Plytix API
No sync/caching layer — Fresh data on every request
No background jobs — Request/response only
Ephemeral in-memory cache — Brief (60s) request deduplication, cleared on restart
For ETL, sync, or persistent caching needs, pair this server with a separate persistence layer.
License
MIT License — see LICENSE file for details.
Support
Issues: GitHub Issues
Plytix API: Plytix Documentation
MCP Protocol: Model Context Protocol
Catalog inspection and family levels
On stdio and the Worker, use families_get_attribute_level with a family ID and attribute label. To preview an edit call families_set_attribute_level with the same identity, level: "variant_level", expected_level: "parent_level" and dry_run: true. Execute with dry run off and check the returned outcome. Explicitly supplying a level to families_link_attribute resolves new links by ID. Review descendant product values separately before a migration.
Use relationships_get_link for an exact source, destination and relationship type. For reverse lookup, pass to_product_id to relationships_search_links. Include relationship_type_id to narrow the search. Keep the filters and pass the returned next object as cursor until it is null, even after an empty page. With no type or source, each call visits at most one definition and one source product. Reverse lookups use the V1 index for nonnegative quantities. Concurrent catalog edits may change page ordering.
Use attribute_groups_search and attribute_groups_get to inspect group membership. V1 documents whole-roster replacement and provides no proven conditional update for adding or removing one member. Those two writes remain open.
Pass response_mode: "projected" and an explicit attributes array to products_search for per-field states and separate page, match and catalog counts. A native null is indeterminate in search. Use a by-ID read to establish its value.
Catalog administration in 0.7.0
Task | Community tool and input |
Inspect a SKU |
|
Inspect definitions and family associations | Use |
Upload a DAM file | Pass a public HTTP(S) |
Attach a thumbnail when creating a product | Pass an existing asset's ID as |
Maintain categories |
|
Maintain catalog definitions |
|
Remove catalog records |
|
If a write returns unverified, use its canonical ID to reconcile before submitting again. With a lost create response, search by the identifying input first. The coverage table records supported fields, open operations and upstream dependencies for each official tool. Official beta coverage
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Connect e-commerce and marketing data to AI assistants via MCP.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Discover, plan and run tools across your connected business systems through one OAuth MCP endpoint
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables Claude to manage the UnoPim Product Information Management system through natural language, supporting product creation, attribute management, and media uploads. It features full API integration, including support for configurable products and automatic OAuth2 token management.2-
- AlicenseCqualityBmaintenanceEnables AI assistants to interact with your Iconik media asset management library, providing 143 MCP tools for search, metadata, collections, and more.85ISC
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to retrieve product information and run a robots.txt check through remote MCP tools.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search an organization's data ecosystem, explore table- and column-level lineage, retrieve usage queries, manage metadata such as tags, owners, domains, and terms, and work with knowledge documents through MCP tools.Apache 2.0