> For the complete documentation index, see [llms.txt](https://tip4serv.gitbook.io/tip4serv-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tip4serv.gitbook.io/tip4serv-api/manage-your-store-from-chatgpt-mcp.md).

# Manage your store from ChatGPT - MCP

### 🤖 Using Tip4Serv MCP

#### Overview

The Tip4Serv MCP (Model Context Protocol) allows AI clients to securely interact with your Tip4Serv store through controlled, permission-based access.

MCPs are a perfect fit if you fall into one of the following categories:

* You want to build a custom website for your store, but you don’t know how to code.
* You want to automate tasks around your store, but you don’t know how to code.
* You need quick automations, very fast.
* You want to manage your store directly from your chatbot.

MCP enables AI tools such as **Cursor, VS Code, ChatGPT, Claude Code**, or custom MCP clients to call Tip4Serv actions on your behalf — for example:

* Retrieving customers
* Managing subscriptions
* Reading store configuration
* Performing administrative operations (based on granted permissions)

The MCP endpoint exposed by Tip4Serv is:

```
https://mcp.tip4serv.com
```

Unlike traditional APIs, MCP is designed for **AI-driven workflows**, where a large language model (LLM) decides *when* and *how* to call actions based on user prompts — **within the limits of the permissions you explicitly approve**.

Here is an example of what you can do with an MCP:

<div align="center"><figure><img src="https://2041233550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBNeojEBzYfoVjtrs89cG%2Fuploads%2FngvrYMvFPmjG3G03gwiC%2FChatGPT_QZAHehOJOH.png?alt=media&amp;token=9df36265-bb14-4f14-ad1c-4375d331a243" alt=""><figcaption></figcaption></figure></div>

***

### 🚨 Security Warning — Read Carefully

> #### <mark style="color:red;">**IMPORTANT — LIMIT PERMISSIONS TO THE STRICT MINIMUM**</mark>
>
> <mark style="color:red;">**AI systems are still vulnerable to prompt injection attacks and unexpected behavior.**</mark>
>
> <mark style="color:red;">**Learn more about prompt injection:**</mark>\
> [<mark style="color:blue;">**https://en.wikipedia.org/wiki/Prompt\_injection**</mark>](https://en.wikipedia.org/wiki/Prompt_injection)
>
> <mark style="color:red;">**When connecting Tip4Serv MCP to any AI client, you are delegating operational power to an automated system.**</mark>\ <mark style="color:red;">**Granting excessive permissions can lead to severe and irreversible consequences, including:**</mark>

#### ⚠️ Potential Risks of Misconfigured Permissions

* Unsubscription of your entire customer base
* Massive data flooding or unintended data exposure
* Modification of critical store settings
* Automated destructive actions triggered by malicious or poorly written prompts

#### ✅ Best Practices

* Always grant only the permissions strictly required for your use case
* Avoid using full admin scopes unless absolutely necessary
* Regularly review and revoke unused MCP authorizations
* Never connect MCP to untrusted prompts or third-party instructions

**You are fully responsible for the permissions you approve.**

***

### Setting up the MCP Client

{% tabs %}
{% tab title="ChatGPT" %}

### Requirements

* **ChatGPT Plus**

### Instructions

1. Open **Settings**
2. Go to **Plugins** and enable **Developer Mode**
3. Go back to **Plugins**
4. Click **Explore Plugins**
5. Click on the + icon
6. Fill in the form with the following information:
   * **Name:** Tip4Serv
   * **MCP Server URL:** <https://mcp.tip4serv.com>
   * **Icon:** Optional

<figure><img src="https://2041233550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBNeojEBzYfoVjtrs89cG%2Fuploads%2FSW1s71Q9rMA2F5YfJc67%2FChatGPT_dcxBLPwq5E.png?alt=media&amp;token=df5e4bb3-a0d5-4886-8252-0c5eaa87bbdf" alt=""><figcaption></figcaption></figure>

* You will be redirected to an **authorization page**\
  Carefully review the permissions you are about to grant, then click **Connect**
* Tip4Serv is now connected to ChatGPT
* When you want to use the Tip4Serv MCP, you must **explicitly tell ChatGPT to use it**.\
  Otherwise, the MCP will not be called.

  You can enable it when starting a new chat by selecting it here:

  <figure><img src="https://2041233550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBNeojEBzYfoVjtrs89cG%2Fuploads%2FswP2a0GBB3RBPLOG0Ul9%2FChatGPT_nVwSDQXAnJ.png?alt=media&amp;token=11a0f930-9b42-4065-aa84-6234fa30e89f" alt=""><figcaption></figcaption></figure>

{% endtab %}

{% tab title="Claude Code" %}
Claude Desktop and Claude Web are **not available yet** for MCP usage, as Claude is currently too unstable.

However, you can use **Tip4Serv MCP with Claude Code**.\
Make sure **Claude Code is already installed** on your system.

***

* Open your terminal and enter the following command&#x20;

```bash
claude mcp add --transport http tip4serv https://mcp.tip4serv.com
```

* Run claude via&#x20;

```bash
claude
```

* Enter /mcp -> Select tip4serv -> Re-authenticate
* You will be redirected to an Authorization page, pay attention to the permissions you allow.
* Press connect and confirm access
  {% endtab %}

{% tab title="VS Code" %}
Install Tip4Serv MCP directly in Visual Studio Code by clicking this button.

<a href="https://vscode.dev/redirect/mcp/install?name=tip4serv&#x26;config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.tip4serv.com%22%7D" class="button primary">Install Tip4Serv MCP</a>

After the installation:

* You will be redirected to an Authorization page, pay attention to the permissions you allow.
* Press connect and confirm access
  {% endtab %}

{% tab title="Cursor" %}

Install Tip4Serv MCP directly in Cursor by clicking this button.

<a href="cursor://anysphere.cursor-deeplink/mcp/install?name=tip4serv&#x26;config=eyJ1cmwiOiJodHRwczovL21jcC50aXA0c2Vydi5jb20ifQ==" class="button primary">Install Tip4Serv MCP</a>

After the installation:

* You will be redirected to an Authorization page, pay attention to the permissions you allow.
* Press connect and confirm access
  {% endtab %}

{% tab title="Custom MCP Client" %}
If you are building your own MCP-compatible client:

#### Configuration

* **MCP Endpoint:**

  ```
  https://mcp.tip4serv.com
  ```
* **Authentication:** OAuth 2.0
* **Permissions:** Selected during authorization redirect

#### Flow

1. Register Tip4Serv MCP as an HTTP MCP server
2. Initiate OAuth authentication
3. Redirect the user to Tip4Serv authorization page
4. User selects permissions
5. MCP client receives authorized context
   {% endtab %}
   {% endtabs %}

***

### Examples

Here's a couples of screenshots & prompts you can take inspiration to manage your store :&#x20;

<div align="left"><figure><img src="https://2041233550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBNeojEBzYfoVjtrs89cG%2Fuploads%2FpfTnGt19fo9AYejvGdhq%2FChatGPT_a1pcVxpWHP.png?alt=media&amp;token=d1054208-d14c-40bd-bad7-2012ecb5fc35" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://2041233550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBNeojEBzYfoVjtrs89cG%2Fuploads%2F3v3i5Ipk8xYUNnsHS7Oi%2Fbbdadd3273d5a9ee3792101918427cd9.png?alt=media&amp;token=a346219a-6119-4c66-afcf-77e78f978bc1" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://2041233550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBNeojEBzYfoVjtrs89cG%2Fuploads%2FQXiAMSuPhJfl6JGUXg0m%2Ffe5bac3c058a9948e9ace25b1038e1db.png?alt=media&amp;token=11676e39-0943-4036-ae77-6594349e4620" alt=""><figcaption></figcaption></figure></div>

#### Support

For technical questions, reach out to us on [Discord](https://tip4serv.com/discord) or contact us via e-mail at **<contact@tip4serv.com>**.
