---
title: "Send an MCP JSON-RPC request"
url: "https://kongnet.kongai.uk/apis/kongnet-mcp-gateway-1/versions/4d636664-b189-41ba-a262-ae077db561de/operations/mcpRequest"
---

> Full API specification: https://kongnet.kongai.uk/apis/kongnet-mcp-gateway-1/versions/4d636664-b189-41ba-a262-ae077db561de.md

# Send an MCP JSON-RPC request

`POST` `/mcp/support`

Operation ID: `mcpRequest`

## Request body (required)

Content types: `application/json`

## Responses

- `200` - JSON-RPC result
- `401` - Missing or invalid key
- `403` - Tool not allowed for this role

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: KongNet MCP Gateway
  version: 1.0.0
servers:
  - url: http://localhost:8010
    description: Demo data plane
paths:
  /mcp/support:
    post:
      operationId: mcpRequest
      summary: Send an MCP JSON-RPC request
      tags:
        - MCP
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - "2.0"
                id:
                  type: integer
                method:
                  type: string
                  enum:
                    - initialize
                    - tools/list
                    - tools/call
                params:
                  type: object
      responses:
        "200":
          description: JSON-RPC result
        "401":
          description: Missing or invalid key
        "403":
          description: Tool not allowed for this role
security:
  - apikey: []
components:
  securitySchemes:
    apikey:
      type: apiKey
      in: header
      name: apikey
```
