# GitHub CI/CD MCP server

> Enables AI agents to manage repositories, pull requests, GitHub Actions, deployments, and local git operations through GitHub REST and GraphQL APIs.

- Repository: https://github.com/devstephenke-sys/Github-Free-MCPs
- Page: https://hostedmcp.org/servers/devstephenke-sys/github-free-mcps
- Transport: stdio
- Stars: 2
- License: MIT
- Latest version: 1.2.2

## Install

### Claude Code

```sh
claude mcp add --env 'GITHUB_TOKEN=<YOUR_GITHUB_TOKEN>' github-free-mcps -- npx -y @kinus/github-cicd-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "github-free-mcps": {
      "command": "npx",
      "args": [
        "-y",
        "@kinus/github-cicd-mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "github-free-mcps": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@kinus/github-cicd-mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"github-free-mcps","type":"stdio","command":"npx","args":["-y","@kinus/github-cicd-mcp"],"env":{"GITHUB_TOKEN":"<YOUR_GITHUB_TOKEN>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "github-free-mcps": {
      "command": "npx",
      "args": [
        "-y",
        "@kinus/github-cicd-mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add github-free-mcps --env 'GITHUB_TOKEN=<YOUR_GITHUB_TOKEN>' -- npx -y @kinus/github-cicd-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.github-free-mcps]
command = "npx"
args = ["-y", "@kinus/github-cicd-mcp"]

[mcp_servers.github-free-mcps.env]
GITHUB_TOKEN = "<YOUR_GITHUB_TOKEN>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'GITHUB_TOKEN=<YOUR_GITHUB_TOKEN>' github-free-mcps npx -- -y @kinus/github-cicd-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "github-free-mcps": {
      "command": "npx",
      "args": [
        "-y",
        "@kinus/github-cicd-mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `GITHUB_TOKEN` | yes | yes | GitHub personal access token for authentication |
| `GITHUB_API_URL` | no | no | GitHub Enterprise REST API base URL (optional) |
| `GITHUB_GRAPHQL_URL` | no | no | GitHub Enterprise GraphQL endpoint (optional) |
| `GITHUB_HOST` | no | no | GitHub Enterprise hostname (optional, defaults to github.com) |

## FAQ

### What permissions do I need for GitHub Actions?

To manage GitHub Actions, your token requires the 'workflow' scope.
