🧪FrankenMCP
🎃Kiroween 2026 Hackathon • Frankenstein Category

Suturing Incompatible MCP Servers into a Unified AI Agent

FrankenMCP stitches disparate, incompatible Model Context Protocol (MCP) servers into a single cohesive application. Using intelligent dynamic routing, it prunes bloated tool catalogs and selects only the tools required for each query.

Probing /api/health status...

Live router demo — 15 tools, no signup, no LLM.

Dynamic Routing Pipeline

How It Works

Eliminating context bloat by ensuring models only receive the exact tools needed for each turn.

💬Step 01

Natural Language Query

Users submit natural language intent in the chat interface—requesting arithmetic calculations, persistent notes, or task checklist operations.

Input → Chat Interface
⚡Step 02

Dynamic Router Pruning

The router indexes tool schemas using TF-IDF and BM25 token matching, matching the prompt against tool capabilities to select only the relevant tools.

TF-IDF + BM25 Matching
🎯Step 03

Dispatched Execution

Extracted arguments are dispatched to the designated MCP server, executing the tool and returning structured outputs directly into the conversational turn.

Tool Execution → Result Stream
Connected Services

Three Pre-Configured Demo Servers

15 distinct tools operational on startup across Notes, Tasks, and Calculator without any external dependencies.

📝5 tools

Notes Server

In-memory notebook store for managing persistent markdown notes and memos.

Tool Manifest
  • create_note

    Create a new note with a title and content

  • read_note

    Read a note by its unique identifier

  • update_note

    Update title or content of an existing note

  • delete_note

    Delete a note by its identifier

  • list_notes

    List all notes available in the local store

Transportin-process / stdio
✅5 tools

Tasks Server

Task checklist manager supporting priority tagging and completion tracking.

Tool Manifest
  • create_task

    Create a new task with title and optional priority

  • read_task

    Get task details by task ID

  • update_task

    Update task properties or completion status

  • delete_task

    Delete a task by ID

  • list_tasks

    List all tasks, optionally filtering by completion

Transportin-process / stdio
🧮5 tools

Calculator Server

Stateless mathematical computation engine and multi-category unit converter.

Tool Manifest
  • add

    Add two numbers (a + b)

  • subtract

    Subtract b from a (a - b)

  • multiply

    Multiply two numbers (a * b)

  • divide

    Divide a by b (a / b)

  • convert_units

    Convert length (m/ft/in), weight (kg/lb), or temperature (C/F)

Transportin-process / stdio
⚙️

Dual-Mode Architecture: Local & Serverless Ready

FrankenMCP runs identically in both local development and Vercel cloud environments without code changes: locally via stdio child processes, and in the cloud via zero-latency in-process adapters (no subprocess restrictions or cold start timeouts).

Local Environment

Spawns isolated Node.js child processes over stdio transports. Fully transparent process isolation for multi-process MCP server testing.

Vercel Serverless

Swaps child processes for memory-safe in-process adapters with 100% schema parity. Initialized in milliseconds with zero subprocess errors.