🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@paretools/github

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paretools/github

MCP server for GitHub — structured PR, issue, and Actions data for AI agents

latest
Source
npmnpm
Version
0.22.0
Version published
Weekly downloads
283
169.52%
Maintainers
1
Weekly downloads
 
Created
Source

@paretools/github

npm License: MIT

Structured, token-efficient GitHub operations for AI agents. Wraps the GitHub CLI (gh) with typed JSON output.

Part of the Pare suite of MCP servers.

Tools

ToolDescription
pr-viewView PR details with checks, review decision, diff stats
pr-listList PRs with state/author/label filters
pr-createCreate a pull request with title, body, base/head
issue-viewView issue details with labels, assignees, body
issue-listList issues with state/label/assignee filters
issue-createCreate an issue with title, body, labels
run-viewView workflow run details with job statuses
run-listList workflow runs with branch/status filters
secret-setSet a repo, org, or environment GitHub Actions secret
secret-listList secret names and metadata; values are never returned
secret-deleteDelete a repo, org, or environment GitHub Actions secret
variable-setSet a repo, org, or environment GitHub Actions variable
variable-listList variable names, values, and metadata
variable-deleteDelete a repo, org, or environment GitHub Actions variable

Quick Start

npx -y @paretools/github

Add to your MCP client config:

{
  "mcpServers": {
    "pare-github": {
      "command": "npx",
      "args": ["-y", "@paretools/github"]
    }
  }
}

Example

pr-view output:

{
  "number": 42,
  "state": "OPEN",
  "title": "Add search functionality",
  "mergeable": "MERGEABLE",
  "reviewDecision": "APPROVED",
  "checks": [{ "name": "CI", "status": "COMPLETED", "conclusion": "SUCCESS" }],
  "url": "https://github.com/owner/repo/pull/42",
  "headBranch": "feat/search",
  "baseBranch": "main",
  "additions": 150,
  "deletions": 20,
  "changedFiles": 5
}

secret-set input:

{
  "name": "MAXMIND_LICENSE_KEY",
  "value": "license-key-value",
  "repo": "owner/repo"
}

Secret values are sent to gh secret set via stdin and are not returned in structured output. For organization scope, pass org and optional visibility / repos; for environment scope, pass repo and env.

variable-list output:

{
  "scope": "repo",
  "variables": [
    {
      "name": "PUBLIC_URL",
      "value": "https://example.com",
      "updatedAt": "2026-01-01T00:00:00Z"
    }
  ]
}

Prerequisites

  • GitHub CLI (gh) installed and authenticated (gh auth login)

Compatible Clients

Works with any MCP-compatible client: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code / GitHub Copilot, Cline, Roo Code, Zed, Continue.dev, Gemini CLI, OpenAI Codex

License

MIT

Keywords

mcp

FAQs

Package last updated on 29 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts