BLACK FRIDAY: extra 40% off everything with code BLACKFRIDAY. Each customer can use it only once, so use it on a bundle to save the most. Bundles skip plugins you already own. Ends November 30.

NEXTPION - AI MCP Servers

Connect to remote MCP servers and extend AI capabilities with Google Calendar, Google Sheets, and custom tools. Supports OAuth 2.0 authentication, tool discovery, per-server AI instructions, and full call logging.

NEXTPION - AI MCP Servers DLC Cover

This guide covers the NEXTPION - AI MCP Servers DLC, which extends the AI Integration Enhancers plugin to connect your AI with remote MCP (Model Context Protocol) servers — including Google Calendar, Google Sheets, and any custom MCP-compatible server — turning your AI into an assistant that can interact with external services.

NEXTPION - AI MCP Servers

NEXTPION - AI MCP Servers is a DLC expansion for the AI Integration Enhancers plugin. By default, the AI can only generate text replies and use local function tools. This DLC gives your AI the ability to connect to remote MCP servers and use their tools during conversations — such as checking a user's Google Calendar, looking up data in Google Sheets, or calling any custom API exposed through MCP protocol.

The AI decides when and how to use MCP tools based on conversation context. All MCP operations happen silently in the background — the subscriber never sees any server names, tool calls, or technical details. They simply experience an AI assistant that can do more.

Key Features

✅ MCP protocol support — connect to any remote MCP-compatible server
✅ Built-in NEXTPION servers — Google Calendar, Google Sheets with one-click OAuth authorization
✅ Custom MCP servers — connect with no auth, API key, custom headers, or OAuth 2.0
✅ Tool discovery — automatically discover and selectively enable tools from connected servers
✅ Per-server AI Instruction — customize when and how the AI uses each server's tools
✅ OAuth 2.0 authentication — built-in Google OAuth flow with encrypted token storage
✅ Admin settings — NEXTPION Cloud / Whitelabel OAuth mode, per-service enable/disable
✅ Real-time call tracking — see MCP tool calls live in AI Playground
✅ Live Chat records — MCP tool call results appear as system messages in Live Chat
✅ Call logging — full audit trail with parameters, results, and AI reasoning
✅ Per-Agent configuration support

Prerequisites

This DLC requires the AI Integration Enhancers base plugin to be installed and enabled. If you have not set up the base plugin yet, follow the parent plugin guide first:

Installation Process

After purchasing the DLC from the NEXTPION marketplace, you can install it using the NEXTPION Plugin Manager.

Install the DLC

Open your NEXTPION Plugin Manager from the main dashboard. Locate the NEXTPION - AI MCP Servers DLC in your purchased DLC list and click the Install button. During installation, you will be asked to enter the license key for this DLC.

Installing AI MCP Servers DLC

Enable the DLC

After installation is complete, click the Enable button on the DLC card. A modal will open directly on the current page and prompt you to enter the DLC license key. Once the license is verified, you can enable or disable the DLC from this same interface without leaving the page.

Enable AI MCP Servers DLC and enter license

Administrator Configuration

The MCP Servers DLC includes a dedicated admin settings page for configuring OAuth providers and NEXTPION official services. Click the Settings button below the plugin card to access it.

MCP Servers admin settings page

NEXTPION Cloud Toggle

At the top of the left sidebar, you will find the NEXTPION Cloud master toggle. This controls whether NEXTPION's hosted OAuth services and marketplace features are enabled.

  • On (default) — Uses NEXTPION's hosted OAuth application. No additional configuration needed.
  • Off — Disables all NEXTPION Cloud services. Settings become read-only.

Turning off NEXTPION Cloud disables ALL OAuth functionality — both NEXTPION Cloud mode and Whitelabel mode. When disabled, no OAuth providers will work regardless of your configuration. Keep this enabled unless you specifically want to disable all OAuth features.

MCP Servers admin settings page

OAuth Provider Configuration

The left sidebar Providers list shows all supported OAuth providers (currently Google). Each provider displays its current mode (Cloud / Whitelabel) and configuration status. Click a provider to view and edit its OAuth settings on the right panel.

Authentication Modes

Each provider supports two authentication modes:

