Skip to content
Start Here

Drop-ins MCP

If you use Cursor, VS Code, or Claude on a Commerce storefront project, you can connect the Dropins MCP server so your assistant looks up current drop-in details instead of guessing from old training data.

The Dropins MCP is a Model Context Protocol (MCP) server. Your editor calls it when it needs current facts about Adobe Commerce drop-in components. The server reads an index built from drop-in source code so slots, events, containers, and API functions stay aligned with the versions in your project.

Once you connect it, your assistant can answer questions like “What slots does CartSummaryList have?”, create a new block with the correct imports, flag renamed or removed APIs in your code, and generate event handlers and slot code that match the real APIs.

You’ll add the Dropins MCP server to your editor and confirm the connection works.

  1. Add the server to your editor configuration. Open the tab for your editor and paste the snippet into the config file shown.

    Add to ~/.cursor/mcp.json for all projects, or .cursor/mcp.json inside a specific project:

    {
    "mcpServers": {
    "dropins": {
    "command": "npx",
    "args": ["@dropins/mcp"]
    }
    }
    }
  2. Restart your editor. When the server loads, dropins appears in your editor’s MCP server list.

  3. Verify the connection. Ask your AI assistant:

    “Use the dropins MCP — what slots does the CartSummaryList container have?”

    If your assistant returns a list of slot names with context types, the MCP server is connected and working.

    If the server does not appear, open your editor’s MCP logs and confirm that npx @dropins/mcp runs without errors in a terminal outside the editor.

The MCP works best when you ask specific questions about your project. For example:

  • “What events does the checkout drop-in emit when a payment method is selected?”
  • “Create a block that combines CartSummaryList and OrderConfirmation”
  • “Are there any stale containers or removed APIs in my commerce-cart block?”
  • “What GraphQL mutation does checkout use to place an order?”
  • “Generate a slot implementation that adds a loyalty points badge next to the cart line item price”
  • “Am I using the latest drop-in versions?”
  • “What CSS design tokens control button colors?”
Section titled “Optional: enable AI-powered documentation search”

The search_commerce_docs tool searches Adobe Commerce documentation on Adobe’s servers using the Adobe I/O command-line interface (CLI). Without it, the MCP still answers drop-in questions using search_docs, which searches a local copy of the documentation included with the server.

To sign in and enable remote documentation search, install the Adobe I/O CLI and log in once:

npm install -g @adobe/aio-cli
aio auth login