# MCP Gateway

> Use this tool when you need to unify multiple MCP servers behind a single HTTP endpoint, consolidating tools and managing access controls, rate limiting, and caching. It solves problems of complexity and scalability by providing a unified interface for multiple upstream servers, with features like API key authentication and configurable logging. Ideal for containerized deployments, it accepts YAML configuration files and connects to upstream servers via stdio, SSE, or HTTP transports.

Canonical page: https://skillsregistry.net/skills/niclaw-mcp-gateway  
JSON: https://api.skillsregistry.net/v1/skills/niclaw-mcp-gateway

## Description

Production-ready gateway that unifies multiple MCP servers behind a single HTTP endpoint. Consolidates tools from different upstream servers through automatic discovery and unified routing. Includes API key authentication with per-key access controls, token bucket rate limiting, LRU response caching with configurable TTL, and SQLite logging of all tool invocations. Connects to upstream servers via stdio, SSE, or HTTP transports. Configuration uses YAML files with environment variable substitution for containerized deployments.

## Trust

- **Trust score (0–1):** 0.90
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/niclaw-mcp-gateway)
- **Repository:** <https://github.com/zijian-ni/mcp-gateway>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "niclaw-mcp-gateway"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/niclaw-mcp-gateway` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/niclaw-mcp-gateway/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
