MCP Products Info Server

by terciodejesus

151 downloads
Not rated
GitHub

Description

# MCP Products Info Server Este é um servidor MCP (Model Context Protocol) que fornece informações sobre produtos da Caffeine Army, especialmente o SuperCoffee. ## Descrição O servidor utiliza a API do Shopify para buscar informações detalhadas sobre produtos, incluindo: - Nome…

About

# MCP Products Info Server Este é um servidor MCP (Model Context Protocol) que fornece informações sobre produtos da Caffeine Army, especialmente o SuperCoffee. ## Descrição O servidor utiliza a API do Shopify para buscar informações detalhadas sobre produtos, incluindo: - Nome do produto - Descrição - Preço -…

Details

Author
terciodejesus
Downloads
151
Categories
Other

- Retrieves detailed SuperCoffee product information via Shopify API
- Provides product title, description, price, and supplier
- Simple environment variable configuration
- Built with TypeScript and the MCP SDK
- Exposes a single get-products tool

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Products Info Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies with npm install, create a .env file, set SHOPIFY_SHOP and SHOPIFY_STOREFRONT_TOKEN, then run npm run build. Finally, configure your LLM client (e.g., Cursor.ai) with the server path and environment variables as shown in the README.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp products info server": {
            "products-info": {
                "command": "node",
                "args": [
                    "/ABSOLUTE/PATH/TO/PARENT/FOLDER/products-info/build/index.js"
                ],
                "env": {
                    "SHOPIFY_SHOP": "",
                    "SHOPIFY_STOREFRONT_TOKEN": ""
                }
            }
        }
    }
}

McpServers

{
    "products-info": {
        "command": "node",
        "args": [
            "/ABSOLUTE/PATH/TO/PARENT/FOLDER/products-info/build/index.js"
        ],
        "env": {
            "SHOPIFY_SHOP": "",
            "SHOPIFY_STOREFRONT_TOKEN": ""
        }
    }
}

MCP Products Info Server

Este é um servidor MCP (Model Context Protocol) que fornece informações sobre produtos da Caffeine Army, especialmente o SuperCoffee.

Descrição

O servidor utiliza a API do Shopify para buscar informações detalhadas sobre produtos, incluindo:
- Nome do produto
- Descrição
- Preço
- Fornecedor
- Outras informações relevantes

Requisitos

- Node.js
- NPM ou Yarn
- Variáveis de ambiente configuradas

Configuração

1. Clone o repositório
2. Instale as dependências:

npm install

3. Configure as variáveis de ambiente criando um arquivo .env na raiz do projeto:

SHOPIFY_SHOP=seu-shop.myshopify.com
SHOPIFY_STOREFRONT_TOKEN=seu_token

Uso

Para buildar o servidor:

npm run build

Esse passo é muito importante para fazer com que seu servidor se conecte

Ferramentas Disponíveis

get-products

Retorna informações detalhadas sobre o SuperCoffee, incluindo:
- Título do produto
- Descrição completa
- Preço atual
- Informações do fornecedor

Testando seu servidor

Você precisa configurar o seu cliente LLM com o seu servidor. Segue um exemplo utilizando o Cursor.ai

{
    "mcpServers": {
        "products-info": {
            "command": "node",
            "args": [
                "/ABSOLUTE/PATH/TO/PARENT/FOLDER/products-info/build/index.js"
            ]
            "env": {
              "SHOPIFY_SHOP": "sua-loja.myshopify.com",
              "SHOPIFY_STOREFRONT_TOKEN": "TOKEN"
            }
        }
    }
}

Estrutura do Projeto

├── src/
│   ├── index.ts          # Ponto de entrada do servidor
│   └── @types/          # Definições de tipos TypeScript
├── .env                 # Variáveis de ambiente (não versionado)
├── package.json        # Dependências e scripts
└── README.md          # Este arquivo

Tecnologias Utilizadas

- TypeScript
- Node.js
- MCP SDK
- Shopify API
- Axios

Licença

Este projeto está sob a licença MIT. Veja o arquivo LICENSE para mais detalhes.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.