Git-Fabric Gateway
A central tool aggregator that routes and orchestrates multiple fabric apps through a single MCP surface. It enables users to access a combined suite of specialized tools from various registered apps via a unified server connection.
README
<p align="center"> <img src="gateway-banner.svg" alt="@git-fabric/gateway" width="900"> </p>
@git-fabric/gateway
The connective tissue for git-fabric. Routes, connects, and orchestrates fabric apps through a single MCP surface.
What It Does
The gateway is a tool aggregator. Register any number of fabric apps (like @git-fabric/cve), and the gateway exposes all their tools through one MCP server. Consumers connect once, access everything.
┌──────────────────────────┐
│ Consumer (git-steer, │
│ Claude Desktop, etc.) │
└────────────┬─────────────┘
│ MCP (stdio)
┌────────▼────────┐
│ gateway │
│ registry │
│ router │
│ health check │
└──┬─────┬─────┬──┘
│ │ │
┌───▼──┐ ┌▼──┐ ┌▼───┐
│ cve │ │...│ │... │
└──────┘ └───┘ └────┘
Quick Start
1. Create a gateway config
# gateway.yaml
apps:
- name: "@git-fabric/cve"
enabled: true
env:
GITHUB_TOKEN: "ghp_..."
STATE_REPO: "ry-ops/git-steer-state"
MANAGED_REPOS: "ry-ops/git-steer,ry-ops/blog"
2. Start the gateway
fabric-gateway start --config gateway.yaml
3. Connect from Claude Desktop
{
"mcpServers": {
"git-fabric": {
"command": "npx",
"args": ["@git-fabric/gateway", "start"],
"env": {
"GITHUB_TOKEN": "ghp_..."
}
}
}
}
Now every fabric app's tools appear as native MCP tools.
Built-in Tools
| Tool | Description |
|---|---|
fabric_health |
Health check across all registered fabric apps |
fabric_apps |
List registered apps and their tools |
fabric_route |
Explicitly route a call to a specific app (for name collisions) |
All registered app tools are also exposed directly by their name (e.g. cve_scan, cve_triage).
CLI
# Start gateway MCP server
fabric-gateway start
# Health check all apps
fabric-gateway health
# List registered apps and tools
fabric-gateway apps
Creating a Fabric App
Any npm package can be a fabric app. Export a createApp() function that returns a FabricApp:
import type { FabricApp } from "@git-fabric/gateway";
export async function createApp(): Promise<FabricApp> {
return {
name: "@git-fabric/my-app",
version: "0.1.0",
description: "What my app does",
tools: [
{
name: "my_tool",
description: "What my tool does",
inputSchema: { type: "object", properties: { ... } },
execute: async (args) => { ... },
},
],
health: async () => ({
app: "@git-fabric/my-app",
status: "healthy",
}),
};
}
Architecture
src/
├── types.ts # FabricApp, FabricTool, AppRegistry interfaces
├── registry.ts # In-memory app registry
├── router.ts # Tool routing + health checks
├── loader.ts # Dynamic app loading from gateway.yaml
├── index.ts # Barrel export
└── mcp/
└── server.ts # MCP server aggregating all app tools
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.