Back to Home

ChatGPT MCP Integration Guide

Connect ChatGPT to the Monta Partner API via MCP for automatic tool discovery and seamless integration.

Prerequisites

Setup Instructions

1. Open ChatGPT Settings

  1. Go to ChatGPT
  2. Click your profile icon (bottom left)
  3. Select Settings

2. Navigate to Connectors

  1. In the settings menu, find Connectors (or Integrations)
  2. Click Add connector or Configure MCP

3. Configure SSE Connection

Enter the following details:

Connection Type: SSE (Server-Sent Events)

Server URL:

https://partner-api-mcp.monta.app/sse

Authentication Method: OAuth 2.0 Client Credentials

OAuth Configuration:

4. Test Connection

  1. Click Test Connection or Connect
  2. ChatGPT will authenticate with the Monta API
  3. Once connected, you'll see "Monta Partner API" as an available connector

5. Start Using

In your ChatGPT conversation:

Use the Monta Partner API to list all my teams

ChatGPT will automatically discover and use the available tools.

Advantages Over Actions

  1. Automatic Tool Discovery

    • No need to maintain OpenAPI schemas
    • Tools update automatically when API changes
  2. Better Context Management

    • MCP provides better context handling
    • More efficient token usage
  3. Unified Experience

    • Same MCP server works with multiple AI assistants
    • Consistent behavior across platforms

Comparison: Actions vs MCP

Feature Actions MCP
Setup Complexity Manual schema required Automatic discovery
Maintenance Update schema for new endpoints Zero maintenance
Protocol HTTP REST MCP (JSON-RPC)
Tool Discovery Manual configuration Automatic
Context Handling Basic Advanced
Current Availability ✅ Available now 🚧 Coming soon

Migration Path

When MCP becomes available in ChatGPT:

  1. Keep using Actions if they work well for your use case
  2. Consider MCP for:
    • Complex integrations
    • Frequently changing APIs
    • Multi-assistant deployments

What You Get

Once connected, ChatGPT has access to:

Available Prompts

ChatGPT can use these workflow templates:

Prompt Description
api-reference API best practices and validation rules
start-charging Guide to start a charging session
monitor-charging Monitor sessions and charge point status
setup-webhooks Configure real-time event notifications
manage-infrastructure Manage teams and charge points
update-pricing Configure charge point pricing
restart-charge-points Bulk restart charge points with filtering

Example Queries

Try these in ChatGPT after connecting:

Basic Operations:

Show me all my teams
List charge points in team 123
What's the status of charge point 456?

Charging Workflows:

Start a charging session at charge point 789
Show me all active charging sessions
Stop the charging session with ID 101

Infrastructure Management:

Create a new team named "Downtown Fleet"
Add a charge point to site 42
Update pricing for charge point group 15

Monitoring:

Show me offline charge points in California
Restart all offline charge points in zip code 94102
Set up a webhook for charging session events

Troubleshooting

Connection Failed

Issue: "Unable to connect to MCP server"

Solutions:

  1. Verify your Client ID and Client Secret are correct
  2. Check that credentials are from the Partner Portal
  3. Ensure you have an active Monta Partner API subscription

Authentication Errors

Issue: "OAuth authentication failed"

Solutions:

  1. Regenerate your credentials in the Partner Portal
  2. Verify the token URL is correct: https://partner-api.monta.com/api/v1/auth/token
  3. Check that grant type is set to client_credentials

Tools Not Appearing

Issue: ChatGPT doesn't recognize Monta commands

Solutions:

  1. Disconnect and reconnect the MCP connector
  2. Start a new conversation
  3. Explicitly mention "using the Monta Partner API" in your prompt

Advantages Over ChatGPT Actions

Feature Actions MCP
Setup Manual OpenAPI schema Automatic discovery
Maintenance Update schema for changes Zero maintenance
Tool Count Limited by schema size All 185+ tools available
Prompts Not supported 7+ workflow templates
Updates Manual schema updates Auto-updated from API
Authentication Per-request Session-based OAuth

Security Notes

Resources