NEXTPION Cloud Mode:

  • Uses NEXTPION's officially hosted OAuth application
  • No extra configuration needed — works out of the box
  • Users authorize through NEXTPION's OAuth app

Whitelabel Mode:

  • Uses your own OAuth credentials (Client ID and Client Secret)
  • Requires creating an OAuth 2.0 Client in Google Cloud Console
  • The page displays the Authorized JavaScript Origins and Authorized Redirect URI you need to configure
  • Ideal for custom branding scenarios

Best Practice: Create a separate OAuth 2.0 Client for each Google service (Calendar, Sheets, etc.). Do not use the same OAuth client across multiple services. This approach provides better security isolation, clearer permission scopes, and easier troubleshooting when issues occur.

Whitelabel Setup

Switch to Whitelabel Mode

Select the Whitelabel option in the Authentication Mode section. The page will display an OAuth Client Configuration area.

Copy Required URLs

Copy the displayed Authorized JavaScript Origins and Authorized Redirect URI values into your Google Cloud Console OAuth client settings. The redirect URI follows the format: {your_domain}/nextpion_dlc_mcp_servers/oauth_callback.

Enable Required APIs

If the provider shows API Requirements, enable the corresponding APIs in Google Cloud Console (e.g. Google Calendar API, Google Sheets API).

Enter Credentials

Fill in the Client ID and Client Secret from your Google Cloud Console OAuth client.

Save Settings

Click Save Settings to save your Whitelabel configuration.

Google Cloud Console Setup Guide

If you choose Whitelabel mode, you need to create your own OAuth 2.0 credentials in Google Cloud Console. This section walks you through the complete setup process.

How Whitelabel OAuth Works: In Whitelabel mode, the Google authorization page displays your own app name and branding. Your users authorize on your domain, and after authorization is complete, the OAuth tokens are securely transmitted to and encrypted by NEXTPION's servers for use during MCP tool calls. Your Chatpion instance does not store the actual Google OAuth tokens — NEXTPION handles all token management and refresh operations on your behalf.

Step 1: Create a Google Cloud Project

Go to Google Cloud Console

Visit Google Cloud Console and sign in with your Google account.

Create a New Project

Click the project selector at the top of the page, then click New Project. Give it a descriptive name (e.g. "My MCP Services") and click Create.

Select the Project

Make sure your newly created project is selected in the project selector dropdown before proceeding.

Before creating OAuth clients, you must configure the OAuth consent screen. This is what your users will see when they authorize your app.

Navigate to APIs & Services → OAuth consent screen in the left sidebar (or search for "Auth Platform" in the new Google Auth Platform UI).

Choose User Type

Select External to allow any Google account to authorize. Click Create.

Fill in App Information

FieldDescription
App nameYour application name (shown to users during authorization)
User support emailContact email for users
App logoYour brand logo (optional but recommended)
App domainYour website domain
Developer contact emailEmail for Google to contact you

Add Scopes

Click Add or Remove Scopes and add the scopes required for the services you plan to use:

For Google Calendar:

ScopeDescriptionSensitivity
https://www.googleapis.com/auth/calendarFull access to Google CalendarSensitive
openidOpenID ConnectNon-sensitive
emailView user emailNon-sensitive

For Google Sheets:

ScopeDescriptionSensitivity
https://www.googleapis.com/auth/spreadsheetsFull access to Google SheetsSensitive
openidOpenID ConnectNon-sensitive
emailView user emailNon-sensitive

Both Google Calendar and Google Sheets require sensitive scopes, which means Google will display a consent screen with additional warnings until your app is verified. See the App Verification section below for more details.

Add Test Users (Optional)

If your app is in Testing publishing status, you can add specific Google accounts as test users. Only these accounts will be able to authorize your app during the testing phase.

Save

Click Save and Continue through each step to complete the consent screen setup.

Step 3: Create OAuth Clients (Per Service)

You must create a separate OAuth 2.0 Client for each Google service. This ensures that disconnecting one service (e.g. Calendar) does not affect another (e.g. Sheets).

Open Credentials Page

Navigate to APIs & Services → Credentials in the left sidebar.

