# GitHub (Local)

{% hint style="warning" %}
**Early Access** — Reach out to your Natoma representative for access.
{% endhint %}

**Type:** Community

**Source Type:** Local Package

**Source:** [npm](https://www.npmjs.com/package/github-local-mcp)

**Description:** GitHub (Local) MCP server is a stdio-based GitHub MCP server that runs locally. It uses your existing `gh` CLI authentication, so no token configuration is required in Natoma.

***

## Setup

### Prerequisites

The host running the MCP server must have the [GitHub CLI](https://cli.github.com/) installed and authenticated (`gh auth login`). The server inherits whichever account is currently logged in.

For a hosted GitHub MCP server with explicit credentials, use **GitHub** (PAT) or **GitHub (OAuth)**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.natoma.ai/apps/github-stdio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
