Add Shopify Admin tools and OAuth client-credentials auth support#1
Open
christophermallory wants to merge 6 commits into
Open
Add Shopify Admin tools and OAuth client-credentials auth support#1christophermallory wants to merge 6 commits into
christophermallory wants to merge 6 commits into
Conversation
…ens. Update graphql definition for metaobjects.
Use the Collects API when adding products to custom collections. List collection products through the products endpoint with collection_id filtering. Make add_product_to_collection idempotent for existing memberships.
Implement list, get, create, update, and delete menu handlers using Admin GraphQL. Document the online store navigation scopes and update the tool count.
Point credential setup to the Shopify Dev Dashboard instead of the old Admin develop-apps path. Note that scope changes require installing or reauthorizing the app.
Implement generic metafield definition list/create/update/delete handlers. Add page list/get/create/update/delete handlers with templateSuffix support. Document required content and online store page scopes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR expands the Shopify MCP server’s Admin API coverage, fixes collection membership behavior, and updates authentication to support Shopify’s OAuth client-credentials flow.
Changes
SHOPIFY_CLIENT_IDSHOPIFY_CLIENT_SECRETPOST /admin/oauth/access_tokenSHOPIFY_ACCESS_TOKENas a legacy/static-token fallback.collects.jsonAPI instead of invalid custom-collection product subroutes.list_menusget_menucreate_menuupdate_menudelete_menuPRODUCTPRODUCTVARIANTPAGECOLLECTIONtemplateSuffixsupport:list_pagesget_pagecreate_pageupdate_pagedelete_pageValidation
node --check src/index.js.