Create OAuth Client for Google Calendar

  1. Click + Create Credentials → OAuth client ID
  2. Select Web application as the application type
  3. Set a descriptive name: e.g. "Google Calendar - MCP"
  4. Under Authorized JavaScript Origins, add your domain (e.g. https://yourdomain.com)
  5. Under Authorized redirect URIs, add: {your_domain}/nextpion_dlc_mcp_servers/oauth_callback
  6. Click Create
  7. Copy the Client ID and Client Secret — you will need these for the NEXTPION settings page

Create OAuth Client for Google Sheets

Repeat the same process:

  1. Click + Create Credentials → OAuth client ID
  2. Select Web application
  3. Set name: e.g. "Google Sheets - MCP"
  4. Add the same Authorized JavaScript Origins and Authorized redirect URIs
  5. Click Create
  6. Copy the Client ID and Client Secret

Enter Credentials in NEXTPION

Go back to the NEXTPION MCP Servers admin settings page. For each service:

  1. Select the provider (e.g. Google)
  2. Switch to Whitelabel mode
  3. Enter the corresponding Client ID and Client Secret
  4. Click Save Settings

Step 4: Enable Required Google APIs

Each Google service requires its corresponding API to be enabled in your Google Cloud project.

Open API Library

Navigate to APIs & Services → Library in the left sidebar.

Enable Google Calendar API

Search for Google Calendar API, click on it, and click Enable.

Enable Google Sheets API

Search for Google Sheets API, click on it, and click Enable.

App Verification — Unverified vs Verified

Google requires OAuth apps that access sensitive or restricted user data to go through a verification process. Understanding this is critical for deciding whether your app needs verification.

What Happens Without Verification:

  • Google displays an "This app isn't verified" warning screen before the consent page
  • Users must click Advanced → Go to [your app] (unsafe) to proceed with authorization
  • Your app is limited to a maximum of 100 users in total (not per day — this is a permanent cap)
  • Only users you've manually added as test users in the OAuth consent screen can authorize while the app is in "Testing" publishing status

The 100-user limit applies to the total number of unique users who have ever granted consent to your app. Once you reach this limit, new users will be unable to authorize until you complete the verification process.

When You DON'T Need Verification:

ScenarioVerification Needed?
Personal use — only you or a few team members use itNo — add yourself as a test user
Development / testing — still building and experimentingNo — use Testing mode
Internal organization — all users are in the same Google Workspace domainNo — select "Internal" user type

When You SHOULD Get Verified:

ScenarioVerification Needed?
SaaS platform — your end users (subscribers) need to authorizeYes — recommended
More than 100 users — you expect growth beyond the user capYes — required
Professional appearance — you don't want users to see the "unverified app" warningYes — recommended

How to Submit for Verification:

  1. In Google Cloud Console, go to APIs & Services → OAuth consent screen
  2. Click Publish App to switch from Testing to Production
  3. Click Prepare for verification and follow the instructions
  4. You will need to provide:
    • A link to your app's privacy policy
    • An explanation of why your app needs each scope (e.g. "We need calendar access to allow the AI to check and create events on behalf of the user")
    • A YouTube video demonstrating how your app uses the authorized data (see below)
  5. Google's review process typically takes 1–4 weeks for sensitive scopes

Bypassing the Warning Screen (Without Verification): If you or your users encounter the "This app isn't verified" screen, you can still proceed by clicking Advanced → Go to [your app name] (unsafe). This grants the same OAuth permissions — the warning is just informational. For personal or small-team use, this is perfectly acceptable.

Scope Justification Templates

When submitting your app for Google verification, you need to explain why your app requires each requested scope. Below are ready-to-use templates — copy, customize the [bracketed] parts, and paste them into the verification form.

Google Calendar — Scope Justification Template:

Scope: https://www.googleapis.com/auth/calendar
 
Our application [Your App Name] is an AI-powered Facebook Messenger automation
platform. Business owners (our users) connect their Google Calendar so that
the AI chatbot can manage appointments and bookings on their behalf when
interacting with their customers (Facebook Page subscribers).
 
How we use this scope:
1. READ access: The AI chatbot checks the business owner's calendar
   availability in real-time when a customer requests an appointment.
   For example, a customer asks "Do you have any openings this Friday?"
   and the AI reads the calendar to provide available time slots.
2. WRITE access: The AI chatbot creates appointment events when a customer
   confirms a booking (e.g. "Book me in for Friday at 3pm"), updates
   events when customers reschedule, and cancels events upon request.
   Each event typically includes the customer name, service type, and
   contact information collected during the conversation.
 
Data handling:
- OAuth tokens are encrypted at rest and stored on secure servers.
- We do NOT store, copy, or export any calendar event data. All calendar
  operations are performed in real-time via the Google Calendar API.
- Business owners can revoke access at any time through our platform's
  settings or through their Google Account permissions page.
- Calendar data is never shared with third parties.
 
User experience:
- Business owners explicitly initiate the OAuth flow by clicking an
  "Authorize with Google" button in our platform's settings page.
- The Google consent screen clearly shows the requested permissions.
- Business owners can disconnect their Google Calendar at any time,
  which immediately stops the AI from accessing their calendar.

Google Sheets — Scope Justification Template:

Scope: https://www.googleapis.com/auth/spreadsheets
 
Our application [Your App Name] is an AI-powered Facebook Messenger automation
platform. Business owners (our users) connect their Google Sheets so that
the AI chatbot can record and retrieve customer information collected during
automated conversations with their Facebook Page subscribers.
 
How we use this scope:
1. READ access: The AI chatbot reads spreadsheet data to look up existing
   customer records, check inventory or pricing information, and retrieve
   reference data needed during conversations. For example, a customer asks
   about product availability, and the AI reads the business owner's
   inventory spreadsheet to provide an accurate answer.
2. WRITE access: The AI chatbot logs new customer inquiries, appointment
   details, order information, and other data collected during conversations
   into the business owner's designated spreadsheets. For example, after
   collecting a customer's name, phone number, and service request, the AI
   appends a new row to the business owner's lead tracking spreadsheet.
 
Data handling:
- OAuth tokens are encrypted at rest and stored on secure servers.
- We do NOT store, copy, or export any spreadsheet data beyond the
  real-time API operations. All read/write operations are performed
  in real-time via the Google Sheets API.
- Business owners can revoke access at any time through our platform's
  settings or through their Google Account permissions page.
- Spreadsheet data is never shared with third parties.
 
User experience:
- Business owners explicitly initiate the OAuth flow by clicking an
  "Authorize with Google" button in our platform's settings page.
- The Google consent screen clearly shows the requested permissions.
- Business owners can disconnect their Google Sheets at any time,
  which immediately stops the AI from accessing their spreadsheets.

Customize Before Use: Replace [Your App Name] with your actual application name. You may also adjust the example use cases to match your specific implementation. Google reviewers appreciate specific, concrete descriptions of how data is accessed and used.

YouTube Video Requirements for Verification

When submitting your app for Google verification, you need to provide a YouTube video (unlisted is fine) that demonstrates:

  1. How users initiate the OAuth flow — show the authorization button in your MCP Servers configuration
  2. The Google consent screen — show what scopes are requested
  3. How the authorized data is used — demonstrate the AI using Calendar or Sheets tools in a real conversation
  4. Data handling explanation — briefly explain that tokens are encrypted and stored securely, and users can disconnect at any time

Suggested video outline:

  • 0:00–0:30 — Introduction: what your app does (AI assistant with Google Calendar/Sheets integration)
  • 0:30–1:30 — Show the MCP Server setup: enabling the service, clicking "Authorize with Google", completing the OAuth flow
  • 1:30–3:00 — Live demo: send messages to the AI that trigger Calendar/Sheets tool calls, show the AI reading and creating events or accessing spreadsheet data
  • 3:00–3:30 — Show how users can disconnect the authorization at any time

The video does not need to be high production quality. A simple screen recording with voiceover explaining each step is sufficient. Keep it under 5 minutes.

NEXTPION Services Management

Below each OAuth provider, a NEXTPION Services section lists all official MCP services under that provider (e.g. Google Calendar, Google Sheets). Each service has an independent toggle:

  • Enabled — Users can see and use this service in the MCP Servers configuration panel
  • Disabled — This service is hidden from all users

This gives administrators granular control over which NEXTPION official services are available.


User Guide

Once the DLC is installed and enabled, a new MCP Servers settings panel automatically appears in the AI configuration page, below the existing settings.

Enabling MCP Servers

Open the AI Configuration Page

Navigate to the AI Integration Enhancers configuration page as you normally would (API Channels → OpenAI API).

Locate the MCP Servers Section

Scroll down in the left-side settings panel to find the MCP Servers section. It displays a toggle switch next to the MCP Servers label.

MCP Servers toggle switch in configuration panel

Enable MCP Servers

Turn on the toggle. The panel will expand to reveal the available server list and related controls.

MCP Servers expanded settings panel

Server Types

The MCP Servers panel organizes servers into the following categories:

My Servers

All servers added by you, including:

  • OAuth Servers — Services authorized through NEXTPION's OAuth flow (e.g. Google Calendar, Google Sheets). Displays the authorized Google email address.
  • Custom Servers — Manually added MCP servers with various authentication types.

Each server card displays:

  • Server label name
  • Authentication type badge (OAuth, API Key, Headers, OAuth 2.0)
  • Available tool count when enabled
  • Authorized email for OAuth servers

Each server has action buttons:

  • AI Instruction 💬 — Configure AI usage instructions for this server (blue when instructions exist)
  • Configure / Edit ⚙️ — Configure tool selection or edit server settings
  • Delete 🗑️ — Remove the server

Remote MCP Servers

Built-in non-OAuth remote servers from the system registry. These may require authentication configuration before they can be enabled.


Adding an MCP Server

Click the Add Server button to open the multi-step server addition modal.

Add MCP Server marketplace view

Step 1: Choose Server Type (Marketplace)

The modal first displays a marketplace-style interface with two sections:

Built-in Servers — NEXTPION's official MCP servers such as Google Calendar and Google Sheets. Click one to proceed to OAuth authorization.

Custom — Click Custom MCP Server to manually connect any remote MCP server.

Step 2: Configure Server

Adding a NEXTPION OAuth Server

Select a Built-in Server

Click on one of the built-in servers (e.g. Google Calendar). The modal shows the server information and an OAuth authorization button.

Authorize with Google

Click the Authorize with Google button. A Google authorization window opens where you select your Google account and grant the requested permissions.

Google OAuth authorization flow

Verify Authorization and Auto-Connect

After authorization, the modal shows ✅ Authorized status along with the authorized email address. The system then automatically connects to the MCP server and discovers all available tools — no manual Connect step is needed. You can disconnect and re-authorize if needed.

Select Tools

Once connected, a list of all discovered tools is displayed. Check the tools you want the AI to have access to. Unselected tools will not be available to the AI even if the server is enabled.

Tool selection list after successful connection

Click Configure to Save

Click the Configure button to confirm your selection. Only after clicking Configure will this server be added to your enabled MCP server list. Closing the modal without clicking Configure will discard the setup.

MCP server added to enabled list after clicking Configure

Adding a Custom MCP Server

Select Custom

Click Custom MCP Server from the marketplace view.

Fill in Server Details

Complete the configuration form:

FieldDescription
URLMCP server endpoint (e.g. https://mcp.example.com)
LabelServer identifier — must start with a letter, only letters/digits/-/_ allowed
DescriptionOptional description of the server's purpose
AuthenticationChoose from: No authentication, Access token / API key, Custom headers, or OAuth 2.0

For Access token / API key: enter the bearer token in the provided field.

For Custom headers: add one or more key-value pairs using the header builder. Click Add Header for additional rows.

For OAuth 2.0: enter your Client ID and Client Secret. The Redirect URI is automatically generated. Click Authorize to complete the OAuth flow before connecting.

Connect

Click the Connect button to test the connection and discover tools.

Custom MCP Server

Step 3: Tool Discovery and Selection

After a successful connection, the modal displays all tools discovered from the server.

Tool discovery and selection view

Each tool shows:

  • Tool name in monospace font
  • Tool description
  • Click the arrow to view tool details (parameter definitions and input schema)

You can:

  • Select All / Deselect All — toggle all tools at once
  • Check or uncheck individual tools
  • See the selection summary at the bottom

Click Add to save the server with your selected tools.

If you don't need all tools from a server, deselect the ones you won't use. This reduces noise in the AI's decision-making and can improve tool usage accuracy.

Tool discovery and selection view

Editing and Managing Servers

Editing a Custom Server

Click the Edit ✏️ button next to a custom server to open the edit modal. In edit mode:

  • You can modify the URL, Label, and Description
  • Authentication details are shown as a read-only summary ("stored securely"). Click Update to modify credentials.
  • Click Reconnect to re-establish the connection and re-discover tools
  • Saving changes automatically clears the tool cache for fresh discovery next time

Configuring an OAuth Server

Click the Configure ⚙️ button on an OAuth server to reconnect and update tool selection. This is useful when a server adds new tools or when you want to change which tools are enabled.

Deleting a Server

Click the Delete 🗑️ button to remove a server. Deletion will:

  1. Remove the server from all enabled server configurations
  2. For OAuth servers, also clear the associated OAuth connection
  3. Delete the server record entirely

Deleting a server is permanent. If the server was enabled in any agent's configuration, it will be automatically removed from those configurations as well.


AI Instruction (Per-Server)

Each enabled MCP server can have its own AI Instruction that tells the AI when and how to use that server's tools. Click the chat bubble icon 💬 on the server row to open the AI Instruction editor.

MCP Server AI Instruction editor modal

Editor Features

  • Top section displays the server name and description for context
  • Hint text guides you to describe when and how to use this server's tools
  • Text editor supports free-form instruction writing
  • Character count shows current length
  • Leave empty to let the AI decide on its own

Example Instructions

Google Calendar:

Use this server to check the user's calendar when they ask about their schedule, upcoming events, or availability.
When the user wants to create a new event, use the create_event tool with the appropriate date, time, and title.
Always confirm the event details with the user before creating.

Google Sheets:

Use this server to look up product information, pricing, or inventory data from the spreadsheet.
When the user asks about specific products, search the sheet by product name or category.
Present the results in a clear, readable format.

Custom API Server:

Use this server to check order status when a user asks about their order.
Use the search_orders tool with the user's email or order number.
If no results are found, ask the user to verify their information.
Never expose raw API responses — summarize the information naturally.

How the AI Uses MCP Tools

When MCP Servers is enabled with active servers, the system automatically injects MCP tool usage instructions into the AI's system prompt. These rules ensure consistent, invisible, and intelligent tool behavior:

  1. On-demand — The AI decides when to call MCP tools based on conversation context
  2. Invisible — All MCP operations are invisible to the subscriber; the AI never mentions server names, tool calls, or technical details
  3. Error handling — The AI handles MCP errors gracefully without exposing technical information
  4. Natural replies — The AI responds as if it naturally knows the information, with no indication of external service calls

Working with Function Calling Tools

If both MCP Servers and Function Calling are enabled, the system instructs the AI to:

  • Use MCP tools for external data retrieval and operations (calendars, spreadsheets, external APIs)
  • Use Function Calling tools for subscriber operations and local assistant functions (labels, sequences, time queries)

Testing with AI Playground

After configuring MCP Servers, you can immediately test the results in the AI Playground panel on the right side of the configuration page.

AI Playground showing MCP tool call results

Stream Mode — Real-Time MCP Call Tracking

When using Stream Mode, the AI Playground displays the complete MCP tool calling process in real time:

  1. Live MCP call panel — When the AI calls an MCP tool, a panel opens showing the current execution
  2. Running indicator — Active tools display a pulse animation and "Running" status badge
  3. MCP Reasoning — For reasoning models (e.g. gpt-5), expand to see the AI's reasoning for using this MCP tool, displayed as server_label.tool_name
  4. Execution results — After completion, click to view the full call parameters and response data

MCP Call Summary

Each AI message that includes MCP calls displays a clickable summary line below the message:

MCP: 2 tools called >

Click this summary to open the detailed MCP call panel showing:

  • Server label and tool name
  • Call parameters
  • Execution result or error message

Use Stream Mode in AI Playground as your primary debugging tool: configure servers and AI Instructions → send test messages → observe MCP reasoning and execution in real time → adjust instructions → repeat until the AI behaves as expected.


Live Chat MCP Call Records

During real conversations (not AI Playground), when the AI triggers MCP tool calls while chatting with a subscriber, the system automatically inserts system messages into Live Chat to record the result of each MCP tool call.

Message Format

Each MCP tool call system message follows this format:

✅ Google Calendar: Event "Team Meeting" created successfully
❌ Google Sheets: Row not found for product "XYZ-123"
✅ search_products: Found 3 matching products
  • ✅ — Tool executed successfully
  • ❌ — Tool execution failed or returned an error

Display Rules

  • Messages appear as system messages (sender: system, agent_name: tool_call)
  • Each MCP tool call generates a separate system message
  • Tool names display the server label and tool name
  • Message timestamps use the system-configured timezone
  • Messages are ordered by tool execution sequence

Use Cases

Live Chat MCP call records let you:

  • Real-time monitoring — See what external services the AI is calling directly in Live Chat
  • Quick troubleshooting — When a subscriber reports an issue, immediately locate whether an MCP call failed
  • Team collaboration — Support agents can see what external operations the AI performed
  • Audit trail — Every MCP call is preserved in the conversation history for later review

These system messages are only visible to backend administrators. Subscribers never see any MCP call information in their Messenger conversation.


Per-Agent Configuration

MCP Servers supports both global and per-agent settings:

  • Global Configuration — Used when no agent-specific configuration exists
  • Agent Configuration — Each AI Agent (from the AI Agents DLC) can have its own independent MCP Servers settings

This means different agents can:

  • Enable different MCP servers
  • Select different tool subsets from the same server
  • Have different AI Instructions for the same server
  • Maintain independent enable/disable states

When switching to an agent's configuration, the system loads that agent's dedicated MCP settings. If an agent has no custom MCP configuration, the global configuration is used.

If you use the AI Agents DLC, each agent's configuration page includes its own MCP Servers settings panel. Changes to one agent's settings do not affect other agents or the global configuration.


Data Security

Encrypted Token Storage

All sensitive credentials are stored using encryption:

  • API Key / Access Token → encrypted storage
  • Custom Headers → encrypted storage
  • OAuth Access Token → encrypted storage
  • OAuth Refresh Token → encrypted storage

Authentication details are never exposed in the frontend. In edit mode, credentials display as "stored securely" with an option to update.

User Data Isolation

  • All server configurations are isolated by user_id
  • OAuth connections are isolated by user_id
  • Edit and delete operations verify ownership
  • Call logs are scoped by subscriber_id and page_id

Connection Security

  • Server URLs are validated using standard URL format validation
  • SSL connections are supported
  • OAuth 2.0 standard security flow with PKCE support
  • MCP protocol version 2025-11-25 is used for all connections

Troubleshooting


Best Practices

  1. Start with built-in servers Begin with NEXTPION's built-in OAuth servers (Google Calendar, Google Sheets) to verify your MCP setup works correctly before adding custom servers.

  2. Write specific AI Instructions Generic instructions like "use this server when needed" are too vague. Write clear trigger conditions, such as "check the user's Google Calendar when they ask about their schedule or upcoming events."

  3. Select only the tools you need When adding a server, deselect tools you won't use. Fewer tools mean cleaner AI decisions and less confusion about which tool to choose.

  4. Choose the right model Use gpt-5.4-nano for the best balance of cost and reliability. Use gpt-5-mini or gpt-5 for complex scenarios requiring multiple MCP tools in coordination.

  5. Combine with Function Calling For the most capable AI assistant, enable both MCP Servers and Function Calling. MCP handles external data (calendars, spreadsheets, APIs) while Function Calling handles subscriber operations (labels, sequences).

  6. Test in Stream Mode Always use Stream Mode in AI Playground when testing MCP Servers. This lets you see the AI's reasoning, tool parameters, and execution results in real time — essential for debugging.

  7. Monitor call logs Regularly review MCP call logs to identify failed calls, excessive usage, or unexpected tool patterns, and adjust your AI Instructions accordingly.

  8. Use per-agent configuration for different use cases If different pages or channels need different external services, create separate agents with tailored MCP configurations — different servers, different tool selections, different AI Instructions.

AI MCP Servers is most powerful when combined with clear AI Instructions, the right model, and targeted tool selection. The AI will silently interact with external services — checking calendars, searching spreadsheets, calling APIs — making your Messenger bot feel like a fully capable assistant connected to your business systems.


Support & Community

Join Our Community

Share your setup, ask questions, and learn advanced usage tips for AI MCP Servers from other NEXTPION users.

View