Skip to main content
Glama

list_pull_requests

Retrieve pull requests from GitHub or GitLab repositories with filters for state, branches, labels, and search terms to manage code review workflows.

Instructions

List pull requests (merge requests in GitLab) with optional filters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository identifier (GitLab: "group/project" or ID, GitHub: "owner/repo")
stateNoFilter by state
source_branchNoFilter by source branch
target_branchNoFilter by target branch
labelsNoFilter by labels
searchNoSearch in title and description
sortNoSort field
directionNoSort direction
pageNoPage number (default: 1)
per_pageNoItems per page (default: 20, max: 100)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ray0907/git-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server