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

MCP x402 - Evidence-Backed Web Verification

제작자: Diogoup26버전 1.2.12i★ 0i클라우드에서 실행저장소 ↗
레지스트리 이름io.github.Diogoup26/mcp-x402

설치 방법

What it does

Evidence-backed pre-purchase checks for offer terms, seller trust and policy compliance.

  • Connects 클라우드에서 실행
  • Account or key No key needed
  • Category 법률 및 정부 데이터

이 순위인 이유

목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다

인기0/80GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20
최신성12/1230일 안에 릴리스나 코드 변경이 있으면 만점
응답 중8/8마지막 점검 때 클라우드 엔드포인트가 응답
사용 점수20/100

품질: 기본 점검 4/5개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)

설치

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

한 문장으로 AI에게 설치 맡기기

MCP x402 - Evidence-Backed Web Verification 설치해 줘. https://mcp.popnx.com/i/diogoup26-mcp-x402.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.

내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기

검사 4/5 통과 · 내가 묻는 내용은 제작자 서버(mcp-x402-production.up.railway.app)를 거쳐요 · ✓ 명령 확인 2026년 11월 13일

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

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

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

키 필요 없음, 설치 필요 없음 · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가

  1. Claude의 Connectors 페이지 열기

    CustomizeConnectors

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

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

    Name · 이름MCP x402 - Evidence-Backed Web Verification
    Remote MCP server URL · 주소https://mcp-x402-production.up.railway.app/mcp

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

  3. 채팅에서 켜기

    +ConnectorsMCP x402 - Evidence-Backed Web Verification

  4. 해 보기

    MCP x402 - Evidence-Backed Web Verification을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 MCP x402 - Evidence-Backed Web Verification을 쓰고 있다고 하거나 답에 MCP x402 - Evidence-Backed Web Verification 도구 이름이 나오면 연결된 거예요

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

ChatGPT 연결은 요금제에 따라 달라요

전체 MCP: 웹 ChatGPT Business, Enterprise, Edu · Pro: 읽기/가져오기 권한으로 연결, 데이터를 바꾸는 도구는 안 될 수 있어요 · Plus: 공식 문서 미확인, 플러그인 화면에 사용자 지정 MCP 추가 항목이 보이면 시도해 볼 수 있어요 · 웹만

  1. 웹 ChatGPT에서 MCP 추가 페이지 열기

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 이름과 주소 입력

    이름을 넣고 Connection에 주소를 붙여 넣은 뒤 경고에 체크하고 Create as a plugin을 누르세요

    Name · 이름MCP x402 - Evidence-Backed Web Verification
    Connection · 주소https://mcp-x402-production.up.railway.app/mcp
  3. 채팅에서 MCP x402 - Evidence-Backed Web Verification 고르기

    새 채팅을 열고 입력 전에 플러그인 목록에서 MCP x402 - Evidence-Backed Web Verification을 고르세요

  4. 해 보기

    MCP x402 - Evidence-Backed Web Verification을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ ChatGPT가 MCP x402 - Evidence-Backed Web Verification을 쓰고 있다고 하거나 답에 MCP x402 - Evidence-Backed Web Verification 도구 이름이 나오면 연결된 거예요

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

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

키 필요 없음, 설치 필요 없음

  1. 터미널 열기

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

  2. 이 명령을 붙여 넣고 Enter

    claude mcp add --transport http --scope user x402 https://mcp-x402-production.up.railway.app/mcp
  3. Claude Code에서 /mcp 입력

    MCP x402 - Evidence-Backed Web Verification이 목록에 있고 연결됨으로 보이면 돼요

  4. 해 보기

    MCP x402 - Evidence-Backed Web Verification을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 MCP x402 - Evidence-Backed Web Verification을 쓰고 있다고 하거나 답에 MCP x402 - Evidence-Backed Web Verification 도구 이름이 나오면 연결된 거예요

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

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

