Logo van Terminal.shop

Terminal.shop

Community
pashaydev

This project implements a mcp server for interacting with the terminal.shop. It allows ai assistants to seamlessly browse products, manage shopping carts, place orders, and handle subscriptions…

Uitgeverpashaydev
Repositoryterminal.shop.mcp
TaalJavaScript
Forks
2
Sterren
1
Beschikbare tools
0
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Terminal.shop biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    1 sterren en 2 forks in de gekoppelde repository.

Terminal.shop MCP Server

This project implements a mcp server for interacting with the terminal.shop. It allows ai assistants to seamlessly browse products, manage shopping carts, place orders, and handle subscriptions through Terminal.shop's API.

MseeP.ai Security Assessment Badge

Features

  • Product Management: Browse and search Terminal.shop's coffee products
  • Cart Operations: Add items to cart, set shipping address and payment method
  • Order Management: Place orders and view order history
  • Subscription Handling: Create and manage recurring coffee subscriptions
  • User Profile: Update user information and manage shipping addresses
  • Payment Methods: Secure handling of payment information

Setup

Prerequisites

  • Node.js
  • A Terminal.shop account
  • A Terminal.shop API token

Installation

  1. Clone this repository

  2. Install dependencies:

    bash
    npm install
  3. Connect to Terminal.shop and create a new token:

    bash
    ssh terminal.shop -t tokens
  4. Open claude.app, go to settings, click 'developer' option and 'edit config':

{
  "mcpServers": {
    "terminal-shop-mcp": {
      "command": "node",
      "args": ["path_to_folder/server.js"],
      "env": {
        "TERMINAL_API_TOKEN": "token here"
      }
    }
  }
}
  1. Restart claude.app, and make sure you see hammer icon under input

  2. Ask claude to get list of products or create a new address, subscription etc

Available Resources

The MCP server provides the following resources:

  • terminal://products - List all available products
  • terminal://product/{id} - Get details for a specific product
  • terminal://orders - View order history
  • terminal://profile - Access user profile information
  • terminal://addresses - Manage shipping addresses
  • terminal://cards - Manage payment methods
  • terminal://cart - View current shopping cart
  • terminal://subscriptions - Manage coffee subscriptions

Tools

The server provides various tools for interacting with Terminal.shop:

Product Tools

  • search-products - Search for products by keyword
  • get-product-details - Get detailed information about a specific product

Cart Tools

  • add-to-cart - Add a product variant to the cart
  • set-cart-address - Set the shipping address for the cart
  • set-cart-card - Set the payment method for the cart
  • clear-cart - Empty the shopping cart
  • checkout - Convert the cart to an order

Order Tools

  • create-order - Create an order directly without using the cart

User Management Tools

  • update-profile - Update user profile information
  • create-address - Add a new shipping address
  • delete-address - Remove a shipping address
  • collect-card - Generate a secure URL for adding payment information
  • create-card - Add a card using a Stripe token
  • delete-card - Remove a payment method

Subscription Tools

  • create-subscription - Start a new coffee subscription
  • cancel-subscription - Cancel an existing subscription

Account Tools

  • create-token - Create a new personal access token
  • delete-token - Delete a personal access token
  • get-app-data - Fetch all account data at once

Prompt Templates

The server includes several prompt templates to help AI assistants provide better responses:

  • browse-products - Guide for browsing and finding products
  • manage-cart - Help with shopping cart management
  • place-order - Assistance with placing an order
  • manage-subscription - Support for subscription management
  • manage-profile - Guide for profile and address management

API Documentation

This MCP server is built on top of the Terminal.shop API. For detailed information about the underlying API, refer to the Terminal API documentation.

Security Considerations

  • The server handles sensitive payment information through secure URLs rather than directly processing card details
  • API tokens are stored in environment variables to prevent exposure
  • User data is handled according to Terminal.shop's security practices

License

This project is licensed under the MIT License - see the LICENSE file for details.

Installatie

TypingMind
Vereisten:

Node.js 18+

{
  "mcpServers": {
    "terminal-shop-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@pashaydev/terminal.shop.mcp"
      ],
      "env": {
        "TERMINAL_API_TOKEN": "your-terminal.shop-api-token-here"
      }
    }
  }
}

Gebruik Terminal.shop MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Terminal.shop is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Terminal.shop toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Terminal.shop.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "terminal-shop": {
      "command": "npx",
      "args": [
        "-y",
        "terminal-mcp-server"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Terminal.shop in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Terminal.shop in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Terminal.shop gebruiken om me hiermee te helpen?
Terminal.shop
Zeker. Ik heb het gelezen.
Dit vond ik met Terminal.shop.

Veelgestelde vragen

Waarvoor wordt de MCP-server Terminal.shop gebruikt?

Terminal.shop is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Terminal.shop MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Terminal.shop gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Terminal.shop MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Terminal.shop verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Terminal.shop MCP met TypingMind?

Terminal.shop werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Terminal.shop MCP in TypingMind?

Terminal.shop biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Terminal.shop MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Terminal.shop authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