JSPM

@shopify/consumer-agent-mcp

0.1.7
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 4
    • Score
      100M100P100Q53439F
    • License MIT

    A stdio bridge to facilitate communication between LLM agents and MCP (Model Context Protocol) servers.

    Package Exports

    • @shopify/consumer-agent-mcp
    • @shopify/consumer-agent-mcp/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@shopify/consumer-agent-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Shopify Consumer Agent MCP Bridge

    This repository acts as a stdio bridge to facilitate communication between LLM agents and MCP (Model Context Protocol) servers.

    This bridge supports both unauthenticated servers and servers protected by Basic Authentication or Bearer Tokens.

    Configuration

    To set up the MCP servers locally, use the following configuration file. Below, you will find examples for each type of authentication supported: unauthenticated, Basic Authentication, and Bearer Token.

    1. Unauthenticated Server: No additional credentials are required. Use the unauthed configuration as shown in the example.

    2. Basic Authentication: Provide your username and password in the USERNAME and PASSWORD fields of the basic-auth configuration.

    3. Bearer Token Authentication: Supply your authentication token in the BEARER_TOKEN field of the bearer-auth configuration.

    4. Custom Headers: Add any custom headers by using the --header command line argument in the format --header "Name: Value". Multiple headers can be specified by repeating the --header argument. Copy and customize the JSON configuration below to match your setup. Replace placeholder values like your_username, your_password, and your_auth_token with your actual credentials.

    {
      "mcpServers": {
        "unauthed": {
          "command": "npx",
          "args": ["-y", "@shopify/consumer-agent-mcp@latest"],
          "env": {
            "MCP_SERVER": "https://unauthed-mcp-server.ai"
          }
        },
        "basic-auth": {
          "command": "npx",
          "args": ["-y", "@shopify/consumer-agent-mcp@latest"],
          "env": {
            "MCP_SERVER": "https://basic-auth-mcp-server.ai",
            "USERNAME": "your_username",
            "PASSWORD": "your_password"
          }
        },
        "bearer-auth": {
          "command": "npx",
          "args": ["-y", "@shopify/consumer-agent-mcp@latest"],
          "env": {
            "MCP_SERVER": "https://bearer-auth.mcp-server.ai",
            "BEARER_TOKEN": "your_auth_token"
          }
        }
      }
    }