키 필요 없음, 설치 필요 없음

  1. 이 버튼으로 Cursor 열기

    Cursor에서 열기

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

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

  3. 해 보기

    MCP x402 - Evidence-Backed Web Verification을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 MCP x402 - Evidence-Backed Web Verification을 쓰고 있다고 하거나 답에 MCP x402 - Evidence-Backed Web Verification 도구 이름이 나오면 연결된 거예요

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

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

키 필요 없음, 설치 필요 없음

  1. 이 버튼으로 VS Code 열기

    VS Code에서 열기

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

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

  3. 해 보기

    MCP x402 - Evidence-Backed Web Verification을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 MCP x402 - Evidence-Backed Web Verification을 쓰고 있다고 하거나 답에 MCP x402 - Evidence-Backed Web Verification 도구 이름이 나오면 연결된 거예요

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

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

MCP를 쓰는 앱 모두 보기 →

웹으로 연결하는 앱용 주소

주소https://mcp-x402-production.up.railway.app/mcp

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

막혔나요? MCP x402 - Evidence-Backed Web Verification을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

웹으로 연결

Claude Code

claude mcp add --transport http --scope user x402 https://mcp-x402-production.up.railway.app/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "x402": {
      "url": "https://mcp-x402-production.up.railway.app/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "x402": {
      "type": "http",
      "url": "https://mcp-x402-production.up.railway.app/mcp"
    }
  }
}

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

한눈에 보기

주간 다운로드i
npm/PyPI에 없음
라이선스i
라이선스 표시 없음
연결 방식
클라우드에서 실행
전송 방식
streamable-http
최신 버전i
1.2.12
레지스트리 공개i
2026년 11월 1일
코드 마지막 변경i
2026년 11월 14일
마지막 확인
2026년 11월 17일
제작자
Diogoup26
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

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

인터넷으로 연결하는 앱

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

모든 앱과 장단점 →

할 수 있는 일

도구 이름과 설명은 서버가 2026년 11월 17일에 알려 준 그대로예요. 우리가 아니라 제작자가 쓴 글이고, 일반 텍스트로만 보여 드려요.

  • preview_verification

    Use this free static preview before paying for verificar_condicoes. Choose offer_terms to inspect warranty, returns and availability; seller_trust to inspect seller identity and authorization; or policy_compliance to inspect required policy terms. It performs no web request, Open

  • consultar_ia

    Use for general questions that do not require live web retrieval. Returns a concise model answer and does not fetch URLs or verify current facts. Use analisar_url for a source-bounded page report and verificar_condicoes for evidence-backed decisions. PT: Use para perguntas gerais

  • analisar_url

    Use to fetch one public HTTP or HTTPS page and return a source-bounded report with summary, facts, risks and recommended actions. The optional objective controls focus but is never evidence. It does not consult other sources; use verificar_condicoes for condition-by-condition dec

  • verificar_condicoes

    Use before an agent trusts, buys or acts to test 1 to 10 explicit conditions against one public HTTP or HTTPS page. Best fits offer and warranty checks, seller identity or authorization checks, and policy compliance checks. Returns confirmed, rejected or uncertain for every condi

기본 점검i

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

  • ✓ 통과

    제작자와 저장소 일치

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

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 5일 전

  • ✕ 실패

    라이선스 있음

    저장소에서 라이선스 파일을 찾지 못했어요

  • ✓ 통과

    엔드포인트 응답

    247ms 만에 응답(HTTP 200)

  • – 해당 없음

    OAuth로 로그인

    로그인 필요 없음

  • ✓ 통과

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

    도구 설명 4개를 읽었고, AI에게 보내는 숨겨진 지시는 없었어요

우리가 확인하는 것 → · JSON

제작자: 재확인 요청 또는 잘못된 정보 신고
제작자용: README에 배지 달기

