> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mclicense.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Plugin

> Creates a new plugin with the specified details



## OpenAPI

````yaml POST /plugins
openapi: 3.0.1
info:
  title: MC License API
  description: API for validating and managing Minecraft plugin licenses
  version: 1.0.0
  license:
    name: MIT
servers:
  - url: https://api.mclicense.org
    description: Production API Server
security:
  - apiKey: []
paths:
  /plugins:
    post:
      summary: Create a new plugin
      description: Creates a new plugin with the specified details
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
              properties:
                name:
                  type: string
                  description: Name of the plugin
                icon:
                  type: string
                  description: URL to the plugin's icon
                marketplace:
                  type: string
                  description: Voxel Shop (Polymart) marketplace URL
      responses:
        '201':
          description: Plugin created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Plugin'
components:
  schemas:
    Plugin:
      type: object
      required:
        - name
      properties:
        _id:
          type: string
          readOnly: true
          description: Unique identifier for the plugin
        name:
          type: string
          description: Name of the plugin
        icon:
          type: string
          description: URL to the plugin's icon
        marketplace:
          type: object
          properties:
            type:
              type: string
              enum:
                - Polymart
                - BuiltByBit
            id:
              type: string
            url:
              type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: MCL-Key
      description: API key must start with 'mcl_'

````