Skip to main content
Glama

PyGithub MCP Server

by AstroMined

update_issue

Modify existing GitHub issues by updating titles, descriptions, states, labels, assignees, or milestones using specific repository and issue details. Integrates with PyGithub for streamlined issue management.

Instructions

Update an existing issue.

Args: params: Parameters for updating an issue including: - owner: Repository owner (user or organization) - repo: Repository name - issue_number: Issue number to update - title: New title (optional) - body: New description (optional) - state: New state (optional) - labels: New labels (optional) - assignees: New assignees (optional) - milestone: New milestone number (optional) Returns: Updated issue details from GitHub API

Input Schema

NameRequiredDescriptionDefault
paramsYes

Input Schema (JSON Schema)

{ "$defs": { "UpdateIssueParams": { "description": "Parameters for updating an issue.", "properties": { "assignees": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "New assignees (list of usernames)", "title": "Assignees" }, "body": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "New description", "title": "Body" }, "issue_number": { "description": "Issue number to update", "title": "Issue Number", "type": "integer" }, "labels": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "New labels (list of label names)", "title": "Labels" }, "milestone": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "New milestone number (or None to clear)", "title": "Milestone" }, "owner": { "description": "Repository owner (username or organization)", "title": "Owner", "type": "string" }, "repo": { "description": "Repository name", "title": "Repo", "type": "string" }, "state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "New state (open or closed)", "title": "State" }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "New title", "title": "Title" } }, "required": [ "owner", "repo", "issue_number" ], "title": "UpdateIssueParams", "type": "object" } }, "properties": { "params": { "$ref": "#/$defs/UpdateIssueParams" } }, "required": [ "params" ], "title": "update_issueArguments", "type": "object" }

Other Tools from PyGithub MCP Server

Related Tools

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/AstroMined/pygithub-mcp-server'

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