Skip to content
MCP server

Gatewards

Drop-in spend governance + cross-agent dedup proxy for AI agent fleets, with x402…

Runs locally
Install
Pricing
Open source
Runs
Locally
Version
0.2.0-beta.2
Listing updated
5 months ago

About Gatewards

Gatewards is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Drop-in spend governance + cross-agent dedup proxy for AI agent fleets, with x402 settlement.

Install

Run in a terminal

claude mcp add gatewards --env GATEWARDS_API_KEY='<GATEWARDS_API_KEY>' -- npx -y @gatewards/mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "gatewards": {
      "command": "npx",
      "args": [
        "-y",
        "@gatewards/mcp-server"
      ],
      "env": {
        "GATEWARDS_API_KEY": "<GATEWARDS_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gatewards": {
      "command": "npx",
      "args": [
        "-y",
        "@gatewards/mcp-server"
      ],
      "env": {
        "GATEWARDS_API_KEY": "<GATEWARDS_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "gatewards": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@gatewards/mcp-server"
      ],
      "env": {
        "GATEWARDS_API_KEY": "<GATEWARDS_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "gatewards": {
      "command": "npx",
      "args": [
        "-y",
        "@gatewards/mcp-server"
      ],
      "env": {
        "GATEWARDS_API_KEY": "<GATEWARDS_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "gatewards": {
      "command": "npx",
      "args": [
        "-y",
        "@gatewards/mcp-server"
      ],
      "env": {
        "GATEWARDS_API_KEY": "<GATEWARDS_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GATEWARDS_API_KEYGatewards agent API key (gw_agent_…). Required for authenticated proxy calls; the server starts without it but cannot reach the gateway.
  • GATEWARDS_GATEWAY_URLGateway base URL. Defaults to http://localhost:3001; set to https://api.gatewards.com for the hosted gateway.

Pricing

Open source

Prices change. Check gatewards.com before you buy.

Gatewards FAQ

Is Gatewards free?

Yes. Gatewards is open source, so you can use and self-host it for free.

How do I add Gatewards to Claude Code?

Run this command in your terminal: claude mcp add gatewards --env GATEWARDS_API_KEY='<GATEWARDS_API_KEY>' -- npx -y @gatewards/mcp-server

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers