gh_list_orgs

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

List organizations you’re a member of. Returns org names, URLs, and your role (owner, member, etc.).

Example call

Arguments

{}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('gh_list_orgs', {});

Response shape

Always returns: items, count

FieldTypeDescription
itemsarray
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "description": "Organization ID"
          },
          "login": {
            "type": "string",
            "description": "Organization login"
          },
          "avatar_url": {
            "type": "string",
            "description": "Organization avatar URL"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Organization description"
          },
          "url": {
            "type": "string",
            "description": "Organization API URL"
          },
          "html_url": {
            "type": "string",
            "description": "Organization web URL"
          }
        }
      }
    },
    "count": {
      "type": "integer",
      "description": "Number of items returned."
    }
  },
  "required": [
    "items",
    "count"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build June 24, 2026