제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/diogoup26-mcp-x402.svg)](https://mcp.popnx.com/en/servers/diogoup26-mcp-x402)

토론

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

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

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

로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

로그인하고 리뷰 쓰기

법률 및 정부 데이터 카테고리의 다른 서버와 비교i

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

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

자주 묻는 질문

MCP x402 - Evidence-Backed Web Verification, 안전한가요?

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

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

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

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

제작자의 클라우드에서 실행돼요. 설치 없이 인터넷으로 연결하지만, 보내는 내용은 제작자의 서버를 거쳐요.

아직 관리되고 있나요?

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

어떤 앱에서 쓸 수 있나요?

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

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

같은 카테고리에는: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector

비슷하게 동작하는 다른 것

같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.

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

Global law

The law of nearly every country on earth, any date: read it, see what changed it, check citations.

제작자: lexifina널리 사용됨★ 2.1천9일 전 업데이트

클라우드에서 실행✓ lexifina.com

LibreJustice

Search French-language and European case law and French legal texts (codes, statutes, treaties).

제작자: librejustice초기★ 362개월 전 업데이트

클라우드에서 실행✓ 서비스 회사 · librejustice.fr

InfraNode

Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.

제작자: street1983nk초기★ 185개월 전 업데이트

클라우드에서 실행✓ 서비스 회사 · infranode.dev

Fedlex Connector

Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.

제작자: JayTheSkier초기★ 87개월 전 업데이트

클라우드에서 실행✓ 서비스 회사 · fedlex-connector.ch
비슷한 항목과 비교
이 항목
MCP x402 - Evidence-Backed Web Verification
Global lawOpen Legal Data (Germany)LibreJusticeInfraNodeFedlex Connector
실행 위치클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요
키 필요아니요아니요아니요아니요아니요아니요
Claude에서 +로 추가아니요아니요아니요아니요아니요아니요
기본 점검4/54/44/44/44/44/4
라이선스–NOASSERTIONMITApache-2.0Apache-2.0MIT
가격등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음

제작자의 README

README 열기

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

MCP x402 — Evidence-Backed Web Verification for AI Agents

Verify a seller, product, offer, policy, or claim before an agent acts

Give an AI agent a public HTTP(S) page and 1 to 10 concrete conditions. The verificar_condicoes tool returns an evidence-based decision for every condition:

  • confirmado — the page clearly supports the condition.
  • rejeitado — the page clearly contradicts the condition.
  • incerto — the available page evidence is insufficient.

Each verification includes the final source URL, page title, timestamp, condition-by-condition explanation, quoted evidence when available, a unique verificationId, and a SHA-256 pageHash.

Designed for
  • AI purchasing and procurement agents;
  • offer, warranty, returns and availability checks;
  • seller identity and authorization checks;
  • policy and terms compliance checks;
  • commercial automation that requires evidence before taking action.
Three buyer decisions
Buyer needSelect this tool when the agent must decide
Offer termsWhether an offer satisfies warranty, returns, price or delivery requirements before purchase
Seller trustWhether the page identifies the seller and supports authorization or registration claims
Policy complianceWhether terms or policies contain required cancellation, privacy or support conditions

Use the free preview_verification MCP tool or the free HTTP endpoint POST /preview/verify-conditions first when the buyer needs to inspect the complete result contract without fetching a page, calling OpenAI or making a payment. Use verificar_condicoes for a fresh verification of a real public URL.

Simple x402 integration
  • Free preflight validation before payment.
  • $0.05 USDC per verification on Base mainnet.
  • No account or subscription required.
  • Available through MCP and HTTP.
  • Ready-to-run buyer included in this repository.
  • Bazaar discovery metadata enabled on the paid HTTP and MCP surfaces.
Free static result demonstration

The following example is fictitious and performs no request, OpenAI call, or payment. It shows the complete result contract an agent receives for 0.05 USDC when using verificar_condicoes.

Example input:

{

"url": "https://shop.example/offers/refurbished-laptop", "condicoes": [ "The offer includes a 12-month warranty.", "The return period is at least 30 days.", "The seller is an authorized manufacturer reseller." ], "contexto": "Pre-purchase seller verification." }

Example result:

{

"source": "https://shop.example/offers/refurbished-laptop", "title": "Refurbished Laptop Offer — Example Seller", "verifiedAt": "2026-01-01T00:00:00.000Z", "decisao": { "decisao": "incerto", "condicoes": [ { "condicao": "The offer includes a 12-month warranty.", "estado": "confirmada", "prova": "Includes a 12-month limited warranty.", "explicacao": "The offer explicitly states the warranty duration." }, { "condicao": "The return period is at least 30 days.", "estado": "rejeitada", "prova": "Returns accepted within 14 days of delivery.", "explicacao": "The stated 14-day return period contradicts the required minimum of 30 days." }, { "condicao": "The seller is an authorized manufacturer reseller.", "estado": "incerta", "prova": null, "explicacao": "The page provides no evidence of manufacturer authorization." } ], "resumo": "The warranty is confirmed, the return-period requirement is rejected, and reseller authorization remains uncertain." }, "verificationId": "00000000-0000-4000-8000-000000000000", "pageHash": "sha256:0000000000000000000000000000000000000000000000000000000000000000" }

This demonstrates the distinction between supporting evidence, contradictory evidence, and absence of evidence. The real paid result uses the fetched page, current timestamp, a unique verificationId, and the SHA-256 hash of the page content.

Screen a shortlisted refurbished laptop

Apply the local decision example to the buyer's original request and the parsed verification response for the same offer. To try it offline, assign the example input and result above to request and verification in a Node.js module in the repository root.

import { decideOffer } from "./examples/offer-decision.mjs";

const decision = decideOffer(request.condicoes, verification); console.log(decision.action, decision.reasons);

The laptop is excluded because its quoted 14-day return period contradicts the required 30 days. A quoted contradiction excludes the offer even if another requirement is unclear. All mandatory terms need quoted support to recommend. Missing, duplicated or inconclusive evidence sends the offer to review when there is no supported contradiction. This local step makes no payment or purchase.

Free MCP preview tool

preview_verification is a free, model-callable MCP tool. It performs no live web request, OpenAI call or payment. Choose one of these values:

  • offer_terms
  • seller_trust
  • policy_compliance

It returns a realistic structured input and result, identifies the paid verificar_condicoes tool and provides the exact next step. Preview calls are logged separately and never counted as paid demand or revenue.

Live endpoints
  • MCP: https://mcp-x402-production.up.railway.app/mcp
  • Free MCP preflight: POST https://mcp-x402-production.up.railway.app/preflight/mcp
  • Free verification preflight: POST https://mcp-x402-production.up.railway.app/preflight/verify-conditions
  • Free static HTTP preview: POST https://mcp-x402-production.up.railway.app/preview/verify-conditions
  • Paid verification: POST https://mcp-x402-production.up.railway.app/verify-conditions
  • Health: GET https://mcp-x402-production.up.railway.app/health

The service also provides paid public URL analysis and general AI consultation through analisar_url and consultar_ia.

Live Service

  • Base URL: https://mcp-x402-production.up.railway.app
  • Health check: GET /health
  • MCP endpoint: POST /mcp
  • Paid URL analysis: POST /analyze
  • Price: $0.05 USDC per paid request
  • Network: Base mainnet (eip155:8453)

Production Status

  • Production deployment active on Railway
  • x402 version 2 payment flow
  • Base mainnet payments (eip155:8453)
  • Paid HTTP endpoints return valid x402 challenges with Bazaar metadata
  • MCP and HTTP payment, execution, settlement, and delivery confirmed on-chain
  • MCP Bazaar metadata advertises the public HTTPS MCP server URL
  • CDP native MCP catalog indexing is not yet claimed as confirmed; upstream tracking: coinbase/cdp-sdk#764

MCP Tools

Decision verification

verificar_condicoes — $0.05 USDC

A paid decision-verification tool for agents.

Give it a public URL and one or more concrete conditions. It returns a decision based only on evidence extracted from that page:

  • confirmado — the page clearly proves the condition.
  • rejeitado — the page clearly contradicts the condition.
  • incerto — the page does not provide enough evidence.

Each result includes the final source URL, page title, verification timestamp, condition-by-condition explanation, and a short quoted proof where available.

Example conditions:

  • “The page identifies the seller.”
  • “The product is available in Portugal.”
  • “The page shows a price in euros.”
  • “The document states that the service supports x402.”

This is designed for agents that need an evidence-based decision before taking the next action.

ToolDescriptionPrice
preview_verificationReturns a static structured example for offer, seller or policy verification. No network retrieval or OpenAI call.Free
consultar_iaSends a prompt to the OpenAI Responses API.$0.02 USDC
analisar_urlFetches and analyzes a public HTTP or HTTPS page.$0.05 USDC
verificar_condicoesVerifies concrete conditions on a public page and returns evidence-based decisions.$0.05 USDC

Technology

  • Node.js and TypeScript
  • Express
  • Model Context Protocol
  • OpenAI Responses API
  • x402 payments
  • viem
  • Cheerio
  • Railway

Security

  • HTTPS provided by Railway
  • Helmet security headers
  • Rate limit of 100 requests per 15 minutes
  • Structured request logs with unique request IDs
  • Host validation and Railway health-check support
  • Restricted OpenAI API key with access only to /v1/responses
  • Environment files and secrets excluded from Git

Environment Variables

Server
VariableRequiredDescription
OPENAI_API_KEYYesOpenAI project API key.
OPENAI_MODELNoOpenAI model. Defaults to gpt-5-mini.
HOSTNoListening host. Defaults to 0.0.0.0.
PORTNoListening port. Defaults to 3000.
RAILWAY_PUBLIC_DOMAINRailwayAutomatically supplied by Railway.
PUBLIC_SERVICE_URLNoCanonical public HTTPS origin used in discovery metadata. Railway derives it automatically from RAILWAY_PUBLIC_DOMAIN; the production URL is the fallback.
OBSERVABILITY_SALTRecommendedStable secret salt used only to pseudonymize source/client fingerprints across restarts.
Local Buyer
VariableRequiredDescription
EVM_PRIVATE_KEYYesPrivate key of the Base mainnet buyer wallet. Never commit this value.
JOURNEY_IDNoExisting correlation ID to reuse; otherwise the buyer generates one.

Example local .env.test file:

EVM_PRIVATE_KEY=your_private_key_here

Local Development

Install dependencies:

npm install

Start the development server:

npm run dev

Build the project:

npm run build

Start the compiled server:

npm start

Health Check

The health endpoint is public and does not require payment:

curl https://mcp-x402-production.up.railway.app/health

Railway Log Diagnostics

Railway currently accepts --since for historical HTTP logs but rejects --until. On Windows PowerShell, export a bounded application and HTTP log window without using the broken flag:

.\scripts\export-railway-window.ps1 `

-StartUtc "2026-08-22T16:31:22.401228537Z" -EndUtc "2026-08-23T06:21:18.045229877Z" -OutputPrefix "railway-diagnostic"

The script retrieves logs from the lower bound and applies the upper UTC bound locally using ordinal ISO-8601 comparison, which preserves Railway's nanosecond timestamps. It writes raw captures plus bounded app and http NDJSON files.

Analyze both bounded files while reading and validating every physical line:

npm run logs:analyze -- \

--since "2026-08-22T16:31:22.401228537Z" \ --pretty \ --out railway-diagnostic-report.json \ railway-diagnostic-app.ndjson railway-diagnostic-http.ndjson

The report includes per-file coverage, empty/valid/invalid line counts, timestamp bounds, separation of Diogo-*, RailwayHealthcheck, known probes or indexers and potentially external traffic, journey reconstruction and funnel stopping points. It joins application railwayRequestId values to Railway HTTP requestId values, understands HTTP clientUa, groups server-generated journey IDs by fingerprint and temporal proximity, and counts only accepted normalized feedback. It deliberately does not treat an isolated 402 as purchase intent and does not infer human identity or motivation from request metadata.

Ready-to-Run x402 Buyer

The r

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