프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

SatGate – Economic Firewall for AI Agents

제작자: SatGate-io버전 0.5.0i★ 11i컴퓨터 또는 클라우드
레지스트리 이름io.github.SatGate-io/satgate

설치 방법

What it does

Budget, payment and audit controls for AI agent API calls and MCP tool calls.

  • Connects 컴퓨터 또는 클라우드
  • Account or key Cloud: Needs Authorization · Local: Needs SATGATE_URL, SATGATE_TOKEN
  • Category 사이버 보안

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

검사 5/5 통과 · 내가 묻는 내용은 제작자 서버(satgate-mcp-saas.fly.dev)를 거쳐요 · ✓ 명령 확인 2026년 11월 13일

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있어요 · 약 5분

SatGate – Economic Firewall for AI Agents 키가 필요해요 (제작자 사이트에서 만들기) · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가

  1. SatGate – Economic Firewall for AI Agents에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    SatGate – Economic Firewall for AI Agents 사이트 열기 ↗

  2. Claude의 Connectors 페이지 열기

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  3. “Add” → “Custom” → “Web”를 누르고 이 2칸 채우기

    여기서 복사해 Claude의 같은 이름 칸에 붙여 넣고 Continue를 누르세요

    Name · 이름SatGate – Economic Firewall for AI Agents
    Remote MCP server URL · 주소https://satgate-mcp-saas.fly.dev/sse

    Request headers에 이 이름과 값을 추가

    헤더 이름Authorization
    값Bearer <여기에 키 붙여 넣기>

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

    Claude가 찾은 로그인 설정 화면에서 Continue를 누르고 · Authentication은 제작자 안내대로(Sign in now, Sign in when needed, No sign in) 고른 뒤 Add를 누르세요

  4. 채팅에서 켜기

    +ConnectorsSatGate – Economic Firewall for AI Agents

  5. 해 보기

    SatGate – Economic Firewall for AI Agents을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 SatGate – Economic Firewall for AI Agents을 쓰고 있다고 하거나 답에 SatGate – Economic Firewall for AI Agents 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 SatGate – Economic Firewall for AI Agents에 연결할 수 없어요

SatGate – Economic Firewall for AI Agents는 연결할 때 내 키가 필요한데, OpenAI 도움말은 OAuth 로그인만 설명하고 우리가 확인한 키 입력 방법이 없어요

대신 이렇게 할 수 있어요

A · SatGate – Economic Firewall for AI Agents에 연결되는 앱 쓰기

  • SatGate – Economic Firewall for AI Agents 키가 필요해요 (제작자 사이트에서 만들기) · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가
  • SatGate – Economic Firewall for AI Agents 키가 필요해요 (제작자 사이트에서 만들기)
  • SatGate – Economic Firewall for AI Agents 키가 필요해요 (제작자 사이트에서 만들기)
  • SatGate – Economic Firewall for AI Agents 키가 필요해요 (제작자 사이트에서 만들기)

B · 사이버 보안에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있어요 · 약 5분

SatGate – Economic Firewall for AI Agents 키가 필요해요 (제작자 사이트에서 만들기)

  1. SatGate – Economic Firewall for AI Agents에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    SatGate – Economic Firewall for AI Agents 사이트 열기 ↗

  2. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  3. 이 명령을 붙여 넣고 Enter

    claude mcp add --transport sse --scope user satgate https://satgate-mcp-saas.fly.dev/sse --header 'Authorization: Bearer your-value'

    Enter 전에 “your-value”를 내 키로 바꾸세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. Claude Code에서 /mcp 입력

    SatGate – Economic Firewall for AI Agents이 목록에 있고 연결됨으로 보이면 돼요

  5. 해 보기

    SatGate – Economic Firewall for AI Agents을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 SatGate – Economic Firewall for AI Agents을 쓰고 있다고 하거나 답에 SatGate – Economic Firewall for AI Agents 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있어요 · 약 5분

SatGate – Economic Firewall for AI Agents 키가 필요해요 (제작자 사이트에서 만들기)

  1. SatGate – Economic Firewall for AI Agents에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    SatGate – Economic Firewall for AI Agents 사이트 열기 ↗

  2. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  3. 키 입력

    SatGate – Economic Firewall for AI Agents 설정에서 Authorization가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. Cursor에서 AI 채팅을 Agent 모드로 열기

  5. 해 보기

    SatGate – Economic Firewall for AI Agents을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 SatGate – Economic Firewall for AI Agents을 쓰고 있다고 하거나 답에 SatGate – Economic Firewall for AI Agents 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있어요 · 약 5분

