naftiko: 1.0.0-alpha2 info: label: OpenMercantil Public API — Network description: 'OpenMercantil Public API — Network. 2 operations. Lead operation: List Company Embargoes. Self-contained Naftiko capability covering one Openmercantil business surface.' tags: - Openmercantil - Network created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: OPENMERCANTIL_API_KEY: OPENMERCANTIL_API_KEY capability: consumes: - type: http namespace: openmercantil-network baseUri: https://openmercantil.es description: OpenMercantil Public API — Network business capability. Self-contained, no shared references. resources: - name: api-v1-company-slug-embargoes path: /api/v1/company/{slug}/embargoes operations: - name: getcompanyembargoes method: GET description: List Company Embargoes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: slug in: path type: string required: true - name: api-v1-company-slug-network path: /api/v1/company/{slug}/network operations: - name: getcompanynetwork method: GET description: Get Company Relationship Network outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: slug in: path type: string required: true authentication: type: apikey key: session value: '{{env.OPENMERCANTIL_API_KEY}}' placement: cookie exposes: - type: rest namespace: openmercantil-network-rest port: 8080 description: REST adapter for OpenMercantil Public API — Network. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/company/{slug}/embargoes name: api-v1-company-slug-embargoes description: REST surface for api-v1-company-slug-embargoes. operations: - method: GET name: getcompanyembargoes description: List Company Embargoes call: openmercantil-network.getcompanyembargoes with: slug: rest.slug outputParameters: - type: object mapping: $. - path: /v1/api/v1/company/{slug}/network name: api-v1-company-slug-network description: REST surface for api-v1-company-slug-network. operations: - method: GET name: getcompanynetwork description: Get Company Relationship Network call: openmercantil-network.getcompanynetwork with: slug: rest.slug outputParameters: - type: object mapping: $. - type: mcp namespace: openmercantil-network-mcp port: 9090 transport: http description: MCP adapter for OpenMercantil Public API — Network. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-company-embargoes description: List Company Embargoes hints: readOnly: true destructive: false idempotent: true call: openmercantil-network.getcompanyembargoes with: slug: tools.slug outputParameters: - type: object mapping: $. - name: get-company-relationship-network description: Get Company Relationship Network hints: readOnly: true destructive: false idempotent: true call: openmercantil-network.getcompanynetwork with: slug: tools.slug outputParameters: - type: object mapping: $.