GitHub Enterprise MCP Server

by containerelic
Verified

list-pull-requests

Fetch and sort pull requests from a GitHub Enterprise repository by state, sort criteria, and pagination for efficient review and management.

Input Schema

NameRequiredDescriptionDefault
directionNoSort directiondesc
ownerYesRepository owner (user or organization)
pageNoPage number
per_pageNoItems per page
repoYesRepository name
sortNoSort criteriacreated
stateNoPR state filteropen

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "direction": { "default": "desc", "description": "Sort direction", "enum": [ "asc", "desc" ], "type": "string" }, "owner": { "description": "Repository owner (user or organization)", "type": "string" }, "page": { "default": 1, "description": "Page number", "type": "number" }, "per_page": { "default": 30, "description": "Items per page", "type": "number" }, "repo": { "description": "Repository name", "type": "string" }, "sort": { "default": "created", "description": "Sort criteria", "enum": [ "created", "updated", "popularity", "long-running" ], "type": "string" }, "state": { "default": "open", "description": "PR state filter", "enum": [ "open", "closed", "all" ], "type": "string" } }, "required": [ "owner", "repo" ], "type": "object" }

You must be authenticated.

Other Tools from GitHub Enterprise MCP Server

Related Tools

ID: 27uwbz7hqw