Monta Partner API MCP Server

Welcome to the Monta Partner API MCP (Model Context Protocol) server. This server exposes Monta's charging infrastructure API as MCP tools for AI assistants and automation platforms.

Contact us here for issues

🚀 What is MCP?

Model Context Protocol (MCP) is an open protocol that standardizes how applications provide tools, resources, and contextual data to AI systems. This server automatically generates MCP tools from Monta's OpenAPI specification, making all API endpoints available as callable tools.

🏗️ MCP Architecture

This server exposes three types of MCP primitives:

Primitive Count Generation Description
Tools ~185 Dynamic Auto-generated from OpenAPI spec - one per API endpoint
Resources 2 Static API terminology and OpenAPI specification
Prompts 5 Static Workflow templates for common tasks

🔧 How It Works

  1. Dynamic Tool Generation: The server fetches Monta's OpenAPI spec and creates MCP tools for each endpoint
  2. Resource Exposure: The OpenAPI spec itself is available as a resource for AI context
  3. Prompt Templates: Pre-built workflows guide common charging infrastructure tasks
  4. Authentication Passthrough: Your Monta credentials are used to authenticate API calls
  5. Protocol Support: Available via stdio for local development or HTTP-based protocols for remote integrations

🔌 Endpoints

The server provides two HTTP endpoints for MCP integration:

MCP Streamable HTTP (Recommended)

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

Modern, stateful protocol designed for n8n and other HTTP-based MCP clients. Features:

SSE (Legacy)

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

Server-Sent Events protocol for backward compatibility. Features:

📋 Tools

The server provides direct access to Monta API endpoints as MCP tools. The number of tools available depends on your credential scopes:

Examples:

Tool Parameters Description
getTeams - List all teams
getChargePoints teamId, state List charge points with filters
getChargePointStatistics chargePointId Get statistics for a charge point
startCharge chargePointId, chargeAuthId Start charging session
stopCharge chargeId Stop charging session
rebootChargePoint chargePointId Restart a charge point

📋 View tools

Prompts

Pre-built workflow templates for common tasks:

Prompt Description
start-charging Step-by-step guide to start a charging session
monitor-charging Monitor active sessions and charge point status
update-pricing Configure charge point pricing and tariffs
restart-charge-points Bulk restart charge points with filtering

📋 View all prompts

Resources

Contextual data available to AI assistants:

Resource Description
monta://terminology API terminology and synonym mappings
monta://openapi Complete OpenAPI specification (YAML)

📋 View all resources

🔐 Authentication

All requests require authentication. Choose one of these methods:

Option 1: Bearer Token

Authorization: Bearer YOUR_ACCESS_TOKEN

Option 2: Basic Auth (Client Credentials)

Authorization: Basic base64(your-client-id:your-client-secret)

Option 3: Custom Headers

X-Monta-Client-Id: your-client-id
X-Monta-Client-Secret: your-client-secret

Option 4: Custom Header (Combined)

X-Monta-Auth: your-client-id:your-client-secret

🛠️ Integration Guides

Platform Guide Description
n8n Setup Guide Use MCP Client Tool to access Monta API in workflows
Claude Desktop Local Setup Run MCP server locally with stdio protocol
Claude Desktop Remote Setup Connect to hosted MCP server via SSE
ChatGPT Actions Guide Create custom GPT with Monta API Actions
ChatGPT MCP Guide Connect ChatGPT to Monta MCP server