SatGate – Economic Firewall for AI Agents 키가 필요해요 (제작자 사이트에서 만들기)

  1. SatGate – Economic Firewall for AI Agents에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    SatGate – Economic Firewall for AI Agents 사이트 열기 ↗

  2. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  3. 키 입력

    SatGate – Economic Firewall for AI Agents 설정에서 Authorization가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. VS Code에서 AI 채팅을 Agent 모드로 열기

  5. 해 보기

    SatGate – Economic Firewall for AI Agents을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 SatGate – Economic Firewall for AI Agents을 쓰고 있다고 하거나 답에 SatGate – Economic Firewall for AI Agents 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

웹으로 연결하는 앱용 주소

주소https://satgate-mcp-saas.fly.dev/sse

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? SatGate – Economic Firewall for AI Agents을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

웹으로 연결

Claude Code

claude mcp add --transport sse --scope user satgate https://satgate-mcp-saas.fly.dev/sse --header 'Authorization: Bearer your-value'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "satgate": {
      "url": "https://satgate-mcp-saas.fly.dev/sse",
      "headers": {
        "Authorization": "Bearer your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "satgate": {
      "type": "sse",
      "url": "https://satgate-mcp-saas.fly.dev/sse",
      "headers": {
        "Authorization": "Bearer your-value"
      }
    }
  }
}

컴퓨터에 설치

Claude Code

claude mcp add --scope user satgate --env SATGATE_URL=your-value --env SATGATE_TOKEN=your-value -- npx -y satgate-mcp-bridge

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "satgate": {
      "command": "npx",
      "args": [
        "-y",
        "satgate-mcp-bridge"
      ],
      "env": {
        "SATGATE_URL": "your-value",
        "SATGATE_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "satgate": {
      "command": "npx",
      "args": [
        "-y",
        "satgate-mcp-bridge"
      ],
      "env": {
        "SATGATE_URL": "your-value",
        "SATGATE_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "satgate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "satgate-mcp-bridge"
      ],
      "env": {
        "SATGATE_URL": "your-value",
        "SATGATE_TOKEN": "your-value"
      }
    }
  }
}

직접 입력할 값

  • SATGATE_URL 필수 env
    SatGate Cloud MCP URL
  • SATGATE_TOKEN 비밀 필수 env
    Agent token minted in SatGate Cloud (MCP Setup)
  • Authorization 비밀 필수 HTTP header
    Bearer token minted in SatGate Cloud (MCP Setup)

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
55/주
라이선스i
Apache-2.0
연결 방식
컴퓨터 또는 클라우드
최신 버전i
0.5.0
카테고리i
사이버 보안
레지스트리 공개i
2026년 9월 28일
코드 마지막 변경i
2026년 11월 9일
제작자
SatGate-io
패키지
npm: satgate-mcp-bridge
웹사이트
satgate.io
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

인터넷으로 연결하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

서버가 도구 목록을 보여 주기 전에 로그인을 요구해요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 13일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 SatGate-io 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 4일 전

  • ✓ 통과

    라이선스 있음

    Apache-2.0 사용

  • ✓ 통과

    엔드포인트 응답

    198ms 만에 응답(HTTP 401)

  • ✓ 통과

    OAuth로 로그인

    OAuth 로그인을 지원한다고 밝혀서, AI 앱이 로그인 화면으로 안내해 줘요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

Google로 로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

Google로 로그인하고 리뷰 쓰기

사이버 보안 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 1054개 중 93%보다 스타가 많아요
  • 이 카테고리의 다른 서버 1054개 중 47%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 1054개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

SatGate – Economic Firewall for AI Agents, 안전한가요?

해당하는 기본 점검 5개 중 5개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: Authorization, SATGATE_URL, SATGATE_TOKEN

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

둘 다 가능해요. 내 컴퓨터에 설치해도 되고, 클라우드 버전에 연결해도 돼요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 4일 전 변경됐고, 최신 버전(0.5.0)은 2개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되므로 원격 MCP를 받는 앱에서도 쓸 수 있어요. 예: 웹 ChatGPT(Business 이상은 전체 MCP, Pro는 읽기 전용).

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Robin: AI-Powered Dark Web OSINT, HOL Guard, SonarQube MCP Server

같은 카테고리의 다른 것

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Robin: AI-Powered Dark Web OSINT

Dark web OSINT over Tor: search onion engines, scrape pages, report with your own model.

제작자: apurvsinghgautam성장 중★ 8천41일 전 업데이트

내 컴퓨터에서 실행

HOL Guard

Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.

제작자: hashgraph-online널리 사용됨↓ 7.1천/주★ 1.1천8일 전 업데이트

내 컴퓨터에서 실행

SonarQube MCP Server

Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.

제작자: SonarSource성장 중★ 686그저께 업데이트

내 컴퓨터에서 실행

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

SatGate

Observe, control and admit AI agent traffic

Every allow or deny comes with a signed receipt

Why • Build • Features • Quick Start • Docs • Website • Blog


