vinkius-labs/mcp-fusion

๐Ÿ› ๏ธ Other Tools and Integrations
0 Views
0 Installs

๐Ÿ“‡ - A TypeScript framework for building production-ready MCP servers with automatic tool discovery, multi-transport support (stdio/SSE/HTTP), built-in validation, and zero-config setup.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "vinkius-labs-mcp-fusion": {
      "command": "npx",
      "args": [
        "-y",
        "vinkius-labs-mcp-fusion"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

MCP FUSION

The TypeScript framework for secure MCP servers.

npm version Downloads TypeScript MCP Standard License llms.txt

MCP Fusion is a TypeScript framework that enforces security at the architectural level of every MCP server. Raw data never reaches the LLM without passing through a typed egress firewall. Tools are physically removed from the agent's namespace when the workflow state forbids them. Every behavioral surface is hashed, locked, and auditable in version control.

The framework ships with a SKILL.md โ€” a machine-readable architectural contract. AI coding agents read the Skill and produce correct, governed servers on the first pass.


The Skill โ€” AI Writes the Server

MCP Fusion includes a SKILL.md that encodes the entire MVA architecture, security patterns, and governance rules into a format AI coding agents consume directly.

Open your project in Cursor, Claude Code, GitHub Copilot, or Windsurf and describe what you need:

"Build an MCP server for patient records with Prisma. Redact SSN and diagnosis from LLM output. Gate discharge tools until attending physician signs off."

The agent reads the Skill. It produces defineModel() declarations with m.hidden() for sensitive fields, definePresenter() with .redactPII(['*.ssn', '*.diagnosis']) for DLP compliance, FSM state gating via .bindState() for workflow enforcement, and file-based routing under src/tools/. You review the PR.

The Skill is not documentation. It is the security contract. Every server the AI produces inherits the governance stack because the Skill encodes Presenters, state machines, and lockfile generation as mandatory structural patterns.

๐Ÿ“„ SKILL.md ยท llms.txt (complete API reference for LLM consumption)


Security Architecture

Egress Firewall โ€” Presenter

The Presenter validates every response through a Zod schema compiled from defineModel(). Undeclared fields are stripped in RAM before serialization. PII is redacted via V8-optimized fast-redact compiled functions. Rules travel with data, not in the system prompt. The Late Guillotine pattern applies redaction after UI blocks render โ€” charts and suggestions always see full data, the wire never does.

const PatientPresenter = createPresenter('Patient')
    .schema(PatientModel)
    .redactPII(['*.ssn', '*.diagnosis'])
    .rules((p) => [
        p.status === 'critical' ? 'PRIORITY: Patient is critical.' : null,
    ])
    .suggest((p) => p.status === 'admitted'
        ? [suggest('ward.discharge', 'Begin discharge protocol')]
        : []);

The Presenter also runs a PromptFirewall โ€” an LLM-as-Judge that evaluates dynamically generated system rules for prompt injection before they reach the agent. Fail-closed by default.

State Gate โ€” FSM

Tools bound to FSM states are physically removed from tools/list when the current state does not match. The LLM cannot call what does not exist in its namespace. Powered by XState v5 with manual fallback when XState is not installed.

const gate = f.fsm({
    id: 'discharge', initial: 'admitted',
    states: {
        admitted:    { on: { PHYSICIAN_SIGNOFF: 'approved' } },
        approved:    { on: { DISCHARGE: 'discharged' } },
        discharged:  { type: 'final' },
    },
});

export default f.mutation('ward.discharge')
    .bindState('approved', 'DISCHARGE')
    .handle(async (input, ctx) => ctx.db.patients.discharge(input.id));
StateVisible tools
admittedward.view, ward.update_vitals
approvedward.discharge, ward.view
dischargedward.view

Serverless-compatible: FsmStateStore persists state to Redis/KV across request boundaries. Each request gets an isolated gate.clone().

Governance Stack

Eight introspection modules that make behavioral changes visible and auditable:

ModuleWhat it does
ToolContractMaterializes the complete behavioral surface of each tool
BehaviorDigestSHA-256 hash of the behavioral surface
CapabilityLockfilemcpfusion.lock โ€” git-diffable behavioral snapshot, CI gate via fusion lock --check
CryptoAttestationHMAC-SHA256 runtime verification โ€” fail-fast if behavioral digest drifts
ContractDiffPer-field diff between lockfile versions
EntitlementScannerStatic analysis of handler source for I/O capabilities (fs, network, subprocess, eval) with evasion heuristics
SemanticProbeLLM-as-Judge for detecting semantic drift in handler output
TokenEconomicsContext window inflation risk profiling

Sandbox

SandboxEngine executes LLM-provided JavaScript in a sealed V8 isolate. No process, require, fs, or network access. One isolate per engine, fresh empty context per execution. Memory-limited, timeout-enforced, output-capped, abort-signal-compatible.


Three Pathways

1. YAML โ€” Zero Code

version: "1.0"
server:
  name: "github-tools"

connections:
  github:
    type: rest
    base_url: "https://api.github.com"
    auth:
      type: bearer
      token: "${SECRETS.GITHUB_TOKEN}"

tools:
  - name: search_repos
    description: "Search GitHub repositories"
    instruction: "Use for finding projects by topic or keyword."
    rules:
      - "Max 10 results per query"
    parameters:
      query: { type: string, required: true }
    execute:
      connection: github
      method: GET
      path: "/search/repositories"
      query: { q: "{{query}}", per_page: "10" }
    response:
      extract: ["items[].{full_name, description, stargazers_count, html_url}"]
mcpfusion yaml dev

2. Typed MVA โ€” Full Control

export const InvoiceModel = defineModel('Invoice', m => {
    m.casts({
        id:           m.string(),
        amount_cents: m.number('CRITICAL: in CENTS. Divide by 100 for display.'),
        status:       m.enum('Status', ['paid', 'pending', 'overdue']),
    });
    m.hidden(['password_hash', 'internal_margin']);
});

export const InvoicePresenter = definePresenter({
    name: 'Invoice',
    schema: InvoiceModel,
    suggestActions: (inv) => inv.status === 'pending'
        ? [{ tool: 'billing.pay', reason: 'Process payment', args: { id: inv.id } }]
        : [],
});

export default f.query('billing.get_invoice')
    .describe('Get an invoice by ID')
    .withString('id', 'Invoice ID')
    .returns(InvoicePresenter)
    .handle(async (input, ctx) => ctx.db.invoices.findUnique({ where: { id: input.id } }));

3. FSM โ€” Deterministic Workflow Enforcement

State-gated tool discovery. Tools appear and disappear based on the current state.


Get Started

npx @mcpfusion/core create my-server
cd my-server && npm run dev

File-based routing โ€” drop a file, restart, and it's a live MCP tool:

src/tools/
โ”œโ”€โ”€ billing/
โ”‚   โ”œโ”€โ”€ get_invoice.ts  โ†’ billing.get_invoice
โ”‚   โ””โ”€โ”€ pay.ts          โ†’ billing.pay
โ””โ”€โ”€ users/
    โ””โ”€โ”€ list.ts         โ†’ users.list

Deploy

mcpfusion deploy                  # Vinkius Edge (V8 Isolate)
vercel deploy                # Vercel Functions
wrangler deploy              # Cloudflare Workers

Scaffold

mcpfusion create my-server                           # Vanilla
mcpfusion create my-api --vector prisma              # Prisma + field-level security
mcpfusion create ops-bridge --vector n8n             # n8n workflow bridge
mcpfusion create petstore --vector openapi           # OpenAPI โ†’ MCP
mcpfusion create my-server --target vercel --yes     # Vercel Functions
mcpfusion create my-server --target cloudflare --yes # Cloudflare Workers

Ecosystem

Core

PackagePurpose
@mcpfusion/coreFramework core โ€” Presenters, Fluent API, middleware, routing, governance
@mcpfusion/yamlDeclarative YAML engine
@mcpfusion/swarmMulti-agent orchestration โ€” HMAC-SHA256 delegation, namespace isolation, W3C tracing
@mcpfusion/a2aA2A Protocol Bridge โ€” Agent Cards, task delegation
@mcpfusion/skillsProgressive SKILL.md disclosure for agents
@mcpfusion/testingIn-memory MVA pipeline testing
@mcpfusion/inspectorReal-time TUI dashboard

Adapters

PackageTarget
@mcpfusion/vercelVercel Functions (Edge / Node.js)
@mcpfusion/cloudflareCloudflare Workers

Generators & Connectors

PackagePurpose
@mcpfusion/openapi-genOpenAPI 3.x / Swagger 2.0 โ†’ MCP tools
@mcpfusion/prisma-genPrisma schema โ†’ CRUD tools with field-level security
@mcpfusion/n8nn8n workflows โ†’ MCP tools
@mcpfusion/awsAWS Lambda & Step Functions โ†’ MCP tools

Security & Auth

PackagePurpose
@mcpfusion/oauthRFC 8628 Device Flow
@mcpfusion/jwtJWT verification โ€” HS256 / RS256 / ES256 + JWKS
@mcpfusion/api-keyAPI key validation with timing-safe comparison

Ship Your MCP Server to the Same Infrastructure โ€” Free

Your server runs alongside Salesforce, Stripe, OpenAI, and 4,000+ others. V8 sandbox isolation, DLP, audit trails, and kill switch โ€” all included. No credit card required.

  1. Sign up at vinkius.com
  2. Create an App Connector in the dashboard
  3. Copy your deploy token from the connector settings
  4. Build your MCP server with MCP Fusion
  5. Deploy
mcpfusion deploy

Your MCP server is live.

Powering Vinkius โ€” 4,000+ MCP Servers in Production

Every MCP server on vinkius.com is built with MCP Fusion.

Salesforce (12 tools), Slack (8 tools), Stripe, OpenAI, Gmail, WhatsApp Business, Instagram, PayPal, CrowdStrike Falcon, SAP S/4HANA, Workday, DocuSign, Zendesk, Okta, Twilio, Tableau, HubSpot, Shopify, WooCommerce, Airbnb, Tesla Fleet API, NVIDIA AI, Mistral AI, Anthropic, Box, Meta Ads, X Ads, Reddit, Notion, Supabase, Pinecone, Datadog, Sentry โ€” and thousands more.

Four verticals. 36+ subcategories. All governed.

AI Stack โ€” Cognition & RAG, Code Execution, Databases, Observability, DevOps, AI Models, Agent Coordination, Security, Payments & Infra.

Enterprise โ€” CRM, ERP, HR, Legal & Compliance, Customer Support, Marketing, BI & Analytics, Identity & IAM, Communications, E-Commerce, Accounting, Project Management.

Industries โ€” Hospitality, Healthcare, Energy & Commodities, Construction, Real Estate, Agriculture, Wine & Spirits, Education, Logistics, Insurance, Fitness, Travel.

World Data โ€” Economy & Finance, Central Banks, Securities & Markets, Weather & Climate, Demographics, Space & Astronomy, Health & Medicine, Environment, Energy, Food & Nutrition, Government, Trade & Labor.

Every server runs inside V8 isolate sandboxes on AWS. Ed25519 signed audit chains. Sub-40ms cold starts. DLP redaction on every response. Kill switch for instant shutdown. Every tool call logged and auditable.

vinkius.com/discover โ€” Browse the catalog. vinkius.com/developers โ€” Build your own with MCP Fusion.

Documentation

mcpfusion.vinkius.com ยท llms.txt ยท SKILL.md

Contributing

See CONTRIBUTING.md for development setup and guidelines.

Security

See SECURITY.md for reporting vulnerabilities.

License

Apache 2.0

Related MCP Servers

modelcontextprotocol/server-everythingVerified

๐Ÿ“‡ ๐Ÿ  - MCP server that exercises all the features of the MCP protocol

๐Ÿ› ๏ธ Other Tools and Integrations1 views
0xMassi/webclaw

๐Ÿฆ€ ๐Ÿ  ๐ŸŽ ๐Ÿง - Web content extraction for AI agents. 10 tools: scrape, crawl, map, batch, extract, summarize, diff, brand, search, research. TLS fingerprinting bypasses anti-bot without a browser. 67% fewer tokens than raw HTML. npx create-webclaw auto-configures Claude, Cursor, Windsurf, Codex, OpenCode.

๐Ÿ› ๏ธ Other Tools and Integrations0 views
2niuhe/plantuml_web

๐Ÿ ๐Ÿ  โ˜๏ธ ๐ŸŽ ๐ŸชŸ ๐Ÿง - A web-based PlantUML frontend with MCP server integration, enable plantuml image generation and plantuml syntax validation.

๐Ÿ› ๏ธ Other Tools and Integrations0 views
2niuhe/qrcode_mcp

๐Ÿ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - A QR code generation MCP server that converts any text (including Chinese characters) to QR codes with customizable colors and base64 encoding output.

๐Ÿ› ๏ธ Other Tools and Integrations0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.