naftiko: "1.0.0-alpha2" info: label: "RubyGems.org Registry API — API Keys" description: >- API Keys surface — API Keys. 1 operation. Lead operation: Get An API Key. Self-contained Naftiko capability covering one RubyGems business surface. tags: - RubyGems - Registry - API Keys created: "2026-05-23" modified: "2026-05-23" binds: - namespace: env keys: RUBYGEMS_USERNAME: RUBYGEMS_USERNAME RUBYGEMS_PASSWORD: RUBYGEMS_PASSWORD capability: consumes: - type: http namespace: "rubygems-registry-api-keys" baseUri: "https://rubygems.org" description: "RubyGems.org Registry — API Keys surface. Self-contained, no shared references." authentication: type: basic username: "{{env.RUBYGEMS_USERNAME}}" password: "{{env.RUBYGEMS_PASSWORD}}" resources: - name: "api-key" path: "/api/v1/api_key.json" operations: - name: "getApiKey" method: GET description: "Get an API key." inputParameters: [] outputRawFormat: json outputParameters: - name: result type: object value: "$." exposes: - type: rest namespace: "rubygems-registry-api-keys-rest" port: 8080 description: "REST adapter for RubyGems.org Registry — API Keys." resources: - path: "/v1/api-key" name: "api-key" description: "REST surface to fetch the authenticated user's API key." operations: - method: GET name: "getApiKey" description: "Get an API key." call: "rubygems-registry-api-keys.getApiKey" with: {} outputParameters: - type: object mapping: "$." - type: mcp namespace: "rubygems-registry-api-keys-mcp" port: 9090 transport: http description: "MCP adapter for RubyGems.org Registry — API Keys." tools: - name: "get-api-key" description: "Get an API key." hints: readOnly: true destructive: false idempotent: true call: "rubygems-registry-api-keys.getApiKey" with: {} outputParameters: - type: object mapping: "$."