Terminal.shop logo

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…

Publisherpashaydev
Repositoryterminal.shop.mcp
LanguageJavaScript
Forks
2
Stars
1
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Terminal.shop exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    1 stars and 2 forks from the linked 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.

Installation

TypingMind
Prerequisites:

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"
      }
    }
  }
}

Use Terminal.shop MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Terminal.shop is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Terminal.shop as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Terminal.shop MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "terminal-shop": {
      "command": "npx",
      "args": [
        "-y",
        "terminal-mcp-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Terminal.shop MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Terminal.shop MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Terminal.shop to help me with this task?
Terminal.shop
Sure. I read it.
Here is what I found using Terminal.shop.

Frequently asked questions

What is the Terminal.shop MCP server used for?

Terminal.shop is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Terminal.shop MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Terminal.shop with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Terminal.shop MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Terminal.shop connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Terminal.shop MCP to TypingMind?

Terminal.shop runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Terminal.shop MCP provide in TypingMind?

Terminal.shop exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Terminal.shop MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Terminal.shop requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