Skip to content
PluginStats

@vibe-agent-toolkit/gateway-mcp weekly downloads statistics

By vibe-agent-toolkit · npm · MCP servers

MCP Gateway for exposing VAT agents through Model Context Protocol

View on npm Stale · Oct 18, 2026

@vibe-agent-toolkit/gateway-mcp has 5,314 recorded weekly downloads on npm, a decrease of 17.8% over the past 30 days.

Weekly downloads
5,314
Official API · Oct 18, 2026
7-day growth
-36.4%
-3K weekly downloads
30-day growth
-17.8%
-1.2K weekly downloads
90-day growth
+97.3%
+2.6K weekly downloads
Rank
—
Among tracked npm listings

About @vibe-agent-toolkit/gateway-mcp

@vibe-agent-toolkit/gateway-mcp

MCP Gateway for exposing VAT agents through the Model Context Protocol, enabling orchestration by LLM systems like Claude Desktop.

Features

  • Stdio Transport - Native integration with Claude Desktop and other MCP clients
  • Stateless Agent Support - Pure Function Tools and One-Shot LLM Analyzers
  • Multi-Agent Servers - Expose multiple agents through a single MCP server
  • Runtime Agnostic - Works with any VAT runtime adapter (Vercel AI SDK, OpenAI, LangChain, Claude Agent SDK)
  • Type-Safe - Full TypeScript support with branded session IDs
  • Error Classification - Distinguishes retryable vs non-retryable errors for intelligent retry logic
  • Observability Ready - Hooks for OpenTelemetry integration (console logger included)

Installation

# Using bun
bun add @vibe-agent-toolkit/gateway-mcp

# Using npm
npm install @vibe-agent-toolkit/gateway-mcp

# Using pnpm
pnpm add @vibe-agent-toolkit/gateway-mcp

Quick Start

Single Agent Server

Expose a single VAT agent via MCP stdio transport:

import { StdioMCPGateway, NoOpObservabilityProvider } from '@vibe-agent-toolkit/gateway-mcp';
import { haikuValidator } from '@vibe-agent-toolkit/vat-example-cat-agents';

const gateway = new StdioMCPGateway({
  name: 'haiku-validator-server',
  version: '1.0.0',
  agents: [
    {
      name: 'haiku-validator',
      agent: haikuValidator,
      runtime: null, // Pure function, no runtime needed
    },
  ],
  observability: new NoOpObservabilityProvider(),
});

await gateway.start();

Run with:

bun run my-server.ts
Multi-Agent Server

Expose multiple agents through one MCP server:

import { StdioMCPGateway, NoOpObservabilityProvider } from '@vibe-agent-toolkit/gateway-mcp';
import { haikuValidator, photoAnalyzer } from '@vibe-agent-toolkit/vat-example-cat-agents';

const gateway = new StdioMCPGateway({
  name: 'vat-agents',
  version: '1.0.0',
  agents: [
    {
      name: 'haiku-validator',
      agent: haikuValidator,
      runtime: null, // Pure function
    },
    {
      name: 'photo-analyzer',
      agent: photoAnalyzer,
      runtime: null, // Mock mode
    },
  ],
  observability: new NoOpObservabilityProvider(),
});

await gateway.start();

Claude Desktop Configuration

Add to ~/.claude/config.json:

{
  "mcpServers": {
    "vat-agents": {
      "command": "bun",
      "args": ["run", "/absolute/path/to/your/server.ts"]
    }
  }
}

