Back to Home
esinecan icon

github-mcp-read-only

Verified Safe

by esinecan

Overview

A lightweight MCP server that provides read-only GitHub operations by wrapping the `gh` CLI, with structured and pruned JSON responses.

Installation

Run Command
node dist/mcp/server.js

Security Notes

The server primarily relies on executing `gh` CLI commands using `child_process.exec`. While arguments are constructed internally and are not directly concatenated with raw user input, any vulnerability in the `gh` CLI itself or an unforeseen shell injection vector could pose a risk. The `exec` calls do not use `shell: true` with raw input, which mitigates some common injection attacks, but `gh` commands themselves can be complex. There are no obvious `eval` or obfuscation patterns. Prerequisites include `gh` CLI authentication, which uses existing user credentials.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2026-01-18

Tags

GitHubCLIRead-onlyMCPDeveloper Tools