Connect ChatGPT to SePay via MCP

How to connect ChatGPT to SePay via MCP on chatgpt.com, to look up transactions, bank accounts, plan quota, webhooks...

||

You add SePay to ChatGPT as a plugin: copy the server address and Client ID from SePay to ChatGPT, then sign in to SePay to grant access.

Before you start

  1. A ChatGPT account. Add SePay on chatgpt.com in a desktop browser; the ChatGPT mobile app cannot add it.
  2. The account can add plugins: open chatgpt.com/plugins and select Add at the top right; if Add custom MCP server is in the menu, it can. If there is none, see Common errors.
  3. Access to the AI Agent page on SePay, see requirements on SePay.

Connection steps

The steps follow the ChatGPT interface as of October 2026 and OpenAI's guide. If the ChatGPT interface changes, look for items with the same meaning or contact SePay for help.

Step 1: Get the server address and Client ID on SePay

  1. Sign in to my.sepay.vn.
  2. In the left menu, under Tích hợp & Thông báo, select AI Agent.
  3. Select Tạo kết nối (Create connection) at the top right.

On the Tạo kết nối (Create connection) page, under Bạn dùng ứng dụng AI nào? (Which AI app do you use?), choose ChatGPT:

  1. MCP Server URL (https://my.sepay.vn/mcp): paste it into ChatGPT in Step 3.
  2. OAuth Client ID (sepay-chatgpt): paste it into ChatGPT in Step 3.

Each field has a copy button. Keep this page open next to ChatGPT.

Tạo kết nối (Create connection) page on my.sepay.vn with ChatGPT selected: step 1 opens the add MCP server dialog in ChatGPT, step 2 shows the MCP Server URL with its copy button
Click to expand
Select ChatGPT to see the steps and copy the MCP Server URL and OAuth Client ID.

Step 2: Open the add MCP server dialog in ChatGPT

  1. On chatgpt.com, select Plugins in the left menu.
  2. Select Add at the top right.
  3. Select Add custom MCP server.
ChatGPT Plugins page with the Add menu open and the Add custom MCP server item
Click to expand
Open Plugins, select Add, then Add custom MCP server.

Step 3: Enter the SePay server details

In the Add custom MCP server dialog:

  1. In Name, enter a name you will recognize, for example SePay. It shows again on the dialog in Step 5.
  2. Under Connection, select Server URL and paste https://my.sepay.vn/mcp.
  3. Under Authentication, select OAuth or no authentication. If ChatGPT shows an error when creating it, see Common errors.
  4. Open Advanced OAuth settings. Its settings appear on the right side of the dialog.
  5. Under Registration method, select User-Defined OAuth Client.
  6. Paste the Client ID from SePay (sepay-chatgpt) into OAuth client ID. Leave OAuth client secret empty. Skip the Callback URL field.
ChatGPT Add custom MCP server dialog filled with the SePay MCP server, registration method and Client ID sepay-chatgpt
Click to expand
Enter the name, server address and authentication, open Advanced OAuth settings, then choose the registration method and paste the Client ID.

Step 4: Confirm and create the plugin

Still in the same dialog:

  1. Read the risk warning and check I understand and want to continue.
  2. Select Create as a plugin.

Grant ChatGPT access on SePay

Step 5: Sign in to SePay and grant access

After you create it, ChatGPT shows a dialog to connect SePay (named as in Step 3). Select its connect button to open the SePay access screen. If you are not signed in to my.sepay.vn, SePay asks you to sign in first.

ChatGPT dialog to connect SePay with the connect and cancel buttons
Click to expand
Select the connect button to open the SePay access screen.

On the ChatGPT muốn truy cập dữ liệu SePay của bạn (ChatGPT wants to access your SePay data) screen:

  1. Turn each data group on or off under AI được phép xem (AI may view).
  2. If needed, open Ẩn bớt thông tin cho ứng dụng này (Hide more information for this app).
  3. Select Đồng ý cấp quyền (Grant access).

Each data group and hide option is explained in SePay MCP permissions and security.

SePay MCP access screen for ChatGPT (in Vietnamese): the permission groups under AI may view, the write actions group switched off by default and what the AI is not allowed to do
Click to expand
Turn on the data ChatGPT may read, then select Đồng ý cấp quyền.

Ask ChatGPT about your SePay data

Ask ChatGPT, for example "Cash flow report for 2026, build a dashboard with a monthly chart". ChatGPT may ask you to confirm before it uses a SePay tool; confirm to continue. When ChatGPT returns figures from SePay, such as total money in and money in per month, the connection works.

ChatGPT builds a 2026 cash flow dashboard with total money in, money out and a monthly chart from SePay MCP data
Click to expand
ChatGPT reads the cash flow report through SePay MCP and builds a monthly dashboard.

Disconnect ChatGPT

  • In ChatGPT: remove SePay from Plugins.
  • On SePay: revoke the ChatGPT connection on the AI Agent page, see Manage connections.

Common errors

Common SePay MCP errors are in Common errors when connecting SePay MCP.

Next steps