list_repo_issues

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

List issues for a GitHub repository by owner and repo name; filters pull requests out automatically. Returns issue number, title, state, labels, author, comment count, URL, and timestamps. Defaults to open issues.

Parameters

NameTypeRequiredDescription
ownerstringyesRepository owner (user or org)
repostringyesRepository name
statestringnoFilter by issue state: open, closed, or all (default: open)
per_pagenumbernoNumber of issues to return (default 10, max 30)

Example call

Arguments

{
  "owner": "facebook",
  "repo": "react",
  "state": "open"
}

curl

curl -X POST https://gateway.pipeworx.io/github/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_repo_issues","arguments":{"owner":"facebook","repo":"react","state":"open"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('list_repo_issues', {
  "owner": "facebook",
  "repo": "react",
  "state": "open"
});

More examples

{
  "owner": "kubernetes",
  "repo": "kubernetes",
  "state": "all",
  "per_page": 25
}

Response shape

Always returns: owner, repo, state, count, issues

FieldTypeDescription
ownerstringRepository owner
repostringRepository name
statestringIssue state filter (open/closed/all)
countnumberTotal number of issues returned
issuesarrayList of issues
Full JSON Schema
{
  "type": "object",
  "properties": {
    "owner": {
      "type": "string",
      "description": "Repository owner"
    },
    "repo": {
      "type": "string",
      "description": "Repository name"
    },
    "state": {
      "type": "string",
      "description": "Issue state filter (open/closed/all)"
    },
    "count": {
      "type": "number",
      "description": "Total number of issues returned"
    },
    "issues": {
      "type": "array",
      "description": "List of issues",
      "items": {
        "type": "object",
        "properties": {
          "number": {
            "type": "number",
            "description": "Issue number"
          },
          "title": {
            "type": "string",
            "description": "Issue title"
          },
          "state": {
            "type": "string",
            "description": "Issue state (open/closed)"
          },
          "labels": {
            "type": "array",
            "description": "Issue labels",
            "items": {
              "type": "string"
            }
          },
          "author": {
            "type": [
              "string",
              "null"
            ],
            "description": "Issue author login"
          },
          "comments": {
            "type": "number",
            "description": "Number of comments"
          },
          "url": {
            "type": "string",
            "description": "Issue URL"
          },
          "created_at": {
            "type": "string",
            "description": "Issue creation timestamp"
          },
          "updated_at": {
            "type": "string",
            "description": "Last update timestamp"
          }
        },
        "required": [
          "number",
          "title",
          "state",
          "labels",
          "author",
          "comments",
          "url",
          "created_at",
          "updated_at"
        ]
      }
    }
  },
  "required": [
    "owner",
    "repo",
    "state",
    "count",
    "issues"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 21, 2026