SatGate is a gateway in front of APIs and MCP tools. It meters agent and MCP traffic (Observe), enforces owner budgets before work runs (Control), and charges external agents on the routes you choose (Admit; the Charge policy in the dashboard). Every allow or deny comes with a signed receipt.

Try it as an agent. This hosted route returns HTTP 402 with a Lightning invoice and a macaroon. The price is 10 sats, and one payment buys access until the credential_expires_at time in that response, not just one request:

curl -i -H "X-SatGate-Tenant: satgate-demo" https://api.satgate.io/paid/agent-demo

Agent instructions are in llms.txt.

Build Agents with SatGate

SatGate's developer primitive is three calls: issue(), pay(), and verify().

import os

from satgate import SatGate

satgate = SatGate(api_key=os.getenv("SATGATE_API_KEY"))

capability = satgate.issue( task="research market prices", agent="research-agent", allow=["mcp:web.search", "api:prices.read"], budget_usd=25, expires_in="1h", )

receipt = satgate.pay( upstream="https://api.example.com/search", capability=capability, max_usd=4.20, )

verified = satgate.verify(receipt) print(verified.decision, verified.evidence_pack_id)

Install today:

pip install satgate

npm install @satgate/sdk

The public packages install today; the issue/pay/verify API namespace is in private beta. Calls without private-beta access raise a structured error instead of returning fake receipts:

SatGateAuthError: This API namespace requires private beta access. Visit cloud.satgate.io/docs to request access.

Runnable examples:

  • examples/python/issue_pay_verify.py
  • examples/node/issue-pay-verify.mjs

Works with: MCP · OpenAI tools · Anthropic tools · LangChain · CrewAI · Raw HTTP


🎬 See SatGate in Action


☁️ Don't want to self-host? Try SatGate Cloud

Managed SaaS — zero setup, multi-tenant isolation, enterprise dashboard.

Free Observe tier. No credit card required.


The Problem

AI agents are making API calls autonomously. They spawn sub-agents, call MCP tools, and run overnight while you sleep.

Your existing stack answers: *"Is this request authenticated?"*

Nobody answers: "Should this agent have authority to spend, delegate, or invoke this paid resource?"

✓ Network Firewall    → "Can this packet enter?"

✓ Application Firewall → "Is this request safe?" ? Economic Firewall → "Should this agent act, spend, or pay?"

That's the gap. SatGate fills it.

What is SatGate?

SatGate is an Economic Firewall for AI agent requests. Drop it in front of your APIs and MCP tools to enforce scoped authority, budgets, paid-rail context, and Evidence Pack receipts before agents act.

Not another routing layer. Routing gateways (Bifrost, LiteLLM, Portkey) optimize *which provider* handles a call. SatGate governs *whether the call should happen at all* based on authority, policy, budget, and paid-rail context.

Use them together:

Agent → SatGate (economic governance) → Routing Gateway → LLM Providers

Features

  • 🛡️ Capability Tokens (Macaroons) — Cryptographic credentials with built-in caveats, delegation, and next-request revocation. Not API keys — tokens that agents can safely sub-delegate.
  • 🎯 MCP-Aware — Parses MCP JSON-RPC tool calls. Know that Agent X spent $47 on search_database and $12 on send_email — not just "1,000 requests."
  • 💰 Budget Enforcement — Hard stops per agent, team, or API. When the budget hits zero, requests are *blocked*. Not logged. Not alerted. Blocked.
  • ⚡ Paid-Rail Governance — Govern paid API access across L402, x402, API-key billing, and enterprise ledgers without making any one rail the control plane.
  • 🔒 Default-Deny — All routes require valid credentials unless explicitly public. Zero Trust by design.
  • 🚀 <50ms Overhead — Lightweight Go proxy. Adds governance without adding latency.
  • 📦 Self-Hosted — Your infrastructure, your rules. Single binary, Docker, or Kubernetes.
  • 🔌 Drop-in — Works with any HTTP backend. REST, GraphQL, MCP servers. No code changes.

Quick Start

60-Second Demo
# Run from a clone. The example config is examples/gateway.yaml in this repo.

macOS Apple Silicon. Other v0.5.2 assets: satgate-darwin-amd64, satgate-linux-amd64,

satgate-linux-arm64, satgate-windows-amd64.exe

git clone https://github.com/SatGate-io/satgate.git cd satgate curl -L https://github.com/SatGate-io/satgate/releases/download/v0.5.2/satgate-darwin-arm64 -o satgate chmod +x satgate

Mock Lightning. Demo mode prints:

SECURITY WARNING: Using ephemeral root key. Set CAPABILITY_ROOT_KEY for production use.

That warning is expected. Tokens do not persist across restarts.

