Skip to main content
ClaudeWave

GenesisPay JavaScript SDKs and MCP server: x402 payments in USDC on Base for sellers and AI agents (@genesis-tech/genesispay-*)

MCP ServersRegistry oficial1 estrellas0 forks● TypeScriptMITActualizado today
ClaudeWave Trust Score
95/100
✓ Verified
Passed
  • ✓Open-source license (MIT)
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Topics declared
  • ✓Documented (README)
Last scanned: 10/6/2026
Install in Claude Code / Claude Desktop
Method: NPX · @genesis-tech/genesispay-mcp
Claude Code CLI
claude mcp add genesispay-js -- npx -y @genesis-tech/genesispay-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "genesispay-js": {
      "command": "npx",
      "args": ["-y", "@genesis-tech/genesispay-mcp"],
      "env": {
        "GENESISPAY_AGENT_KEY": "<genesispay_agent_key>",
        "GENESISPAY_BASE_URL": "<genesispay_base_url>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Detected environment variables
GENESISPAY_AGENT_KEYGENESISPAY_BASE_URL
Casos de uso

Resumen de MCP Servers

# genesispay-js

JavaScript/TypeScript SDKs for [GenesisPay](https://genesispay.finance) — stablecoin
payments over HTTP 402 (x402) that work for both humans and AI agents. USDC on
Base; every amount is integer minor units, never floats.

| Package | What it does |
| --- | --- |
| [`@genesis-tech/genesispay-seller`](packages/seller-sdk) | Framework-agnostic payment gate: wrap any Fetch-API handler (Next.js, Hono, Bun) and it becomes a paid x402 endpoint. |
| [`@genesis-tech/genesispay-agent`](packages/agent-sdk) | Agent-side client: pay x402-gated URLs (GET, or POST with an exact JSON body) from a policy-guarded agent wallet, discover payable services and shops, handle human approvals. |
| [`@genesis-tech/genesispay-mcp`](packages/mcp-server) | MCP stdio server (`npx @genesis-tech/genesispay-mcp`) exposing `genesispay_discover` / `genesispay_shops` / `genesispay_quote` / `genesispay_shipping_profile` / `genesispay_pay` / `genesispay_payment_status` / `genesispay_account` and more (16 tools, plus an MCP App product card) to Claude and other MCP clients. |
| [`@genesis-tech/genesispay-protocol`](packages/protocol) | Pure x402 V2 types, header codecs, validators, and EIP-3009 typed-data helpers. Zero I/O. |

## Sell: gate an endpoint

```ts
import { createPaymentGate, genesisPaySettlement } from "@genesis-tech/genesispay-seller";

const gate = createPaymentGate({
  amountUsdc: "0.10",
  payTo: "0xYourWallet",
  description: "Premium market data",
  network: "base-sepolia",
});

export const GET = gate.wrap(async () => Response.json({ data: "…" }), {
  verifySettlement: genesisPaySettlement({
    facilitatorBaseUrl: "https://your-genesispay-instance.example",
    apiKey: process.env.GENESISPAY_SELLER_KEY!, // gp_sk_...
  }),
});
```

## Buy: pay from an agent

```ts
import { GenesisPayAgent } from "@genesis-tech/genesispay-agent";

const agent = new GenesisPayAgent(); // env: GENESISPAY_AGENT_KEY, GENESISPAY_BASE_URL

const [service] = await agent.discover("weather api");
// Persist the key with your order before the first call, then reuse it on retries.
const result = await agent.pay(service.resourceUrl, { idempotencyKey: "saved-order-42", maxAmountUsdc: "0.50" });

if (result.settled) if (result.response) console.log(result.json()); // Replay has no captured resource body.
else console.log("Needs human approval:", result.approvalUrl);
```

Spending caps, allowlists, and approvals are enforced server-side by GenesisPay —
the agent key never holds a raw private key.

## Give your AI agent the tools

```bash
claude mcp add genesispay \
  --env GENESISPAY_AGENT_KEY=gp_ag_your_key \
  --env GENESISPAY_BASE_URL=https://your-genesispay-instance.example \
  -- npx -y @genesis-tech/genesispay-mcp
```

See [`GenesisTechAT/genesispay-agent-skill`](https://github.com/GenesisTechAT/genesispay-agent-skill)
for the full agent skill (discovery-then-pay pattern, approval handling) and
config snippets for other MCP clients.

## Development

```bash
npm ci
npm run build   # tsc -b, dependency order
npm test        # vitest, tests run from package sources
```

Node >= 20.9. Each package builds to `dist/` with `tsc`; tests are colocated
(`src/*.test.ts`).

This repository is a read-only publish mirror — development happens in the
main GenesisPay repository and is synced here. Issues and PRs are welcome and are
folded back upstream.

## Releasing

1. Bump versions in `packages/*/package.json`.
2. Confirm npm Trusted Publishing authorizes `.github/workflows/publish.yml`
   for every package. The workflow uses GitHub OIDC (`id-token: write`); it does
   not read an `NPM_TOKEN` secret.
3. Tag the reviewed snapshot and push that tag.
4. The [publish workflow](.github/workflows/publish.yml) builds, tests, verifies
   pack manifests, and publishes only package versions absent from npm.

## License

[MIT](LICENSE) © GenesisTech
ai-agentsbasemcpmcp-servermodel-context-protocolpaymentsusdcx402

Lo que la gente pregunta sobre genesispay-js

¿Qué es GenesisTechAT/genesispay-js?

+

GenesisTechAT/genesispay-js es mcp servers para el ecosistema de Claude AI. GenesisPay JavaScript SDKs and MCP server: x402 payments in USDC on Base for sellers and AI agents (@genesis-tech/genesispay-*) Tiene 1 estrellas en GitHub y su última actualización registrada es del 2026-10-05.

¿Cómo se instala genesispay-js?

+

Puedes instalar genesispay-js clonando el repositorio (https://github.com/GenesisTechAT/genesispay-js) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar GenesisTechAT/genesispay-js?

+

Nuestro agente de seguridad ha analizado GenesisTechAT/genesispay-js y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene GenesisTechAT/genesispay-js?

+

GenesisTechAT/genesispay-js es mantenido por GenesisTechAT. La última actividad registrada en GitHub es del 2026-10-05, con 0 issues abiertos.

¿Hay alternativas a genesispay-js?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega genesispay-js en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: GenesisTechAT/genesispay-js
[![Featured on ClaudeWave](https://claudewave.com/api/badge/genesistechat-genesispay-js)](https://claudewave.com/repo/genesistechat-genesispay-js)
<a href="https://claudewave.com/repo/genesistechat-genesispay-js"><img src="https://claudewave.com/api/badge/genesistechat-genesispay-js" alt="Featured on ClaudeWave: GenesisTechAT/genesispay-js" width="320" height="64" /></a>

Más MCP Servers

Alternativas a genesispay-js