Graphrt

GitHub

Repos, issues, pull requests, contents, code/issue search, releases, Actions runs, notifications, agent writes opt-in, merges/commits/releases node only

Beta v0.1.0 Node.js 33 actions
Use in Graphrt Desktop

About

A Graphrt plugin for the GitHub REST API (API version 2026-03-10). It reads repositories, issues, pull requests, file contents, search results, releases, Actions runs and notifications, and writes issues, comments and pull requests. It is built with the declarative REST layer: the whole plugin is the data in definition.mjs.

What it can do

  • Repositories: get_authenticated_user, list_my_repos, list_org_repos, get_repo, get_contents (file or directory at any path, e.g. src/lib/main.js), create_or_update_file (node only)
  • Issues: list_issues, get_issue, create_issue, update_issue, list_issue_comments, create_issue_comment
  • Pull requests: list_pulls, get_pull, list_pull_files, create_pull, list_pull_review_comments, create_pull_review_comment, merge_pull (node only)
  • Search: search_code, search_issues (issues and pull requests, optional advanced syntax)
  • Releases: list_releases, get_latest_release, get_release, create_release and delete_release (node only)
  • Actions: list_workflow_runs, get_workflow_run, rerun_workflow_run, rerun_failed_jobs
  • Notifications: list_notifications, mark_notification_read
  • api_request: any other endpoint on api.github.com (GET only for agents)

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • Authenticated user github.get_authenticated_user
  • List my repositories github.list_my_repos
  • List organization repositories github.list_org_repos
  • Get repository github.get_repo
  • Get file or directory github.get_contents
  • Commit a file github.create_or_update_file
  • List issues github.list_issues
  • Get issue github.get_issue
  • Create issue github.create_issue
  • Update issue github.update_issue
Show all 33 actions
  • List issue comments github.list_issue_comments
  • Comment on issue or PR github.create_issue_comment
  • List pull requests github.list_pulls
  • Get pull request github.get_pull
  • List pull request files github.list_pull_files
  • Create pull request github.create_pull
  • List PR review comments github.list_pull_review_comments
  • Comment on PR diff github.create_pull_review_comment
  • Merge pull request github.merge_pull
  • Search code github.search_code
  • Search issues and PRs github.search_issues
  • List releases github.list_releases
  • Latest release github.get_latest_release
  • Get release github.get_release
  • Create release github.create_release
  • Delete release github.delete_release
  • List workflow runs github.list_workflow_runs
  • Get workflow run github.get_workflow_run
  • Re-run workflow github.rerun_workflow_run
  • Re-run failed jobs github.rerun_failed_jobs
  • List notifications github.list_notifications
  • Mark notification read github.mark_notification_read
  • GitHub REST API request github.api_request

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • GITHUB_TOKEN Required
    Fine-grained or classic personal access token, or a GitHub App installation token
  • GITHUB_TOOL_ALLOW_WRITE Optional
    1 lets agent tools create/update issues, comment, open pull requests and mark notifications read
  • GITHUB_TOOL_ALLOW_CI Optional
    1 lets agent tools re-run workflow runs
  • GITHUB_TOOL_ALLOWED_REPOS For tool writes
    Comma-separated owner/name repositories agent tools may write to (* = any)
  • GITHUB_TOOL_TOKEN_SOURCE

How to use it

In Graphrt Desktop

  1. Open Plugins and search for GitHub.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install github
workflow.yaml
- id: failing
  type: github.list_workflow_runs
  owner: acme
  repo: api
  branch: main
  status: failure
  limit: 5
- id: file
  type: github.get_contents
  owner: acme
  repo: api
  file_path: config/app.yaml
  ref: main
Plugins in the docs