Back to Home

n8n Integration Guide

This guide shows how to integrate Monta Partner API with n8n workflows using the MCP Client Tool node.

Overview

n8n Cloud now supports MCP (Model Context Protocol) servers via the MCP Client Tool node. This allows you to access up to 185 Monta Partner API operations directly in your workflows.

Note: The number of available tools depends on your credential scopes:

Prerequisites

Quick Start

1. Add MCP Client Tool Node

  1. In your n8n workflow, add a new node
  2. Search for "MCP Client Tool"
  3. Select the MCP Client Tool node

2. Configure Server Connection

In the MCP Client Tool node configuration:

  1. Connection Type: HTTP
  2. Server URL: https://partner-api-mcp.monta.app/sse
  3. Authentication: Header Auth
  4. Header Configuration:
    • Name: X-Monta-Auth
    • Value: YOUR_CLIENT_ID:YOUR_CLIENT_SECRET

Replace YOUR_CLIENT_ID and YOUR_CLIENT_SECRET with your actual Monta API credentials.

3. Select and Execute Tools

Once connected:

  1. Click "Refresh Tools" to load available operations

  2. You'll see tools like (number depends on your scopes):

    • get-teams - List all teams
    • get-charge-points - List charge points
    • post-charges - Start charging session
    • delete-charge - Stop charging session
    • get-vehicles - List vehicles
    • And many more...

    Note: Some AI models have limited tool capacity (e.g., 128 tools). If you see this limitation, select only the tools you need for your workflows.

  3. Select the tool you want to use

  4. Fill in required parameters (marked with asterisks in n8n)

    • Path parameters (like teamId, chargePointId) are always required
    • Query parameters (like page, perPage, state) are optional
  5. Execute the workflow

Authentication Methods

Option 1: Header Auth (Recommended)

Most reliable method for n8n Cloud:

Option 2: Basic Auth

Standard HTTP Basic authentication:

Option 3: Bearer Token

If you already have an access token:

To get a bearer token:

curl -X POST https://partner-api.monta.com/api/v1/auth/token \
  -H "Content-Type: application/json" \
  -d '{
    "grantType": "client_credentials",
    "clientId": "your-client-id",
    "clientSecret": "your-client-secret"
  }'