Sign In

quartermaster-mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quartermaster-mcp

Offline, zero-config MCP proxy: federate N downstream servers behind one ranked retrieve_tools. Self-contained — no embedding model, no network.

latest
Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
9
-35.71%
Maintainers
1
Weekly downloads
 
Created
Source

quartermaster-mcp

A drop-in, offline MCP proxy that federates N downstream MCP servers behind a small set of meta-tools. The client loads three tools instead of every downstream schema.

Meta-toolFederated (servers)Static (tools)
retrieve_toolsranked shortlist + schemas + confidenceranked shortlist + confidence
call_toolforwards to the right downstreamnot available (discovery only)
list_serversconnected servers + tool countsnot available

Self-contained: the BM25/TF-IDF ranker, telemetry helpers, reporting CLI, eval runner, inspector, and dashboard are bundled into this one npm package. The only runtime dependency is the MCP SDK — no embedding model, no network, no API key.

npx quartermaster-mcp --config ./quartermaster.json

Idea

client ──► quartermaster-mcp ──► github-mcp
                  │         └──► jira-mcp
                  │         └──► slack-mcp
                  ▼
     retrieve_tools / call_tool / list_servers  (federated)
     retrieve_tools only                        (static manifest)

On a query, retrieve_tools returns the top-K relevant tools (offline BM25, no model). The host LLM picks one and invokes it through call_tool (federated mode).

Config

Spawn live downstream servers. ${VAR} is resolved from the environment at launch; an unset var fails fast:

{
  "servers": [
    {
      "id": "github",
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}" }
    }
  ],
  "synonyms": { "bug": ["issue"] },
  "k": 8
}

Optional ranker tuning (ranker block):

{
  "ranker": {
    "ranker": "bm25",
    "expansionWeight": 0.5,
    "marginThreshold": 0.15,
    "hintBoost": 0.1
  }
}

Federated deployments can re-poll downstream manifests:

{ "refreshIntervalMs": 300000 }

Exposes retrieve_tools, call_tool, and list_servers.

Static (discovery only)

A fixed tool manifest — useful for demos and ranking experiments. No call_tool (nothing to forward to):

{
  "tools": [
    { "name": "github.create_issue", "description": "Open a new issue in a repository" },
    { "name": "slack.post_message", "description": "Send a message to a Slack channel" }
  ],
  "synonyms": { "bug": ["issue"] },
  "k": 8
}

See examples/static-demo for a runnable static example.

Run

npx quartermaster-mcp --config ./quartermaster.json

The same package also installs the quartermaster product CLI:

npx -p quartermaster-mcp quartermaster report --audit audit.jsonl --out report.html
npx -p quartermaster-mcp quartermaster inspect --config quartermaster.json --audit audit.jsonl
npx -p quartermaster-mcp quartermaster eval --config quartermaster.json --cases eval.jsonl
npx -p quartermaster-mcp quartermaster dashboard --audit audit.jsonl

From a source checkout (after pnpm -r build):

node packages/proxy/bin/quartermaster-mcp.js --config ./quartermaster.json
node packages/proxy/bin/quartermaster.js report --audit audit.jsonl

Security

See SECURITY.md for the trust model and vulnerability reporting.

Keywords

mcp

FAQs

Package last updated on 29 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts