Back to Browse

Facadec MCP Server

Developer ToolsModerate5.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

Compile fat MCP tool catalogs into search_tools, describe_tool, and call_tool.

About

Compile fat MCP tool catalogs into search_tools, describe_tool, and call_tool.

Security Report

5.2
Moderate5.2Moderate Risk

facadec is a legitimate MCP facade compiler with no data exfiltration, hardcoded secrets, or malicious patterns in the reviewed code. Its main considerations are by-design process spawning of upstream servers from config and forwarding of arbitrary call_tool arguments to those upstreams, which users should understand before enabling --live. Supply chain analysis found 4 known vulnerabilities in dependencies (2 critical, 1 high severity). Package verification found 1 issue.

11 files analyzed · 9 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

process_spawn

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "facadec": {
      "command": "npx",
      "args": [
        "-y",
        "facadec@0.1.0"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

facadec

CI npm Playground MCP Registry Glama

Facade Compiler for MCP

Turn a fat MCP tool catalog into three host-facing tools:

search_tools · describe_tool · call_tool

Live playground · npm · Tester feedback · Security

facadec playground


Why it exists

MCP makes wiring servers easy. It also dumps every tool schema into the prompt.

PainWhat happens
Token bloatDozens of schemas before the task starts
Sibling confusionsearch_issues vs search_code vs search_docs
Fragile selectionDemos pass; real catalogs miss

facadec treats that as a compiler + runtime problem: shrink what the model sees, keep upstream tools reachable, measure the cost.


Install

npm i -g facadec
facadec --help

From source:

git clone https://github.com/L00PLeGeNd/facadec.git
cd facadec
npm install
npm run build
npm run quickstart

Local playground (this web page)

npm install
npm run web:dev

Opens http://127.0.0.1:5173/.
Production-style preview: npm run web:build && npm run web:preview.


60-second Cursor path

  1. npm i -g facadec
  2. Copy examples/mcp.cursor.npm.json (or mcp.cursor.real.json for official multi-server)
  3. Fix the absolute config path
  4. Restart MCP → host lists exactly three tools
  5. Ask the agent to search, describe, then call

Handshake without the Cursor UI:

npm run verify:cursor

Measured compare

Synthetic 220 tools · 12 tasks · 3 runs · tokenizer gpt-tokenizer/cl100k_base

Full-path tokens = exposure + discovery + describe + call.

ArmHitTokens (mean)Exec success
Raw MCP100%~13 411100%
Lazy loading100%~404100%
facadec rules100%~649100%
facadec hybrid100%~711100%
npm run benchmark:compare

Report: bench/results/comparison-latest.md


How it works

upstream MCP / mocks
        │
        ▼
    collect → catalog
        │
        ▼
normalize → validate → analyze → select
  → rewrite → dedupe → consolidate → generate
        │
        ▼
search_tools / describe_tool / call_tool
        │
        ▼
  Cursor / any MCP host

Default retrieval is hybrid (BM25 recall + rules/schema rerank). Runtime keeps per-search surfaces, schema validation, timeouts, and permission gates.


Examples

ModeCommand
Offline mocknpm run serve
Live echonpm run serve:live
Echo + notesnpm run serve:multi
Real official MCPsnpm run collect:real then npm run serve:real

Real config wires @modelcontextprotocol/server-filesystem, server-memory, and server-everything behind one facade. Details: examples/README.md.


CLI

facadec collect        --config <path> [--live]
facadec compile        --config <path> --query <text> [--limit <n>] [--live]
facadec serve          --config <path> [--demo <query>] [--jsonl] [--live]
facadec benchmark      --config <path> --tasks <path>
facadec compare        (--config … --tasks … | --synthetic [n]) [--runs <n>] [--out <path>]
facadec retrieve-eval  [--tools <n>]

Not another router

Routers stop at retrieval. facadec also:

  • rewrites and dedupes tools
  • emits a stable three-tool facade
  • validates calls and gates dangerous names
  • publishes raw / lazy / facade cost compares

If you only have a handful of tiny tools, skip it. If the catalog is growing faster than the context window, this is the layer.


Looking for testers

Need 5–10 install → wire → real-task reports.


Status

0.2.0 — prove discovery, execution, and evaluation. Not an agent framework.

MIT · Changelog · Compatibility · Security

Reviews

No reviews yet

Be the first to review this server!