GitHub add issue comment

github__add_issue_comment

Access

Requires a project integration connection for github.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue or pull request number
bodystringYesComment body (markdown)

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "github__add_issue_comment",
    "arguments": {
      "owner": "example",
      "repo": "example",
      "issue_number": 0,
      "body": "example"
    }
  }
}

Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the github integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "owner": {
      "type": "string",
      "description": "Repository owner"
    },
    "repo": {
      "type": "string",
      "description": "Repository name"
    },
    "issue_number": {
      "type": "number",
      "description": "Issue or pull request number"
    },
    "body": {
      "type": "string",
      "description": "Comment body (markdown)"
    }
  },
  "required": [
    "owner",
    "repo",
    "issue_number",
    "body"
  ],
  "description": "Arguments for the github__add_issue_comment tool."
}