chrome-devtools-mcp icon indicating copy to clipboard operation
chrome-devtools-mcp copied to clipboard

feat: add @gadgethumans/x402 optional micropayment support

Open scotia1973-bot opened this issue 5 months ago • 1 comments

Summary

Adds @gadgethumans/x402 as an optional peer dependency, enabling x402 micropayment support for the Chrome DevTools MCP server.

What this PR does

  • Adds @gadgethumans/x402 as an optional peer dependency in package.json
  • Adds a Micropayments with x402 section to README.md documenting how to enable pay-per-use access

Integration

import { wrapMCPServer } from "@gadgethumans/x402";
const server = createServer(...);
wrapMCPServer(server);

x402 (HTTP 402) provides a standards-based way to monetize MCP servers with pay-per-use micropayments. The @gadgethumans/x402 package handles the payment flow transparently — just wrap your server and go.

This is fully optional — no breaking changes, no new dependencies for users who dont need payments.

scotia1973-bot avatar Jul 01 '26 21:07 scotia1973-bot

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Jul 01 '26 21:07 google-cla[bot]

This MCP is using stdio not http, so this integration makes no sense.

zyzyzyryxy avatar Jul 02 '26 17:07 zyzyzyryxy