WooCommerce
WooCommerce Product Attributes
Read public attributes from a specified WooCommerce store.
MCP tool name
nexscope_woocommerce_product_attributesMCP endpoint
https://api.nexscope.ai/mcpJSON-RPC method
tools/callAuthentication
Use OAuth 2.1 Authorization Code with PKCE and the mcp:tools scope. API keys remain supported as a compatibility option.
Authorization: Bearer nk-xxxxxxxxxxxxxxxxxIf authentication fails, ask the user to open API Access and copy a valid key.
Call this MCP tool
Initialize an MCP 2025-11-25 Streamable HTTP session at https://api.nexscope.ai/mcp, then use tools/call.
{
"jsonrpc": "2.0",
"id": "woocommerce-product-attributes-1",
"method": "tools/call",
"params": {
"name": "nexscope_woocommerce_product_attributes",
"arguments": {
"storeUrl": "https://example.com"
}
}
}MCP 2025-11-25 Β· Streamable HTTPProgress is delivered on the original POST SSE response. GET SSE carries notifications; reconnecting must query existing asynchronous work rather than submit again.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
storeUrl | string | required | Public HTTPS store root or WordPress installation path. Example: https://example.com |
Response fields
Treat structuredContent as the programmatic API response payload.
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | required | 0 means accepted or successful; nonzero is a platform error. |
cost | string | required | Elapsed milliseconds, never credits; -1 outside web requests. |
data | any | required | Data value used by this API operation. |
msg | string | null | required | Msg value used by this API operation. |
time | string | required | Server local time: yyyy-MM-dd HH:mm:ss. |
traceId | string | null | required | Trace id value used by this API operation. |
ts | string | required | Epoch milliseconds. |
Any of option 1 β requires storeUrl, fetchedAt, cacheHit, attributes
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.attributes | array | required | Normalized public data. Missing optional values are null or empty strings. Example: [] |
data.attributes[] | object | required | Normalized public data. Missing optional values are null or empty strings. |
data.attributes[].hasArchives | any | optional | Whether public archives are enabled; null when unavailable. |
data.attributes[].id | string | required | Store-scoped ID string. Example: 1 |
data.attributes[].name | string | required | Plain text name. Example: Color |
data.attributes[].order | string | required | Public attribute metadata. Example: menu_order |
data.attributes[].taxonomy | string | required | Public attribute metadata. Example: pa_color |
data.attributes[].type | string | required | Public attribute metadata. Example: select |
data.cacheHit | boolean | required | Whether the response was served from the anonymous 60-second cache. Example: false |
data.fetchedAt | string | required | Fetch time in epoch milliseconds; preserved on cache hits. Example: 1792972800000 |
data.storeUrl | string | required | Normalized store identity. Example: https://example.com |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.attributes[].hasArchives | boolean | optional | Whether public archives are enabled; null when unavailable. Example: false |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.attributes[].hasArchives | null | optional | Whether public archives are enabled; null when unavailable. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |
Examples
Example arguments
{
"storeUrl": "https://example.com"
}Example structuredContent
{
"code": 0,
"cost": "-1",
"data": {
"attributes": [
{
"hasArchives": false,
"id": "1",
"name": "Color",
"order": "menu_order",
"taxonomy": "pa_color",
"type": "select"
}
],
"cacheHit": false,
"fetchedAt": "1792972800000",
"storeUrl": "https://example.com"
},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}