naftiko: 1.0.0-alpha2 info: label: "Minecraft Services API \u2014 Identity" description: "Minecraft Services API \u2014 Identity. 3 operations. Lead operation: Lookup Profile by Name. Self-contained Naftiko capability covering one Mojang business surface." tags: - Mojang - Minecraft - Identity created: '2026-05-30' modified: '2026-05-30' binds: - namespace: env keys: MINECRAFT_ACCESS_TOKEN: MINECRAFT_ACCESS_TOKEN capability: consumes: - type: http namespace: mojang-minecraft-services-identity baseUri: https://api.minecraftservices.com description: "Minecraft Services API \u2014 identity. Self-contained, no shared references." authentication: type: bearer token: '{{env.MINECRAFT_ACCESS_TOKEN}}' resources: - name: minecraft-profile-lookup-name-username path: /minecraft/profile/lookup/name/{username} operations: - name: lookupProfileByName method: GET description: Lookup Profile by Name inputParameters: - name: username in: path type: string required: true description: Case-insensitive Minecraft username. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: minecraft-profile-lookup-uuid path: /minecraft/profile/lookup/{uuid} operations: - name: lookupProfileByUuid method: GET description: Lookup Profile by UUID inputParameters: - name: uuid in: path type: string required: true description: Player UUID (hyphenated or unhyphenated). outputRawFormat: json outputParameters: - name: result type: object value: $. - name: minecraft-profile-lookup-bulk-byname path: /minecraft/profile/lookup/bulk/byname operations: - name: lookupProfilesBulkByName method: POST description: Lookup Profiles Bulk by Name inputParameters: - name: body in: body type: object required: true description: JSON array of up to ten usernames. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: mojang-minecraft-services-identity-rest port: 8080 description: "REST adapter for Minecraft Services API \u2014 identity. One Spectral-compliant resource per consumed operation, prefixed with /v1." resources: - path: /v1/minecraft/profile/lookup/name/{username} name: minecraft-profile-lookup-name-username description: REST surface for /minecraft/profile/lookup/name/{username}. operations: - method: GET name: lookupProfileByName description: Lookup Profile by Name call: mojang-minecraft-services-identity.lookupProfileByName with: username: rest.username outputParameters: - type: object mapping: $. - path: /v1/minecraft/profile/lookup/{uuid} name: minecraft-profile-lookup-uuid description: REST surface for /minecraft/profile/lookup/{uuid}. operations: - method: GET name: lookupProfileByUuid description: Lookup Profile by UUID call: mojang-minecraft-services-identity.lookupProfileByUuid with: uuid: rest.uuid outputParameters: - type: object mapping: $. - path: /v1/minecraft/profile/lookup/bulk/byname name: minecraft-profile-lookup-bulk-byname description: REST surface for /minecraft/profile/lookup/bulk/byname. operations: - method: POST name: lookupProfilesBulkByName description: Lookup Profiles Bulk by Name call: mojang-minecraft-services-identity.lookupProfilesBulkByName with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: mojang-minecraft-services-identity-mcp port: 9090 transport: http description: "MCP adapter for Minecraft Services API \u2014 identity. One tool per consumed operation, routed inline through this capability's consumes block." tools: - name: lookup-profile-name description: Lookup Profile by Name hints: readOnly: true destructive: false idempotent: true call: mojang-minecraft-services-identity.lookupProfileByName with: username: tools.username outputParameters: - type: object mapping: $. - name: lookup-profile-uuid description: Lookup Profile by UUID hints: readOnly: true destructive: false idempotent: true call: mojang-minecraft-services-identity.lookupProfileByUuid with: uuid: tools.uuid outputParameters: - type: object mapping: $. - name: lookup-profiles-bulk-name description: Lookup Profiles Bulk by Name hints: readOnly: true destructive: false idempotent: false call: mojang-minecraft-services-identity.lookupProfilesBulkByName with: body: tools.body outputParameters: - type: object mapping: $.