Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page6 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
POST/api/mcpMCPPermission: integrations.view

Execute MCP JSON-RPC Request

Streamable HTTP transport endpoint for the Model Context Protocol (MCP). Requires an `inv_live_...` integration token via `Authorization: Bearer` or `X-Invoger-Token` and `integrations.view` permission. Rate-limited per IP and bound strictly to the token's tenant & outlet scope.

Authentication: Requires an inv_live_... integration token via Authorization: Bearer <token> or X-Invoger-Token.

Request

Provide the following fields in the request payload.

Body application/json
jsonrpcenum('2.0')required

JSON-RPC protocol version.

idstring | numberoptional

Client request identifier.

methodstringrequired

MCP JSON-RPC method (e.g., initialize, tools/list, tools/call).

paramsobjectoptional

Method-specific parameters.

Responses

Select a status code to inspect schema.

OK — JSON-RPC 2.0 tool execution or initialization result.application/json
successenum('true')

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

POST/api/mcp
curl -X POST "https://api.invoger.com/api/mcp" \
  -H "Authorization: Bearer <INTEGRATION_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_invoicing_config", "arguments": {} } }'
Interactive playground

Response

application/json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"outlets\": [...]}"
      }
    ]
  }
}