---
title: "MCPResourceInput"
url: "https://nov18-dev.movespot.fyi/apis/konnect-mcp-servers-dev-1/versions/273fb08c-b67b-49ca-b68f-f174984adea1/schemas/MCPResourceInput"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-mcp-servers-dev-1/versions/273fb08c-b67b-49ca-b68f-f174984adea1.md

# MCPResourceInput

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Konnect MCP Servers
  version: 1.0.0
servers:
  - url: https://us.api.konghq.com/v1
    description: United-States Production region
  - url: https://eu.api.konghq.com/v1
    description: Europe Production region
  - url: https://au.api.konghq.com/v1
    description: Australia Production region
  - url: https://me.api.konghq.com/v1
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v1
    description: India Production region
  - url: https://sg.api.konghq.com/v1
    description: Singapore Production region
components:
  schemas:
    MCPResourceSpecConfig:
      description: The configuration of the MCP resource.
      type: object
      properties:
        type:
          allOf:
            - $ref: "#/components/schemas/MCPResourceAPIConfigType"
            - type: string
              enum:
                - spec
              x-go-type: MCPResourceAPIConfigType
        spec:
          description: The specification of the MCP resource in JSON or YAML format.
          type: string
          maxLength: 10000000
      required:
        - type
        - spec
    MCPResourceAPIReferenceConfig:
      description: The configuration of the MCP resource referencing an API catalog entry.
      type: object
      properties:
        type:
          allOf:
            - $ref: "#/components/schemas/MCPResourceAPIConfigType"
            - type: string
              enum:
                - api_reference
              x-go-type: MCPResourceAPIConfigType
        api_reference:
          $ref: "#/components/schemas/MCPAPIReference"
      required:
        - type
        - api_reference
    MCPResourceAPIConfigType:
      description: The type of the MCP resource API configuration.
      type: string
      enum:
        - spec
        - api_reference
      x-enum-varnames:
        - MCPResourceAPIConfigTypeSpec
        - MCPResourceAPIConfigTypeAPIReference
    MCPAPIReference:
      type: object
      properties:
        id:
          description: The unique identifier for the API catalog entry.
          type: string
          format: uuid
        version_id:
          description: The version of the API catalog entry.
          type: string
          format: uuid
      required:
        - id
        - version_id
    MCPResourceInput:
      type: object
      properties:
        type:
          description: The type of the MCP resource.
          type: string
          default: api
          enum:
            - api
        config:
          discriminator:
            propertyName: type
            mapping:
              spec: "#/components/schemas/MCPResourceSpecConfig"
              api_reference: "#/components/schemas/MCPResourceAPIReferenceConfig"
          oneOf:
            - $ref: "#/components/schemas/MCPResourceSpecConfig"
            - $ref: "#/components/schemas/MCPResourceAPIReferenceConfig"
      required:
        - type
        - config
```
