[{"data":1,"prerenderedAt":471},["ShallowReactive",2],{"bootstrap":3,"blog-core-mcp-server":277},{"navigation":4,"globalConfig":196,"forms":218},{"headerSections":5,"headerFooterLinks":67,"footer":76,"legalLinks":153,"socialLinks":176},[6,39,44,50,57,62],{"hasSubMenu":7,"title":8,"links":9,"columns":38},true,"Product",[10,20,26,32],{"showTag":11,"_modelApiKey":12,"text":13,"subtitle":14,"icon":15,"isExternal":11,"link":16,"openForm":11},false,"navigation_link","Universal checkout","Sell anywhere","globe-simple",{"_modelApiKey":17,"slug":18,"title":19},"page","universal-checkout","Universal Checkout",{"showTag":11,"_modelApiKey":12,"text":21,"subtitle":22,"icon":23,"isExternal":11,"link":24,"openForm":11},"Distributed OMS","Manage orders","package",{"_modelApiKey":17,"slug":25,"title":21},"distributed-oms",{"showTag":11,"_modelApiKey":12,"text":27,"subtitle":28,"icon":29,"isExternal":11,"link":30,"openForm":11},"Promotion engine","Automated discounts","seal-percent",{"_modelApiKey":17,"slug":31,"title":27},"promotion-engine",{"showTag":11,"_modelApiKey":12,"text":33,"subtitle":34,"icon":35,"isExternal":11,"link":36,"openForm":11},"POS system","Operate stores","devices",{"_modelApiKey":17,"slug":37,"title":33},"pos-system",2,{"hasSubMenu":11,"showTag":11,"_modelApiKey":12,"text":40,"isExternal":11,"link":41,"openForm":11,"title":40},"Pricing",{"_modelApiKey":42,"slug":43},"pricing_page","pricing",{"hasSubMenu":11,"showTag":11,"_modelApiKey":12,"text":45,"isExternal":11,"link":46,"openForm":11,"title":45},"Customers",{"_modelApiKey":47,"slug":48,"title":49},"customer_landing_page","customers","Customers page",{"hasSubMenu":11,"showTag":11,"_modelApiKey":12,"text":51,"isExternal":11,"link":52,"openForm":11,"form":54,"title":51},"Partners",{"_modelApiKey":17,"slug":53,"title":51},"partners",{"_modelApiKey":55,"slug":53,"name":56},"form","PartnersForm",{"hasSubMenu":11,"showTag":11,"_modelApiKey":12,"text":58,"label":59,"isExternal":7,"url":60,"openForm":11,"title":61},"Docs Hub","Learn more","https:\u002F\u002Fdocs.commercelayer.io\u002F","Docs",{"hasSubMenu":11,"showTag":11,"_modelApiKey":12,"text":63,"isExternal":11,"link":64,"openForm":11,"title":63},"Blog",{"_modelApiKey":65,"slug":66},"blog_landing_page","blog",[68,72],{"text":69,"link":70},"Sign in",{"_modelApiKey":12,"text":69,"isExternal":7,"url":71,"openForm":11},"https:\u002F\u002Fdashboard.commercelayer.io\u002Fsign_in",{"text":73,"link":74},"Sign up for free",{"_modelApiKey":12,"text":73,"isExternal":7,"url":75,"openForm":11},"https:\u002F\u002Fdashboard.commercelayer.io\u002Fsign_up",[77,89,109,132],{"hasSubMenu":7,"title":8,"links":78},[79,81,83,85,87],{"showTag":11,"_modelApiKey":12,"text":13,"subtitle":14,"icon":15,"isExternal":11,"link":80,"openForm":11},{"_modelApiKey":17,"slug":18,"title":19},{"showTag":11,"_modelApiKey":12,"text":21,"subtitle":22,"icon":23,"isExternal":11,"link":82,"openForm":11},{"_modelApiKey":17,"slug":25,"title":21},{"showTag":11,"_modelApiKey":12,"text":27,"subtitle":28,"icon":29,"isExternal":11,"link":84,"openForm":11},{"_modelApiKey":17,"slug":31,"title":27},{"showTag":11,"_modelApiKey":12,"text":33,"subtitle":34,"icon":35,"isExternal":11,"link":86,"openForm":11},{"_modelApiKey":17,"slug":37,"title":33},{"showTag":11,"_modelApiKey":12,"text":40,"isExternal":11,"link":88,"openForm":11},{"_modelApiKey":42,"slug":43},{"hasSubMenu":7,"title":90,"links":91},"Resources",[92,94,99,104,107],{"showTag":11,"_modelApiKey":12,"text":93,"isExternal":7,"url":60,"openForm":11},"Documentation",{"showTag":11,"_modelApiKey":12,"text":95,"label":95,"isExternal":11,"link":96,"openForm":11},"Agentic Commerce",{"_modelApiKey":17,"slug":97,"title":98},"agentic-commerce-whitepaper","Agentic Commerce Whitepaper",{"showTag":11,"_modelApiKey":12,"text":100,"isExternal":11,"link":101,"openForm":11},"Core concepts",{"_modelApiKey":17,"slug":102,"title":103},"headless-commerce","Headless commerce",{"showTag":11,"_modelApiKey":12,"text":105,"isExternal":7,"url":106,"openForm":11},"Changelog","https:\u002F\u002Fdocs.commercelayer.io\u002Fchangelog\u002F",{"showTag":11,"_modelApiKey":12,"text":63,"isExternal":11,"link":108,"openForm":11},{"_modelApiKey":65,"slug":66},{"hasSubMenu":7,"title":110,"links":111},"Company",[112,116,118,121,126],{"showTag":11,"_modelApiKey":12,"text":113,"isExternal":11,"link":114,"openForm":11},"Vision",{"_modelApiKey":17,"slug":115,"title":113},"vision",{"showTag":11,"_modelApiKey":12,"text":45,"isExternal":11,"link":117,"openForm":11},{"_modelApiKey":47,"slug":48,"title":49},{"showTag":11,"_modelApiKey":12,"text":51,"isExternal":11,"link":119,"openForm":11,"form":120},{"_modelApiKey":17,"slug":53,"title":51},{"_modelApiKey":55,"slug":53,"name":56},{"showTag":11,"_modelApiKey":12,"text":122,"isExternal":11,"link":123,"openForm":11},"Security",{"_modelApiKey":17,"slug":124,"title":125},"security","Security at Commerce Layer",{"showTag":11,"_modelApiKey":12,"text":127,"label":128,"isExternal":11,"openForm":7,"form":129},"Giveback","Giveback program",{"_modelApiKey":55,"slug":130,"name":131},"giveback","GivebackForm",{"hasSubMenu":7,"title":133,"links":134},"Get in touch",[135,140,145,149],{"showTag":11,"_modelApiKey":12,"text":136,"isExternal":11,"openForm":7,"form":137},"Contact",{"_modelApiKey":55,"slug":138,"name":139},"contact","ContactUsForm",{"showTag":11,"_modelApiKey":12,"text":141,"isExternal":11,"openForm":7,"form":142},"Book a demo",{"_modelApiKey":55,"slug":143,"name":144},"demo","RequestDemoForm",{"showTag":11,"_modelApiKey":12,"text":146,"label":147,"isExternal":7,"url":148,"openForm":11},"Support","Email support","mailto:support@commercelayer.io",{"showTag":11,"_modelApiKey":12,"text":150,"label":151,"isExternal":7,"url":152,"openForm":11},"Community","Discord community","https:\u002F\u002Fdiscord.gg\u002Fcommercelayer",{"hasSubMenu":7,"title":154,"links":155},"Legal",[156,161,165,169,173],{"showTag":11,"_modelApiKey":12,"text":157,"label":158,"isExternal":7,"url":159,"openForm":11,"htmlClassNames":160},"Terms","Terms and conditions","\u002Flegal-embed\u002Fterms-of-service","iubenda-nostyle no-brand iubenda-noiframe iubenda-embed",{"showTag":11,"_modelApiKey":12,"text":162,"label":163,"isExternal":7,"url":164,"openForm":11,"htmlClassNames":160},"Privacy","Privacy policy","\u002Flegal-embed\u002Fprivacy-policy",{"showTag":11,"_modelApiKey":12,"text":166,"label":167,"isExternal":7,"url":168,"openForm":11,"htmlClassNames":160},"Cookies","Cookie policy","\u002Flegal-embed\u002Fcookie-policy",{"showTag":11,"_modelApiKey":12,"text":170,"isExternal":7,"url":171,"openForm":11,"htmlClassNames":172},"Notice at collection","#","iubenda-cs-uspr-link",{"showTag":11,"_modelApiKey":12,"text":174,"isExternal":7,"url":171,"openForm":11,"htmlClassNames":175},"Privacy preferences","iubenda-cs-preferences-link",[177,180,184,188,192],{"title":178,"type":179,"url":152,"isExternal":7},"Discord","discord-logo",{"title":181,"type":182,"url":183,"isExternal":7},"Github","github","https:\u002F\u002Fgithub.com\u002Fcommercelayer",{"title":185,"type":186,"url":187,"isExternal":7},"Bluesky","bluesky-logo","https:\u002F\u002Fbsky.app\u002Fprofile\u002Fcommercelayer.io",{"title":189,"type":190,"url":191,"isExternal":7},"X","x-logo","https:\u002F\u002Fx.com\u002Fcommercelayer",{"title":193,"type":194,"url":195,"isExternal":7},"LinkedIn","linkedin","https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Fcommerce-layer",{"pagesWithoutCtaPanel":197,"ctaPanel":198,"notification":208,"showApiResponseTime":11,"newsletterSignup":216},[],{"title":199,"subtitle":200,"ctas":201},"Ready to get started?","Discover how we can help your business.",[202,205],{"_modelApiKey":203,"text":204,"isExternal":7,"url":75,"openForm":11},"link","Get started for free",{"_modelApiKey":203,"text":206,"isExternal":11,"openForm":7,"form":207},"Contact us",{"_modelApiKey":55,"slug":138,"name":139},{"showNotification":7,"link":209,"linkText":210,"text":215},{"_modelApiKey":203,"text":210,"isExternal":11,"link":211,"openForm":11},"Read article",{"_modelApiKey":212,"slug":213,"title":214},"blog_post","payment-api-redesigned","Introducing our new Payments API. For humans and agents.","\u003Cp>Introducing our new Payments API. For humans and agents.\u003C\u002Fp>\n",{"ctaText":217},"Subscribe",[219,225,229,236,240,246,249,253,261,262,267,272,274],{"_modelApiKey":55,"slug":220,"pardotFormEmbedCode":221,"formEmbedMinHeight":222,"successTitle":223,"successCopy":224},"agentic-commerce","https:\u002F\u002Fcommercelayer.fillout.com\u002Ft\u002F5w4Khwgxr6us?whitepaper=agentic",520,"Thank you for your request!","We’ll be in touch soon to arrange a date and time for your personalized demo.",{"_modelApiKey":55,"slug":226,"pardotFormEmbedCode":227,"formEmbedMinHeight":228,"successTitle":223,"successCopy":224},"shopify","https:\u002F\u002Fform.fillout.com\u002Ft\u002FgVnLSmKZwRus",850,{"_modelApiKey":55,"slug":130,"pardotFormEmbedCode":230,"formEmbedMinHeight":231,"displayTitle":232,"copy":233,"successTitle":234,"successCopy":235},"https:\u002F\u002Fform.fillout.com\u002Ft\u002FmVDF8aAiofus",500,"We give back.","\u003Cp>Part of Commerce Layer&#39;s company ethos is to empathize and support one another: co-workers, customers, and community. We want to do our part to help nonprofit organizations and small businesses who may feel adversely affected by the current global economic climate, and as a result, need in-kind support to reach their customers.\u003C\u002Fp>\n\n\u003Cp>If this general description matches your organization’s needs, please tell us your story by completing the following form so we can consider helping your cause.\u003C\u002Fp>\n","Thank you!","We will contact you soon to learn more about your story.",{"_modelApiKey":55,"slug":237,"pardotFormEmbedCode":227,"formEmbedMinHeight":228,"displayTitle":238,"copy":239},"book-an-onboarding-session","Book an onboarding session","\u003Cp>Schedule some time and our devs will help you set up a Commerce Layer + Sanity store.\u003C\u002Fp>\n",{"_modelApiKey":55,"slug":241,"pardotFormEmbedCode":242,"formEmbedMinHeight":243,"displayTitle":244,"successTitle":234,"successCopy":245},"download-our-whitepaper","https:\u002F\u002Fform.fillout.com\u002Ft\u002F5YPWmy8oT7us?whitepaper=ComposableCommerce",450,"Download our whitepaper.","Check your inbox. You should receive a download link soon.",{"_modelApiKey":55,"slug":247,"pardotFormEmbedCode":248,"formEmbedMinHeight":243,"displayTitle":244,"successTitle":234,"successCopy":245},"download-the-content-and-commerce-whitepaper","https:\u002F\u002Fform.fillout.com\u002Ft\u002F5YPWmy8oT7us?whitepaper=ContentAndCommerce",{"_modelApiKey":55,"slug":250,"pardotFormEmbedCode":251,"formEmbedMinHeight":243,"displayTitle":244,"copy":252,"successTitle":234,"successCopy":245},"whitepaper","https:\u002F\u002Fform.fillout.com\u002Ft\u002F5YPWmy8oT7us?whitepaper=Jamstack","\u003Cp>Commerce Layer is the perfect platform for building commerce on the Jamstack. Convert any design into pixel perfect HTML pages. Connect a best-of-breed headless CMS. Go serverless and forget the hassle of managing complex infrastructures.\u003C\u002Fp>\n",{"_modelApiKey":55,"slug":254,"pardotFormEmbedCode":255,"formEmbedMinHeight":256,"displayTitle":257,"copy":258,"successTitle":259,"successCopy":260},"contact-links","https:\u002F\u002Fform.fillout.com\u002Ft\u002FeWPyhHGHT7us",750,"Contact us.","\u003Cp>Tell us about your project. Our team will reach out to you for a personalized offer.\u003C\u002Fp>\n","Thanks for your message!","We’ll be in touch soon to discuss your project details.",{"_modelApiKey":55,"slug":138,"pardotFormEmbedCode":255,"formEmbedMinHeight":256,"displayTitle":257,"copy":258,"successTitle":259,"successCopy":260},{"_modelApiKey":55,"slug":263,"pardotFormEmbedCode":227,"formEmbedMinHeight":228,"displayTitle":264,"successTitle":265,"successCopy":266},"demo-embed","Want to see it in action? Request a demo.","Thanks for your request!","We’ll be in touch soon to arrange a date and time for your free live demo.",{"_modelApiKey":55,"slug":53,"pardotFormEmbedCode":268,"formEmbedMinHeight":228,"displayTitle":269,"copy":270,"successTitle":234,"successCopy":271},"https:\u002F\u002Fform.fillout.com\u002Ft\u002F9MTkDWMUSqus","Become our partner.","\u003Cp>Join us and get our guidance in helping your clients succeed. Our partners are our ambassadors. We are committed to your success as much as you are.\u003C\u002Fp>\n","We will contact you soon to discuss the details of our partnership.",{"_modelApiKey":55,"slug":273,"pardotFormEmbedCode":268,"formEmbedMinHeight":228,"displayTitle":269,"copy":270,"successTitle":234,"successCopy":271},"partners-embed",{"_modelApiKey":55,"slug":143,"pardotFormEmbedCode":227,"formEmbedMinHeight":228,"displayTitle":275,"copy":276,"successTitle":265,"successCopy":266},"Get a free live demo.","\u003Cp>Get a personalized demo and learn more about what Commerce Layer can do for your company.\u003C\u002Fp>\n",{"_modelApiKey":212,"link":278,"subtitle":283,"date":283,"author":284,"additionalAuthors":294,"icon":295,"abstract":296,"tag":297,"displayTitle":279,"cardRatio":299,"featured":11,"seoMetaTags":300,"layout":364,"blogPostCarousel":302,"_seoMetaTags":432,"authors":466},{"text":279,"isExternal":11,"url":280,"link":281},"Meet the Commerce Layer Core MCP.","",{"_modelApiKey":212,"slug":282},"core-mcp-server","June 17, 2026",{"name":285,"picture":286},"Duccio Giovannelli",{"url":287,"alt":288,"title":288,"width":289,"height":289,"format":290,"focalPoint":291,"customData":293},"https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1754320314-duccio.jpg","Commerce Layer avatar",1280,"jpg",{"x":292,"y":292},0.5,{},[],"plug","Discover how the Commerce Layer Core MCP server gives AI agents secure, schema-aware access to commerce operations. Learn how discovery, validation, and documentation-aware workflows enable agents to work safely across the entire platform.",{"color":298,"name":8},"gray","portrait",[301,305,309,312,316,319,322,326,330,334,337,341,345,349,353,356,360],{"attributes":302,"tag":303,"content":304},null,"title","    Introducing the Commerce Layer Core MCP",{"attributes":306,"tag":308,"content":302},{"property":307,"content":304},"og:title","meta",{"attributes":310,"tag":308,"content":302},{"name":311,"content":304},"twitter:title",{"attributes":313,"tag":308,"content":302},{"name":314,"content":315},"description","Learn how the Commerce Layer Core MCP enables AI agents to discover, validate, and safely operate across orders, inventory, pricing, payments, and more.",{"attributes":317,"tag":308,"content":302},{"property":318,"content":315},"og:description",{"attributes":320,"tag":308,"content":302},{"name":321,"content":315},"twitter:description",{"attributes":323,"tag":308,"content":302},{"property":324,"content":325},"og:image","https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1781614525-core-mcp.jpg?auto=format&fit=max&w=1200",{"attributes":327,"tag":308,"content":302},{"property":328,"content":329},"og:image:width","1200",{"attributes":331,"tag":308,"content":302},{"property":332,"content":333},"og:image:height","630",{"attributes":335,"tag":308,"content":302},{"name":336,"content":325},"twitter:image",{"attributes":338,"tag":308,"content":302},{"property":339,"content":340},"og:locale","en",{"attributes":342,"tag":308,"content":302},{"property":343,"content":344},"og:type","article",{"attributes":346,"tag":308,"content":302},{"property":347,"content":348},"og:site_name","Commerce Layer",{"attributes":350,"tag":308,"content":302},{"property":351,"content":352},"article:modified_time","2026-06-17T09:28:54Z",{"attributes":354,"tag":308,"content":302},{"property":355,"content":280},"article:publisher",{"attributes":357,"tag":308,"content":302},{"name":358,"content":359},"twitter:card","summary_large_image",{"attributes":361,"tag":308,"content":302},{"name":362,"content":363},"twitter:site","@commercelayer",[365,371,374,377,382,386,389,391,394,402,409,416,423,426,429],{"_modelApiKey":366,"copy":367,"listStyle":368,"darkTheme":11,"buttons":369,"color":370,"indent":7},"wysiwyg","\u003Cp>AI is rapidly becoming a new interface for commerce.\u003C\u002Fp>\n\n\u003Cp>Teams are building assistants that answer operational questions, agents that automate workflows, and AI-powered experiences that interact directly with customers, orders, inventory, pricing, and fulfillment systems.\u003C\u002Fp>\n\n\u003Cp>But most commerce platforms weren&#39;t designed for this shift. They expose APIs, yet their AI integrations often provide access to only a small subset of capabilities through custom connectors, proprietary abstractions, or simplified toolsets.\u003C\u002Fp>\n\n\u003Cp>Commerce Layer takes a different approach.\u003C\u002Fp>\n\n\u003Cp>Because Commerce Layer is \u003Cstrong>100% API-first\u003C\u002Fstrong>, every capability of the platform is available programmatically. And because we believe AI agents are becoming first-class users of commerce systems, we built our platform to be \u003Cstrong>agentic by design\u003C\u002Fstrong>.\u003C\u002Fp>\n","directional",[],"violet",{"_modelApiKey":372,"copy":373,"color":370},"highlight_block","The Commerce Layer Core MCP is not a separate AI layer sitting on top of the platform. It is a standard interface that gives AI agents access to the same complete commerce infrastructure available to developers and applications.",{"_modelApiKey":366,"copy":375,"listStyle":368,"darkTheme":11,"buttons":376,"color":370,"indent":11},"\u003Cp>That means agents can work across \u003Cstrong>100% of Commerce Layer&#39;s resources\u003C\u002Fstrong> — orders, customers, markets, pricing, inventory, promotions, shipments, payments, workflows, and more — while remaining grounded in the platform&#39;s schema, permissions model, and documentation.\u003C\u002Fp>\n\n\u003Cp>The result is not just API access. It is a way for AI agents to understand, discover, validate, and safely operate a complex commerce system with the same depth and flexibility available to any Commerce Layer integration.\u003C\u002Fp>\n",[],{"_modelApiKey":378,"title":379,"preTitle":93,"linkText":59,"darkTheme":11,"link":380},"link_block","Core MCP server",{"_modelApiKey":203,"text":59,"label":280,"subtitle":280,"icon":280,"isExternal":7,"url":381,"link":302,"anchor":280,"openForm":11,"form":302,"htmlClassNames":280},"https:\u002F\u002Fdocs.commercelayer.io\u002Fai\u002Fmcp\u002Fservers\u002Fcore",{"_modelApiKey":366,"copy":383,"listStyle":384,"darkTheme":11,"buttons":385,"color":370,"indent":11},"\u003Ch3>Why AI agents need more than API access\u003C\u002Fh3>\n\n\u003Cp>If you already work with Commerce Layer, you know the Core API is not a small surface. JSON:API \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fcore-api-reference\">resources\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fcore\u002Ffetching-relationships\">relationships\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fcore\u002Ffiltering-data\">filters\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fcore\u002Fsparse-fieldsets\">sparse fieldsets\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fcore\u002Fincluding-associations\">includes\u003C\u002Fa>, custom triggers, and documentation. It is powerful on purpose.\u003C\u002Fp>\n\n\u003Cp>Commerce Layer exposes a rich and flexible API surface. Providing AI agents with clearer guidance around resource structure, endpoint conventions, and field capabilities helps them interact with the platform more reliably and effectively.\u003C\u002Fp>\n\n\u003Cp>We built the \u003Cstrong>Commerce Layer Core MCP\u003C\u002Fstrong> so agents can interact with the Core API the way integrators and operators already learn to:\u003C\u002Fp>\n\n\u003Cul>\n\u003Cli>Discover the resources schema.\u003C\u002Fli>\n\u003Cli>Validate what you can before you call.\u003C\u002Fli>\n\u003Cli>Read the official docs before you mutate.\u003C\u002Fli>\n\u003Cli>Stay inside the same auth and scopes you use everywhere else.\u003C\u002Fli>\n\u003C\u002Ful>\n","checkbox",[],{"_modelApiKey":366,"copy":387,"listStyle":368,"darkTheme":11,"buttons":388,"color":370,"indent":11},"\u003Ch3>Why MCP and not “just expose the API”?\u003C\u002Fh3>\n\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fmodelcontextprotocol.io\u002F\">Model Context Protocol\u003C\u002Fa> (MCP) is how many assistants today discover tools, call them, and keep context. For Commerce Layer, MCP is the wire format between the client (Claude, ChatGPT, Perplexity, Inspector, your own host) and a server that knows the Core API.\u003C\u002Fp>\n\n\u003Cp>We did not stop at thin wrappers around endpoints.\u003C\u002Fp>\n\n\u003Cp>The Core API already ships public resources: machine metadata about types, filters, sort, includes, and relationships. The MCP’s job is to put that metadata and our official docs directly in the agent’s loop, so each tool call is informed by how the Core API actually behaves, not by whatever the model remembered from training.\u003C\u002Fp>\n\n\u003Cp>In short:\u003C\u002Fp>\n",[],{"_modelApiKey":372,"copy":390,"color":370},"Commerce Layer is built for programmatic commerce — the Core MCP is built so agents can use it safely.",{"_modelApiKey":366,"copy":392,"listStyle":368,"darkTheme":11,"buttons":393,"color":370,"indent":11},"\u003Ch3>How it works with the Core API\u003C\u002Fh3>\n\n\u003Cp>Before an agent can perform meaningful work on a commerce platform, it needs more than an authentication token and a list of endpoints. It needs a way to understand the structure of the system, validate its actions, and access the same guidance that developers rely on every day. The Commerce Layer Core MCP provides these capabilities through a set of mechanisms that work together to make interactions with the Core API safer and more reliable.\u003C\u002Fp>\n",[],{"id":395,"copy":396,"_modelApiKey":397,"listStyle":384,"subtitle":398,"title":399,"darkTheme":11,"buttons":400,"sectionId":401,"color":370},"X3zd8iP1SVWxzhMd--3XdQ","\u003Cp>The MCP loads and caches: \u003Ccode>GET \u002Fapi\u002Fpublic\u002Fresources\u003C\u002Fcode>\u003C\u002Fp>\n\n\u003Cp>Tools like \u003Ccode>list_resource_types\u003C\u002Fcode> and \u003Ccode>get_resource_schema\u003C\u002Fcode> expose that catalog to the agent:\u003C\u002Fp>\n\n\u003Cul>\n\u003Cli>filterable and sortable fields\u003C\u002Fli>\n\u003Cli>fetchable attributes\u003C\u002Fli>\n\u003Cli>includable relationships\u003C\u002Fli>\n\u003Cli>collection path segments\u003C\u002Fli>\n\u003Cli>links to create\u002Fupdate reference pages when writes exist\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Cp>That mirrors what experienced developers already do — check the catalog or API reference before a non-trivial list or write — except the agent can do it every turn without you pasting schema into the prompt.\u003C\u002Fp>\n","wysiwyg_section","Feature 1","Discovery from public resources",[],"feature-1",{"id":403,"copy":404,"_modelApiKey":397,"listStyle":384,"subtitle":405,"title":406,"darkTheme":11,"buttons":407,"sectionId":408,"color":370},"AIHF9kNARTaRrImAYHERFA","\u003Cp>The Core API can return a \u003Ccode>200 OK\u003C\u002Fcode> while still allowing mistakes that cost you time:\u003C\u002Fp>\n\n\u003Cul>\n\u003Cli>unknown filter predicates ignored\u003C\u002Fli>\n\u003Cli>invalid includes rejected late\u003C\u002Fli>\n\u003Cli>sort on a non-sortable field\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Cp>On read tools only — list, retrieve, list related — the MCP validates the query against the public resources document before calling the Core API.\u003C\u002Fp>\n\n\u003Ch4>What gets validated\u003C\u002Fh4>\n\n\u003Cp>The goal of validation is not to restrict what agents can do, but to catch common mistakes before they reach the API. By checking requests against Commerce Layer’s resource metadata, the MCP can identify invalid parameters early and provide clearer feedback than a failed—or misleading—API response.\u003C\u002Fp>\n\n\u003Cul>\n\u003Cli>\u003Cstrong>\u003Cem>Filter keys\u003C\u002Fem>\u003C\u002Fstrong>---Filter keys must match Commerce Layer predicate shape \u003Ccode>attribute_matcher\u003C\u002Fcode> (e.g. \u003Ccode>status_eq\u003C\u002Fcode>, \u003Ccode>placed_at_gteq\u003C\u002Fcode>). Invalid filter key formats are detected during validation, allowing the MCP to return an error before executing the API request. The MCP does not prove the attribute itself is filterable on that resource — schema discovery is still required.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Cem>Includes and sorting\u003C\u002Fem>\u003C\u002Fstrong>---\u003Ccode>include\u003C\u002Fcode> and \u003Ccode>sort\u003C\u002Fcode> queries are validated against what public resources allows for that collection.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Cem>Sparse fieldsets\u003C\u002Fem>\u003C\u002Fstrong>---In case of \u003Ccode>fields[...]\u003C\u002Fcode> queries, non-fetchable names are automatically removed, the read still proceeds, and the response includes an explicit preflight warning.\u003C\u002Fli>\n\u003C\u002Ful>\n","Feature 2","Preflight validation on reads",[],"feature-2",{"id":410,"copy":411,"_modelApiKey":397,"listStyle":368,"subtitle":412,"title":413,"darkTheme":11,"buttons":414,"sectionId":415,"color":370},"QI8fY7EfRJaQ581F8drTTw","\u003Cp>Readable fields on a resource are often read-only on create.\u003C\u002Fp>\n\n\u003Cp>The MCP connects to our docs search and page fetch so the agent can open the official Create or Update reference after \u003Ccode>get_resource_schema\u003C\u002Fcode> surfaces \u003Ccode>write_docs\u003C\u002Fcode>, instead of guessing required attributes from a list payload.\u003C\u002Fp>\n","Feature 3","Documentation in the same session",[],"feature-3",{"id":417,"copy":418,"_modelApiKey":397,"listStyle":384,"subtitle":419,"title":420,"darkTheme":11,"buttons":421,"sectionId":422,"color":370},"ROGkEF4JT-WfsAMAuMrjTQ","\u003Cp>Server instructions — and \u003Ccode>load_core_mcp_setup\u003C\u002Fcode> for clients that hide them — encode Commerce Layer specifics:\u003C\u002Fp>\n\n\u003Cul>\n\u003Cli>Resource type for schema versus path segment for \u003Ccode>\u002Fapi\u002F...\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>Lookup via filters when the user names a record in business terms.\u003C\u002Fli>\n\u003Cli>When to use \u003Ccode>list_related_resources\u003C\u002Fcode> instead of a non-includable relationship.\u003C\u002Fli>\n\u003Cli>How filtering with \u003Ccode>filter[q]\u003C\u002Fcode> differs from sparse fieldsets.\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Cp>Those rules exist because Commerce Layer’s conventions are not universal JSON:API. Agents need them spelled out.\u003C\u002Fp>\n","Feature 4","Rules that match the Core API semantics",[],"feature-4",{"_modelApiKey":366,"copy":424,"listStyle":384,"darkTheme":11,"buttons":425,"color":370,"indent":11},"\u003Ch3>What this looks like in practice\u003C\u002Fh3>\n\n\u003Cp>With discovery, validation, and documentation access working together, agents can move beyond simple API lookups and help answer operational questions about your commerce business. Instead of focusing on individual resources, they can reason across orders, customers, payments, shipments, and other related data.\u003C\u002Fp>\n\n\u003Cp>You might ask:\u003C\u002Fp>\n\n\u003Cul>\n\u003Cli>Who the latest customer is.\u003C\u002Fli>\n\u003Cli>Who has the most orders.\u003C\u002Fli>\n\u003Cli>Whether a customer’s orders show a pattern.\u003C\u002Fli>\n\u003Cli>If payments are authorized but fulfillment is stuck.\u003C\u002Fli>\n\u003Cli>Which orders have abnormal error counts.\u003C\u002Fli>\n\u003Cli>Whether there are cancellation or test bursts.\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Cp>The agent should:\u003C\u002Fp>\n\n\u003Cul>\n\u003Cli>List and sort using schema metadata.\u003C\u002Fli>\n\u003Cli>Pull related data where includes are allowed.\u003C\u002Fli>\n\u003Cli>Interpret statuses and counters from real responses.\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Cp>That is operational work on your Commerce Layer data, not a single generic \u003Ccode>GET\u003C\u002Fcode> API call.\u003C\u002Fp>\n",[],{"_modelApiKey":366,"copy":427,"listStyle":384,"darkTheme":11,"buttons":428,"color":370,"indent":11},"\u003Ch3>Who we built this for\u003C\u002Fh3>\n\n\u003Cp>We built it because agents are a new client of the same Core API you already trust — and that client needs:\u003C\u002Fp>\n\n\u003Cul>\n\u003Cli>Discovery\u003C\u002Fli>\n\u003Cli>Guardrails on reads\u003C\u002Fli>\n\u003Cli>Docs-aware writes\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Cp>All grounded in Commerce Layer’s catalog and reference.\u003C\u002Fp>\n\n\u003Cp>If you are extending composable commerce with assistants, or debugging production behavior through a model, the MCP is the supported path to make that client behave like someone who has actually read the platform documentation.\u003C\u002Fp>\n\n\u003Ch4>Teams already using Commerce Layer\u003C\u002Fh4>\n\n\u003Cp>For teams already operating on Commerce Layer, the Core MCP is a natural extension of their existing workflows. It doesn’t introduce a new way of working so much as it removes friction from how people already interact with the platform—whether through support, operations, or development tasks.\u003C\u002Fp>\n\n\u003Cul>\n\u003Cli>\u003Cstrong>\u003Cem>QA teams\u003C\u002Fem>\u003C\u002Fstrong>---Spotting blocked flows or noisy automation without one-off scripts.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Cem>Developers and solution engineers\u003C\u002Fem>\u003C\u002Fstrong>---Exploring the Core API, checking include\u002Fsort rules, and shaping payloads against the real reference.\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Ch4>Anyone doing quick operational analysis\u003C\u002Fh4>\n\n\u003Cp>Not every use case requires deep system knowledge or a dedicated workflow. Many questions are ad-hoc and time-sensitive: checking what’s happening in the system, validating assumptions, or quickly exploring patterns in commerce data. The Core MCP makes these lightweight investigations fast and accessible, without needing to switch tools or build custom queries. For example:\u003C\u002Fp>\n\n\u003Cul>\n\u003Cli>Top customers\u003C\u002Fli>\n\u003Cli>Error-heavy orders\u003C\u002Fli>\n\u003Cli>Suspicious orders spikes\u003C\u002Fli>\n\u003C\u002Ful>\n",[],{"_modelApiKey":366,"copy":430,"listStyle":368,"darkTheme":11,"buttons":431,"color":370,"indent":11},"\u003Ch3>The Core MCP is where agents meet Commerce Layer properly\u003C\u002Fh3>\n\n\u003Cp>Commerce Layer was built for programmatic commerce — precise, composable, and opinionated by design. The Core MCP extends that to a new kind of client: AI agents that need to discover, validate, and act on your data without someone holding their hand through the API reference on every call.\u003C\u002Fp>\n\n\u003Cp>Whether you&#39;re tracing a production incident, exploring the Core API for the first time, or building an assistant-powered workflow on top of your commerce stack, the MCP gives agents the same foundation experienced integrators rely on — schema awareness, documentation access, and guardrails that match how the API actually works.\u003C\u002Fp>\n\n\u003Cp>It&#39;s available now. If you&#39;re already using Commerce Layer, it&#39;s the supported way to bring agents into the picture.\u003C\u002Fp>\n",[],[433,434,436,438,440,442,444,446,448,450,452,454,456,458,460,462,464],{"attributes":302,"tag":303,"content":304},{"attributes":435,"tag":308,"content":302},{"property":307,"content":304},{"attributes":437,"tag":308,"content":302},{"name":311,"content":304},{"attributes":439,"tag":308,"content":302},{"name":314,"content":315},{"attributes":441,"tag":308,"content":302},{"property":318,"content":315},{"attributes":443,"tag":308,"content":302},{"name":321,"content":315},{"attributes":445,"tag":308,"content":302},{"property":324,"content":325},{"attributes":447,"tag":308,"content":302},{"property":328,"content":329},{"attributes":449,"tag":308,"content":302},{"property":332,"content":333},{"attributes":451,"tag":308,"content":302},{"name":336,"content":325},{"attributes":453,"tag":308,"content":302},{"property":339,"content":340},{"attributes":455,"tag":308,"content":302},{"property":343,"content":344},{"attributes":457,"tag":308,"content":302},{"property":347,"content":348},{"attributes":459,"tag":308,"content":302},{"property":351,"content":352},{"attributes":461,"tag":308,"content":302},{"property":355,"content":280},{"attributes":463,"tag":308,"content":302},{"name":358,"content":359},{"attributes":465,"tag":308,"content":302},{"name":362,"content":363},[467],{"name":285,"picture":468},{"url":287,"alt":288,"title":288,"width":289,"height":289,"format":290,"focalPoint":469,"customData":470},{"x":292,"y":292},{},1790330001228]