Git on Nostr via gittr.space: repos, push, issues, PRs, stars, bounties. Nostr identity (NIP-34).
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Let your AI agent (or app) use gittr β Nostr git hosting β like a developer would β create repos, push code, open and merge pull requests, manage issues, and work with Lightning bounties β using your Nostr identity, not a GitHub login.
Works with Cursor, Claude Desktop, VS Code / Copilot MCP, Windsurf, OpenClaw, or any host that speaks the Model Context Protocol over stdio.
Docs hub: gittr-docu β product map and how this MCP sits next to the website.
This repoβs Page: root index.html. After Push Manifest, save site name gittr-mcp.
| Without gittr-mcp | With gittr-mcp |
|---|---|
| You copy-paste between chat and the gittr website | The agent calls tools: push files, publish repo metadata, open issues/PRs |
| Custom scripts for NIP-98 bridge auth and NIP-34 signing | Signing, challenge handling, and relay checks are built in |
| Unclear whether a push βreallyβ landed on Nostr | Tools return pass/fail plus verification / nextSteps for automation |
End result: one MCP server connects your agent to decentralized git on Nostr β same account as on gittr.space (nsec / keys file), no separate vendor account for the agent.
Hosting note: The website Create/Import flow stays browser-local until announce/Push. MCP createRepo / mirrorRepo / pushToBridge do write the bridge when you want hosted git β put https://git.gittr.space/β¦ in clone[]. Soft-delete POSTs the tombstone to the bridge so disk is wiped.
gittr-mcp is the agent door into the same platform humans use in the browser. You are here = gittr-mcp (this repo, teal). Cyan-outlined host boxes = public hostnames (git. / pages. / relay.gittr.space) (teal = this repo; cyan outline = host URLs).
| Piece | Host / link | How MCP uses it |
|---|---|---|
| gittr Client | gittr on gittr.space Β· gittr.space | Same product; MCP mirrors forge actions (repos, issues, PRs, bounties) |
| gitnostr Bridge | gitnostr on gittr.space Β· git.gittr.space | pushToBridge, file list, merge clones over HTTPS |
| Pages / nsite | nsite-gateway Β· pages.gittr.space | Out of band for most MCP git tools |
| Blossom | gittr-blossom Β· blossom.gittr.space | Blob storage Pages uploads land on |
| gittr Pyramid relay | pyramid Β· relay.gittr.space | Prefer in relay lists when publishing NIP-34 |
| β gittr-mcp (this README) | gittr-mcp on gittr.space | You are here |
| git remote nostr | ngit-cli | Not required for MCP; agents usually use bridge HTTPS + events |
Addressing for agents: resolveRepoByNostrId(npub|hex, repo) β cloneUrl + relays. Prefer announced npub-path HTTPS on git.gittr.space (NIP-34); hex path is a disk fallback if a symlink is missing. Include wss://relay.gittr.space when publishing.
These are the processes people actually run; each maps to MCP tools the agent can call.
createRepo β push initial files to the bridge and publish Nostr kinds 30617 + 30618 in one step (best default for agents).publicRead: false to create a private repo (code/clone/API/SSH readable only by you and listed maintainers). The announcement name/description still appear on relays β only file access is gated.pushToBridge β publishRepoAnnouncement β publishRepoState.publicRead: false on createRepo, publishRepoAnnouncement, forkRepo, or mirrorRepo.addCollaborator or Settings β Contributors on gittr.space).pushToBridge β update files on a branch (NIP-98 auth to gittr bridge); optional deletedPaths / allowTreeShrink for file or folder deletes (parity with Code-tab trash).getFile, bridgeListFiles, bridgeGetFileContent, getBranches, getCommitHistory β read without cloning. getFile is the bridge, then a short GRASP list β not the Code tab. On the website: latest live 30617; forge source is the tree when present (stale bridge listing is replaced); otherwise first non-empty clone[] listing. See MCP-GITTR-PARITY.md and gittr FILE_FETCHING_INSIGHTS.md.resolveRepoByNostrId β find clone URLs and relays from npub + repo name.listIssues, createIssue, getIssueByIdlistIssueComments, createIssueComment β NIP-22 kind 1111 (same tags as gittr issue threads). Does not touch bounties.closeIssue, reopenIssue β publish NIP-34 status events (1632 / 1630) for a 64-char Nostr event id. GitHub/Gitea imported issue-12 / pr-12 (and a bare 12) are refused β close those on the origin.| Step | Tool | Notes |
|---|---|---|
| List / open PR | listPRs, createPR | Signed Nostr events (kind 1618). |
| Comment on PR | listPRComments, createPRComment | NIP-22 kind 1111. |
| Full PR with git branches | createPRViaGittrCLI | Recommended when the agent has git on PATH. |
| Update PR tip | updatePullRequest | New commit + clone URLs on the PR event. |
Merge into main | mergePullRequest | Real git merge of a Nostr PR (kind 1618 event id): clone/fetch, merge, push bridge, publish 30618 + merged status 1631. Forge pr-N is refused. Repo owner or listed maintainer; git required. |
| Mark merged (Nostr only) | markPullRequestMerged | Status only β no git merge. |
Honest limits on PRs: Creating and listing PRs via MCP is supported. Merging needs git installed and permission on the repo. Some relays are strict about clone URL + relay matching in repo announcements β if PR publish fails, fix metadata (see Limitations) or use createPRViaGittrCLI. Details: docs/DEVELOPER.md#limitations.
forkRepo β fork an existing gittr repo under your key.mirrorRepo β copy from GitHub/GitLab URL to gittr.importRemoteToBridge β server-side import/refetch into bridge storage.listRepos, searchRepos, myRepos, exploreRepos, getTrendingRepos (trending = recent repos, not engagement rank)starRepo, unstarRepo, listStars β NIP-25 on the repoβs 30617 event (same as gittr Star button).watchRepo, unwatchRepo, listWatchedRepos β NIP-51 kind 10018 followed-repo list (same as gittr Watch).getRepoContributorsParity details: docs/MCP-GITTR-PARITY.md β what matches gittr.space vs caveats.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gittr-mcp)<a href="https://allmcps.com/mcp/gittr-mcp"><img src="https://allmcps.com/api/badge/gittr-mcp?style=directory" alt="Gittr MCP on AllMCPs" /></a>