MCP server for dependency-ordered repository ingestion via qwen3-repo
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file forge_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: forge_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
099114ceef8ed9878984019b1db52f706ae95016a698f83e92ca38c3f3bc986d
|
|
| MD5 |
5549155e940df6ab30b099a3f1f949a4
|
|
| BLAKE2b-256 |
d0e2e92b607adf105df769450a36e322671c666dc5993fb4e267a9e1b7598f9f
|
Provenance
The following attestation bundles were made for forge_mcp_server-0.1.0.tar.gz:
Publisher:
publish.yml on ArkaD171717/forge-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
forge_mcp_server-0.1.0.tar.gz -
Subject digest:
099114ceef8ed9878984019b1db52f706ae95016a698f83e92ca38c3f3bc986d - Sigstore transparency entry: 1429849455
- Sigstore integration time:
-
Permalink:
ArkaD171717/forge-mcp-server@586cd00f9fc25ed3ae6792052ae8ea8ac9c7af64 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ArkaD171717
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@586cd00f9fc25ed3ae6792052ae8ea8ac9c7af64 -
Trigger Event:
release
-
Statement type:
File details
Details for the file forge_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: forge_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fdeacd2048203de9c11538f535c4a4e8bf20fa625a527c47c10df0e7c13155a
|
|
| MD5 |
bca6f5f73a4d2c7c63de0fd879fd8f63
|
|
| BLAKE2b-256 |
eda942e02978964c47d48c4a4b5158cb90d4e198dce3633203e2881055ae271f
|
Provenance
The following attestation bundles were made for forge_mcp_server-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on ArkaD171717/forge-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
forge_mcp_server-0.1.0-py3-none-any.whl -
Subject digest:
5fdeacd2048203de9c11538f535c4a4e8bf20fa625a527c47c10df0e7c13155a - Sigstore transparency entry: 1429849478
- Sigstore integration time:
-
Permalink:
ArkaD171717/forge-mcp-server@586cd00f9fc25ed3ae6792052ae8ea8ac9c7af64 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ArkaD171717
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@586cd00f9fc25ed3ae6792052ae8ea8ac9c7af64 -
Trigger Event:
release
-
Statement type: