Skip to main content

forge-mcp-server

MCP server for dependency-ordered repository ingestion. Wraps qwen3-repo as two MCP tools that any MCP-compatible client can call.

Works with LobeChat, LibreChat, AnythingLLM, Claude Desktop, and any other MCP client.

Tools

ingest_local_repo

Ingest a local directory into a dependency-ordered context pack.

Parameter Type Default Description
path string (required) Absolute path to the repository directory
max_tokens int 64000 Maximum token budget for the context pack
model string Qwen3.6-27B Model name for tokenizer budget calculation

ingest_remote_repo

Clone and ingest a remote git repository.

Parameter Type Default Description
url string (required) Git URL to clone
branch string "" Branch to clone (empty = default branch)
max_tokens int 64000 Maximum token budget for the context pack
model string Qwen3.6-27B Model name for tokenizer budget calculation

Installation

pip install forge-mcp-server

Or with uvx (no install needed):

uvx forge-mcp-server

Configuration

Add to your MCP client config (e.g. Claude Desktop, LobeChat, LibreChat, AnythingLLM):

{
  "mcpServers": {
    "forge-repo-ingest": {
      "command": "forge-mcp-server"
    }
  }
}

Or with uvx:

{
  "mcpServers": {
    "forge-repo-ingest": {
      "command": "uvx",
      "args": ["forge-mcp-server"]
    }
  }
}

Development

pip install -e ".[dev]"
pytest

License

Apache-2.0

Metadata

Release files for forge-mcp-server 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for forge-mcp-server 0.1.0
File Size Uploaded Provenance Actions
forge_mcp_server-0.1.0.tar.gz 7.5 kB With provenance Details for forge_mcp_server-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for forge-mcp-server 0.1.0
File Interpreter ABI Platform Actions
forge_mcp_server-0.1.0-py3-none-any.whl Python 3 none any Details for forge_mcp_server-0.1.0-py3-none-any.whl

Total release size: 14.9 kB

Release files / forge_mcp_server-0.1.0.tar.gz

Download URL forge_mcp_server-0.1.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
099114ceef8ed9878984019b1db52f706ae95016a698f83e92ca38c3f3bc986d
BLAKE2b-256 checksum
How to use checksums
d0e2e92b607adf105df769450a36e322671c666dc5993fb4e267a9e1b7598f9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

Release files / forge_mcp_server-0.1.0-py3-none-any.whl

Download URL forge_mcp_server-0.1.0-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fdeacd2048203de9c11538f535c4a4e8bf20fa625a527c47c10df0e7c13155a
BLAKE2b-256 checksum
How to use checksums
eda942e02978964c47d48c4a4b5158cb90d4e198dce3633203e2881055ae271f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

Security for forge-mcp-server 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for forge_mcp_server-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page