naftiko: 1.0.0-alpha2 info: label: PortainerCE API — upload description: 'PortainerCE API — upload. 1 operations. Lead operation: Upload TLS files. Self-contained Naftiko capability covering one Portainer business surface.' tags: - Portainer - upload created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PORTAINER_API_KEY: PORTAINER_API_KEY capability: consumes: - type: http namespace: portainer-upload baseUri: '' description: PortainerCE API — upload business capability. Self-contained, no shared references. resources: - name: upload-tls-certificate path: /upload/tls/{certificate} operations: - name: uploadtls method: POST description: Upload TLS files outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: certificate in: path type: string description: TLS file type. Valid values are 'ca', 'cert' or 'key'. required: true - name: folder in: formData type: string description: Folder where the TLS file will be stored. Will be created if not existing required: true - name: file in: formData type: file description: The file to upload required: true exposes: - type: rest namespace: portainer-upload-rest port: 8080 description: REST adapter for PortainerCE API — upload. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/upload/tls/{certificate} name: upload-tls-certificate description: REST surface for upload-tls-certificate. operations: - method: POST name: uploadtls description: Upload TLS files call: portainer-upload.uploadtls with: certificate: rest.certificate folder: rest.folder file: rest.file outputParameters: - type: object mapping: $. - type: mcp namespace: portainer-upload-mcp port: 9090 transport: http description: MCP adapter for PortainerCE API — upload. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: upload-tls-files description: Upload TLS files hints: readOnly: false destructive: false idempotent: false call: portainer-upload.uploadtls with: certificate: tools.certificate folder: tools.folder file: tools.file outputParameters: - type: object mapping: $.