Tiendanube MCP

v0.1.0
io.github.commentemeapp/tiendanube-mcp Checked 8 hours ago Published 26 days ago

Live Tiendanube / Nuvemshop docs, Admin API endpoints, OAuth scopes, webhook events and scaffolds

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search-docs Search Tiendanube / Nuvemshop docs

Search the official Tiendanube / Nuvemshop developer docs (Admin API, apps, NubeSDK, themes, Storefront API, AI and agents), fetched live from nuvemshop.dev. Returns matching pages with URL and, for the top three, the best matching section. Use it first for any "how do I" question; follow up with read-doc.

ParameterTypeDescription
query *stringKeywords to look for in the official Tiendanube / Nuvemshop developer docs (e.g. "webhook signature", "fulfillment order tracking", "NubeSDK checkout slot", "sectionable theme schema")
excerptsbooleanAlso fetch the top 3 pages and quote the best matching section (default true)
limitintegerMax results (default 5, max 15)
localestringDocs language: en-US (default), pt-BR (Nuvemshop) or es (Tiendanube)

read-doc Read a Tiendanube / Nuvemshop doc page

Read a page of the official docs, or one section of it, by URL or site path. Fetched live as Markdown from nuvemshop.dev or tiendanube.dev; other hosts are refused. Use it after search-docs, lookup-endpoint or when the user pastes a docs link.

ParameterTypeDescription
url *stringPage URL on nuvemshop.dev or tiendanube.dev (with or without .md, an #anchor selects a section), or a site path such as "api/resources/2025-03/order"
localestringDocs language: en-US (default), pt-BR (Nuvemshop) or es (Tiendanube)
maxCharsintegerTruncate the answer to this many characters (default 20000)
sectionstringHeading or anchor of one section to return instead of the whole page

lookup-endpoint Look up an Admin API endpoint

Look up Tiendanube / Nuvemshop Admin API endpoints by path, resource or keywords: method, path, full URL with version and store_id, the OAuth scope it needs and the reference page. Works offline from an index of the 2025-03 reference. Use it when writing or reviewing API calls.

ParameterTypeDescription
query *stringA path ("/orders/{id}/fulfill", "/products/123/variants"), a resource name ("Fulfillment Order") or keywords ("tracking event", "custom fields product")
limitintegerMax results for keyword search (default 15)
methodstringHTTP method

lookup-scope Look up OAuth scopes

List the OAuth scopes of Tiendanube / Nuvemshop apps and the resources each one opens, or find the scope for a resource, endpoint path or scope name. Use it when choosing the scopes of an app in the Partners Portal or debugging a 401/403.

ParameterTypeDescription
querystringA scope ("write_fulfillment_orders"), a resource ("Draft Order") or a path ("/orders/{id}"). Empty lists every scope.

lookup-webhook-event Look up webhook events

List the webhook events of Tiendanube / Nuvemshop (orders, products, customers, fulfillment orders, locations, billing, app lifecycle and the required privacy webhooks), or find one, with how to register and verify them. Use it before registering webhooks or writing a receiver.

ParameterTypeDescription
querystringAn event ("order/paid"), a group ("fulfillment_order") or empty for the full list

scaffold-webhook-handler Scaffold a webhook receiver

Generate an Express (TypeScript) webhook receiver for Tiendanube / Nuvemshop: x-linkedstore-hmac-sha256 verification over the raw body, immediate 200, one case per event and a node:test for the signature. Returns the files for the caller to write; the server never writes to disk.

ParameterTypeDescription
events *arrayEvents to handle, as in lookup-webhook-event (e.g. ["order/paid", "app/uninstalled"])
dirstringFolder for the generated files, relative to the project root (default "src")

scaffold-oauth-callback Scaffold the OAuth install flow

Generate the Express (TypeScript) OAuth 2 authorization code flow of a Tiendanube / Nuvemshop app: install redirect with state, callback that exchanges the code with a JSON body and stores the token per app and store. Returns the files for the caller to write. For a full app, it points to the official templates.

ParameterTypeDescription
appId *stringApp ID (client_id) from the Partners Portal
brandstringWhich domain the merchant sees (default tiendanube); the two token URLs are equivalent
dirstringFolder for the generated files, relative to the project root (default "src")