Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Forges

MCP server by agntn Verified · npm:@agntn

Gives AI assistants one API for repositories, issues and pull requests on GitHub, GitLab, Gitea, GitBucket and Cloudflare Artifacts. Built for developers and agents that work across several Git hosts.

  • Score 79
  • 11 stars
  • 547 a week
  • MIT
  • Updated

Install Forges

Built from the published package, never by AI.

claude mcp add forges -- npx -y @agntn/forges

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Forges in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the forges block.

About

@agntn/forges is an MCP server, CLI and TypeScript library with one API for GitHub, GitLab, Gitea, GitBucket and Cloudflare Artifacts. The same calls, such as repos.get and pullRequests.list, return the same types on every forge, so a GitHub pull request and a GitLab merge request are handled the same way. A local Git module can inspect a checkout and check whether a merge commit is in the target branch's history.

It exposes 59 agent tools through MCP, Pi, OMP and a CLI, and 14 of them write to the host. If no token is passed, it looks for one in an explicit value, the environment, the gh or glab CLI, or the CLI config file. It suits developers and agents that review code across several Git hosts.

Written from the project's README and checked against it.

Tools it gives your assistant

  • forges_repos_getReads a repository's full name, description and default branch.
  • forges_users_authenticatedShows which account is signed in, so you can check identity before writes.

What you need

  • Node.js 26 or newer
  • Git on PATH for the local checkout helpers
  • An access token for each forge, or a logged-in gh or glab CLI

Try asking

  • Show the description and default branch of octocat/Hello-World
  • Check which account I am signed in as before making changes
  • Find open bug issues across the agntn repositories

Good to know

  • 14 of the 59 tools write to the host
  • Code search on Gitea returns a 501 error, not an empty result
  • Cloudflare Artifacts has no issues, so issue calls return a 501
  • Branch management, release assets, webhooks and organization administration are out of scope

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Forges

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Forges: common questions

Which Git hosts does @agntn/forges support?

The source lists GitHub, GitLab, Gitea (including Forgejo and Codeberg through baseURL), GitBucket and Cloudflare Artifacts.

How does it find an access token?

It checks an explicit token value first, then the environment, then the gh or glab CLI, then the CLI config file, and the first hit is used.

What happens when a forge does not support a method?

The call throws a ForgesError with status 501 instead of returning an empty result.

How do I install Forges?

In Claude Code run claude mcp add forges -- npx -y @agntn/forges. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Forges the official server?

Forges is published by npm:@agntn from its verified domain in the official MCP Registry.

Is Forges free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Forges safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Forges?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Forges work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Forges Install

Add to stack

Loading.