RubyGems · Capability

RubyGems Gems API — Dependencies

RubyGems Gems API — Dependencies. 1 operations. Lead operation: Get Gem Dependencies. Self-contained Naftiko capability covering one Rubygems business surface.

Run with Naftiko RubygemsDependencies

What You Can Do

GET
Getdependencies — Get Gem Dependencies
/v1/dependencies

MCP Tools

get-gem-dependencies

Get Gem Dependencies

read-only idempotent

Capability Spec

gems-dependencies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: RubyGems Gems API — Dependencies
  description: 'RubyGems Gems API — Dependencies. 1 operations. Lead operation: Get Gem Dependencies. Self-contained Naftiko
    capability covering one Rubygems business surface.'
  tags:
  - Rubygems
  - Dependencies
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RUBYGEMS_API_KEY: RUBYGEMS_API_KEY
capability:
  consumes:
  - type: http
    namespace: gems-dependencies
    baseUri: https://rubygems.org/api/v1
    description: RubyGems Gems API — Dependencies business capability. Self-contained, no shared references.
    resources:
    - name: dependencies
      path: /dependencies
      operations:
      - name: getdependencies
        method: GET
        description: Get Gem Dependencies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gems
          in: query
          type: string
          description: Comma-separated list of gem names
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.RUBYGEMS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: gems-dependencies-rest
    port: 8080
    description: REST adapter for RubyGems Gems API — Dependencies. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/dependencies
      name: dependencies
      description: REST surface for dependencies.
      operations:
      - method: GET
        name: getdependencies
        description: Get Gem Dependencies
        call: gems-dependencies.getdependencies
        with:
          gems: rest.gems
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gems-dependencies-mcp
    port: 9090
    transport: http
    description: MCP adapter for RubyGems Gems API — Dependencies. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-gem-dependencies
      description: Get Gem Dependencies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gems-dependencies.getdependencies
      with:
        gems: tools.gems
      outputParameters:
      - type: object
        mapping: $.