naftiko: 1.0.0-alpha2 info: label: Google Cloud Migration Center Google Migration Center API — PreferenceSets description: 'Google Cloud Migration Center Google Migration Center API — PreferenceSets. 2 operations. Lead operation: Google Cloud Migration Center List preference sets. Self-contained Naftiko capability covering one Google Cloud Migration Center business surface.' tags: - Google Cloud Migration Center - PreferenceSets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_CLOUD_MIGRATION_CENTER_API_KEY: GOOGLE_CLOUD_MIGRATION_CENTER_API_KEY capability: consumes: - type: http namespace: migration-center-preferencesets baseUri: https://migrationcenter.googleapis.com/v1 description: Google Cloud Migration Center Google Migration Center API — PreferenceSets business capability. Self-contained, no shared references. resources: - name: projects-projectId-locations-location-preferenceSets path: /projects/{projectId}/locations/{location}/preferenceSets operations: - name: listpreferencesets method: GET description: Google Cloud Migration Center List preference sets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: createpreferenceset method: POST description: Google Cloud Migration Center Create a preference set outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.GOOGLE_CLOUD_MIGRATION_CENTER_API_KEY}}' exposes: - type: rest namespace: migration-center-preferencesets-rest port: 8080 description: REST adapter for Google Cloud Migration Center Google Migration Center API — PreferenceSets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/locations/{location}/preferencesets name: projects-projectid-locations-location-preferencesets description: REST surface for projects-projectId-locations-location-preferenceSets. operations: - method: GET name: listpreferencesets description: Google Cloud Migration Center List preference sets call: migration-center-preferencesets.listpreferencesets with: projectId: rest.projectId location: rest.location outputParameters: - type: object mapping: $. - method: POST name: createpreferenceset description: Google Cloud Migration Center Create a preference set call: migration-center-preferencesets.createpreferenceset with: projectId: rest.projectId location: rest.location body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: migration-center-preferencesets-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Migration Center Google Migration Center API — PreferenceSets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-migration-center-list description: Google Cloud Migration Center List preference sets hints: readOnly: true destructive: false idempotent: true call: migration-center-preferencesets.listpreferencesets with: projectId: tools.projectId location: tools.location outputParameters: - type: object mapping: $. - name: google-cloud-migration-center-create description: Google Cloud Migration Center Create a preference set hints: readOnly: false destructive: false idempotent: false call: migration-center-preferencesets.createpreferenceset with: projectId: tools.projectId location: tools.location body: tools.body outputParameters: - type: object mapping: $.