About Forgemax
Forgemax is an MCP server published by postrv in the Developer Tools category: code Mode inspired local sandboxed MCP Gateway - collapses N servers x M tools into 2 tools (~1,000 tokens). Conduid read 5 tools from its source: echo, execute, math.add, search and symbols.find. No package is published for it, so it installs from a source checkout.
The repository has 159 stars and 11 forks, and its last commit was on 27 Nov 2026. The latest release is v0.6.1 (9 Oct 2026): Security maintenance for Forgemax, with updated dependencies, hardened credential and worker handling, and verified installers. It follows v0.6.0 (14 May 2026), and the 5 most recent releases go back to v0.4.2 (7 Mar 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include gateway, mcp-gateway, tool-calling and tool-use.
Install
git clone https://github.com/postrv/forgemaxTools (5)
echoEcho a message back unchangedexecuteExecute JavaScript against the tool API. Use `forge.server('name').category.tool(args)` or `forge.callTool(server, tool, args)` to call tools on connected servers. Chain multiple operations in a single call. IMPORTANT: Code runs in a sandboxed V8 isolate with NO filesystem, network, or module access. import(), require(), eval(), and Deno.* are all blocked. Use forge.callTool() for all external operations. Example: `async () => { const result = await forge.callTool('narsil', 'scan_security', { repo: 'MyProject' }); return result; }` Additional APIs: - `forge.readResource(server, uri)` — read MCP resources - `forge.stash.put(key, value, {ttl?})` / `.get(key)` / `.delete(key)` / `.keys()` — session key-value store - `forge.parallel(calls, opts)` — bounded concurrent execution Always check tool input_schema via search() before calling unfamiliar tools.math.addAdd two numbers togethersearchSearch the capability manifest to discover available tools across all connected servers. The manifest is available as `globalThis.manifest` with servers, categories, and tool schemas. Write a JavaScript async arrow function to query it. Manifest structure: manifest.servers is an Array of {name, description, categories}. IMPORTANT: categories is an Object keyed by name (NOT an array) — use Object.entries() or Object.values() to iterate. Each category has a .tools Array with {name, description, input_schema}. Check input_schema for required parameters before calling a tool. Example: `async () => { const s = manifest.servers[0]; return Object.entries(s.categories).map(([name, cat]) => ({ name, tools: cat.tools.map(t => t.name) })); }`symbols.findFind symbol definitions matching a patternSecurity checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.3K words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by Cargo.lock.
- !No dynamic code executionScanned 41 source files and found 16 calls to eval or shell execution, in crates/forge-cli/src/cmd/run.rs:189, crates/forge-sandbox/src/ast_validator.rs:858 and crates/forge-sandbox/src/validator.rs:17 among others. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- 10 callscrates/forge-cli/src/cmd/doctor.rs:305, crates/forge-cli/src/cmd/doctor.rs:334, crates/forge-client/src/lib.rs:238
- Outbound network calls
- 10 callscrates/forge-client/src/lib.rs:104, crates/forge-client/src/lib.rs:114, crates/forge-client/src/lib.rs:115
- Writes or deletes files
- 41 callscrates/forge-cli/build.rs:18, crates/forge-cli/src/cmd/doctor.rs:722, crates/forge-cli/src/cmd/doctor.rs:724
- Lockfile
- Cargo.lock
Pattern matches on the source text of 41 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.3K words, fetched a month ago. The original in the repository is authoritative.
Read full README