export ADMIN_TOKEN=my-secret-token export LIGHTNING_BACKEND=mock ./satgate --config examples/gateway.yaml

Try the three policies:

# 1. Public — no auth needed

curl http://localhost:8080/health

2. Protected — mint a capability token, then use it

curl -X POST http://localhost:8080/api/capability/mint \ -H "X-Admin-Token: my-secret-token" \ -H "Content-Type: application/json" \ -d '{"scope": "api:read", "duration": "1h"}'

Use the token:

curl -H "Authorization: Bearer YOUR_CAPABILITY_TOKEN" \ http://localhost:8080/api/capability/ping

3. Paid — get a payment challenge (L402 today; x402/other rails as governed context)

curl http://localhost:8080/api/micro

Public → Protected → Paid. Three policies, one gateway; paid rails are governed context, not the product boundary.

Hosted paid demo (Admit; Charge in the dashboard). No local Lightning node:

curl -i -H "X-SatGate-Tenant: satgate-demo" https://api.satgate.io/paid/agent-demo

Unpaid calls return 402 with a Lightning invoice and a macaroon. The price is 10 sats, and one payment buys access until the credential_expires_at time in that response, not just one request. For Lightning, show the invoice to the owner, poll payment status, then retry. Poll rules are in llms.txt.

📖 [Full Quick Start Guide →](docs/getting-started/quickstart.md)

Other Install Methods
# Release binary. ghcr.io/satgate-io/satgate:latest is private; anonymous pulls get 401.

Assets: satgate-darwin-arm64, satgate-darwin-amd64, satgate-linux-amd64,

satgate-linux-arm64, satgate-windows-amd64.exe

curl -L https://github.com/SatGate-io/satgate/releases/download/v0.5.2/satgate-darwin-arm64 -o satgate chmod +x satgate

Build from source

git clone https://github.com/SatGate-io/satgate.git cd satgate && go build -o satgate ./cmd/satgate

Configuration

version: 1

server: listen: ":8080"

admin: capabilityRootKey: "${CAPABILITY_ROOT_KEY}"

lightning: provider: "${LIGHTNING_BACKEND}" config: connectionString: "${NWC_CONNECTION_STRING}"

upstreams: api: url: "http://localhost:3000"

routes:

  • name: public-health match: pathPrefix: /health upstream: api policy: kind: public
  • name: protected-api match: pathPrefix: /api/ upstream: api policy: kind: capability scope: "api:read"
  • name: premium-api match: pathPrefix: /premium/ upstream: api policy: kind: l402 # paid-rail policy; use payment_context to preserve L402/x402/ledger evidence priceSats: 100

Policy Types

PolicyDescriptionUse Case
publicNo authenticationHealth checks, docs, webhooks
capabilityRequires valid MacaroonProtected API endpoints
l402Requires Lightning payment and records paid-rail contextMonetized endpoints; x402/ledger context can be preserved in Evidence Packs

How It's Different

SatGateRouting GatewaysTraditional API Gateways
Primary concernEconomic governanceProvider routingTraffic management
Budget enforcementHard caps (blocked at limit)Soft alerts only❌
MCP cost attributionPer-tool granularity❌❌
Credential modelMacaroons (delegatable)API keysAPI keys / OAuth
Agent delegationSub-tokens with reduced budgets❌❌
Paid-rail governanceL402, x402, API-key billing, enterprise ledgers❌❌
Works alongside—✅ Use together✅ Use together

Architecture

┌──────────────────────────────────────────────────┐

│ SatGate │ │ │ │ Request → Route Match → Policy Check → Proxy │ │ │ │ │ ┌──────────────┼──────────────┐ │ │ │ │ │ │ │ [public] [capability] [paid rail] │ │ pass verify token verify │ │ check budget payment │ │ log MCP tool context │ └──────────────────────────────────────────────────┘

Key Concepts:

  • Macaroons: Bearer tokens with embedded caveats (expiry, scope, budget, IP). Not API keys — they support *delegation* without server roundtrips.
  • Delegation: Agent A gives Agent B a sub-token with reduced permissions and a $50 budget cap. B can't escalate.
  • MCP Parsing: SatGate reads MCP JSON-RPC payloads to attribute costs to specific tool calls, not just HTTP endpoints.
  • Paid-rail context: SatGate treats L402, x402, API-key billing, and enterprise ledgers as rails to govern around. Evidence Packs preserve which rail was involved without making the rail the product.

SDKs

LanguagePackageDocs
Pythonpip install satgateREADME
JavaScriptnpm install @satgate/sdkREADME

MCP Proxy (NEW)

SatGate now includes a native MCP proxy that governs tool calls for any MCP-compatible agent:

# Run MCP proxy with 1000-credit budget

satgate-mcp --config satgate-mcp.yaml

  • Budget enforcement:

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요