Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--warmNoPreloads a repo at startup, so the first call is instant.
--lockdownNoHides text from people who are not maintainers or in --allow-npub.
--read-onlyNoNo writing at all: removes ngit_connect and the signing tools. Always wins.
--state-dirNoWhere caches live (default ~/.local/state/ngit-mcp).
--allow-npubNoMarks extra people as trusted.
--signer-relayNoOverride the pairing relays.
--allow-signingNoEnables ngit_plan and ngit_commit from the start for the ngit account that is already logged in, with no pairing needed.
--no-local-pageNoFor servers that don't run on your computer: no 127.0.0.1 pairing or backup page. The QR still works, and newcomers are told their key is kept on that machine.
--repo-allowlistNoRefuses every other repo. Entries must use npub or naddr form.
--secret-storageNoPassed to ngit account login. Accepts auto, file, or git-config. Without an OS keychain the assistant asks before falling back to git-config.
--allow-local-gitNoLets ngit_pr_diff fetch over plain http from 127.0.0.1 or localhost, for a local GRASP server. Off by default, because PR clone URLs are chosen by whoever opened the PR.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Reading needs no setup. To post anything for the user (PR, comment, issue), call ngit_connect first if ngit_plan is not listed; it shows them how to connect, or sets up a new Nostr account, in the chat.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ngit_repoA

Repository metadata: name, maintainers (confirmed/invited), git servers, health, default branch tip.

ngit_listA

List pull requests or issues (default: open + draft). Text written by others is wrapped in tags.

ngit_getB

One PR or issue with its full comment thread (PRs include CI results in ci).

ngit_pr_diffB

The code change of a PR: diffstat + unified diff (merge-base..tip), fetched from its git servers.

ngit_activityB

What happened since a time: new PRs/issues, comments, status changes, PR updates (live). Use to watch for replies.

ngit_connectA

Connect the user's Nostr identity. Call with no arguments, show say (and the QR, or qr_text if you cannot show images), then wait_s=50 until connected. For a new user, pass name and then email as say asks (email="" to skip). Never ask for, accept or repeat an nsec.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 6 tools

Disambiguation4/5

The tools mostly target distinct resources and actions: repo metadata, listing, single-item retrieval, PR diff, activity feed, and identity connection. The boundary between ngit_list (current open/draft PRs and issues) and ngit_activity (changes since a timestamp) could be confused, but descriptions help clarify.

Naming Consistency4/5

All names share the same ngit_ prefix and snake_case style, making them readable and predictable. However, the suffix pattern mixes verbs (list, get, connect) and nouns (repo, activity, pr_diff), so it is not a strict verb_noun convention throughout.

Tool Count5/5

Six tools is well-scoped for a PR/issue browsing and monitoring server, with each tool covering a distinct capability. There is no obvious redundancy or bloated surface.

Completeness3/5

The surface covers repo metadata, listing/fetching PRs and issues, PR diffs, activity monitoring, and identity connection. But it appears read-only: there are no tools to create issues/PRs, comment, update status, or merge, which are notable gaps for a collaboration workflow.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues