get_dependencies

Pack: rubygems · Endpoint: https://gateway.pipeworx.io/rubygems/mcp

Get the runtime and development dependencies for a specific version of a Ruby gem. Returns each dependency with its version requirement string. Omit version to get the latest.

Parameters

NameTypeRequiredDescription
namestringyesGem name (e.g., “devise”)
versionstringnoVersion string (e.g., “5.0.4”). Omit for latest.

Example call

Arguments

{
  "name": "devise"
}

curl

curl -X POST https://gateway.pipeworx.io/rubygems/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_dependencies","arguments":{"name":"devise"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_dependencies', {
  "name": "devise"
});

More examples

{
  "name": "rails",
  "version": "7.0.4"
}

Response shape

Always returns: found, name

FieldTypeDescription
foundbooleanWhether gem/version was found
namestringGem name
versionstringVersion number of dependencies
hintstringError message when gem or version not found
runtimearrayRuntime dependencies
developmentarrayDevelopment dependencies
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "Whether gem/version was found"
    },
    "name": {
      "type": "string",
      "description": "Gem name"
    },
    "version": {
      "type": "string",
      "description": "Version number of dependencies"
    },
    "hint": {
      "type": "string",
      "description": "Error message when gem or version not found"
    },
    "runtime": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Dependency gem name"
          },
          "requirements": {
            "type": "string",
            "description": "Version requirement string"
          }
        }
      },
      "description": "Runtime dependencies"
    },
    "development": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Dependency gem name"
          },
          "requirements": {
            "type": "string",
            "description": "Version requirement string"
          }
        }
      },
      "description": "Development dependencies"
    }
  },
  "required": [
    "found",
    "name"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "rubygems": {
      "url": "https://gateway.pipeworx.io/rubygems/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 26, 2026