Notes:

  • Use absolute paths (Claude Desktop doesn't expand ~ or relative paths)
  • Restart Claude Desktop after updating config
  • Check logs in Claude Desktop developer console if server doesn't connect

Architecture Overview

Design Principles
  1. MCP is an interface, not a runtime - Gateway exposes agents but doesn't execute them
  2. Gateway discovers configured agents - System startup registers agents, gateway provides access
  3. Respect runtime patterns - Each runtime manages state its own way (LangGraph checkpointers, OpenAI threads, etc.)
  4. Archetype-aware - Different agent types need different interface patterns (stateless vs stateful)
  5. Separation of concerns - MCP handles protocol translation and routing, runtimes handle execution and state
Layers
┌─────────────────────────────────────────────────┐
│  External Systems (Claude Desktop, etc.)        │
└─────────────────────────────────────────────────┘
                      ↓
┌─────────────────────────────────────────────────┐
│  Interface Layer (Gateway)                      │
│  ├─ MCP Server (stdio/HTTP)                     │
│  └─ Stateless Adapter                           │
└─────────────────────────────────────────────────┘
                      ↓
┌─────────────────────────────────────────────────┐
│  VAT Agents (business logic)                    │
│  ├─ Pure Function Tools                         │
│  └─ One-Shot LLM Analyzers                      │
└─────────────────────────────────────────────────┘
Stdio Protocol Compliance

Critical constraint for Claude Desktop integration:

  • stdout - JSON-RPC protocol messages ONLY (MCP spec requirement)
  • stderr - All logs, debug output, errors
  • Process lifetime - Server runs until stdin closes (natural stdio connection lifetime)

Violating stdout purity breaks MCP clients with JSON parse errors. All logging infrastructure must write to stderr.

Package-Scoped Collections

Agents are discovered via npm package exports:

// Package: @my-scope/my-agents
// Export: /mcp-collections

export const myAgents: MCPCollection = {
  name: 'my-agents',
  description: 'My agent collection',
  agents: [
    { name: 'agent-1', agent: agent1, description: '...' },
    { name: 'agent-2', agent: agent2, description: '...' },
  ],
};

export const collections: Record<string, MCPCollection> = {
  'my-agents': myAgents,
};

export const defaultCollection = myAgents;

CLI command: vat mcp serve @my-scope/my-agents

Future Enhancement: Global discovery registry with versioning.

Key Concepts

Gateway is Passive - Agents are already instantiated with their runtimes. The gateway discovers them and exposes them via MCP protocol.

Archetype-Aware - Different agent archetypes map to different MCP patterns (stateless tools, conversational agents, orchestrations, etc.)

Runtime Separation - MCP handles protocol translation and routing. Runtimes handle execution and state management.

Supported Archetypes

Pure Function Tool

Archetype: pure-function-tool

Direct synchronous functions with no LLM calls or external state.

MCP Mapping:

  • One MCP tool = One VAT agent
  • No session state
  • Direct pass-through execution

Example: Haiku validator

One-Shot LLM Analyzer

Archetype: one-shot-llm-analyzer

Single LLM call to analyze input and return structured output.…

Description from the npm listing.

  • mcp
  • model-context-protocol
  • agents
  • vat

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@vibe-agent-toolkit/gateway-mcp weekly downloads on npm, last 90 days: 5,314 weekly downloads as of Oct 18, 2026, +97.3% over 90 days.@vibe-agent-toolkit/gateway-mcpWeekly downloads on npm · Last 90 days5,314downloads / week+97.3% over 90 days02K4K6K8K10K12K14K16KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 24, 2026 – Oct 18, 2026 · 87 observations · Updated Oc…pluginstats.com
@vibe-agent-toolkit/gateway-mcp weekly downloads on npm, last 90 days: 5,314 weekly downloads as of Oct 18, 2026, +97.3% over 90 days.

7/30/90-day growth

@vibe-agent-toolkit/gateway-mcp weekly downloads growth on npm: -36.4% over 7 days, -17.8% over 30 days, +97.3% over 90 days.@vibe-agent-toolkit/gateway-mcpWeekly downloads growth on npm5,314downloads / week now7-day growth-3,045 weekly downloads-36.4%30-day growth-1,154 weekly downloads-17.8%90-day growth+2,620 weekly downloads+97.3%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@vibe-agent-toolkit/gateway-mcp weekly downloads growth on npm: -36.4% over 7 days, -17.8% over 30 days, +97.3% over 90 days.

Ranking history

@vibe-agent-toolkit/gateway-mcp npm ranking history: currently #1130 (by weekly downloads).@vibe-agent-toolkit/gateway-mcpnpm ranking · by weekly downloads · Last 90 days#1130current rank#400#600#800#1000#1200#1400Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 17, 2026 – Oct 21, 2026 · 5 observations · Updated Oct 18, 2026pluginstats.com
@vibe-agent-toolkit/gateway-mcp npm ranking history: currently #1130 (by weekly downloads).

Listing placement

All npm2,422 listings · 122 pages · 1,212 shown · page 58, #5 (overall #1,145)
All npm: every listing in weekly downloads order

Listing placement

MCP servers301 listings · 16 pages · page 12, #9 (overall #229)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (544)
Recent weekly downloads observations for @vibe-agent-toolkit/gateway-mcp
Date (UTC)Weekly downloadsChange vs. previous
5,314+3.3K
2,012-452
2,464-372
2,836-2.5K
5,308-1.8K
7,1080
7,108-1.3K
8,359-663
9,022-771
9,793-1K
10,807+541
10,266+748
9,518-1.7K
11,194—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@vibe-agent-toolkit/gateway-mcp. First seen Oct 16, 2026; last successful collection Oct 22, 2026. See the methodology.