NodeProxy
MCP server that converts web pages to clean Markdown for LLMs via two paid tools: surface_markdown_parser and stealth_markdown_parser.
README
NodeProxy
Self-discoverable MCP utility for autonomous agents — no ads, no landing page, no human in the loop.
NodeProxy exposes two paid tools:
| Tool | Endpoint | Price | Use case |
|---|---|---|---|
surface_markdown_parser |
POST /mcp/execute |
$0.002 USDC | Normal public pages |
stealth_markdown_parser |
POST /stealth-scrape |
$0.05 USDC | Cloudflare/Akamai-protected sites |
Both fetch a public URL, strip scripts/ads/nav noise, and return compressed Markdown optimized for LLM context windows. Standard tier also accepts Stripe MPP card payments ($0.50 minimum) alongside x402 USDC.
Agents find this service through MCP registries, x402 Bazaar discovery, and machine-readable manifests — not marketing.
Why agents need this
Heavy React/Vue sites burn tokens when agents ingest raw HTML. NodeProxy returns clean Markdown so autonomous retrieval loops stay cheap and accurate. When basic fetch hits bot walls, the stealth tier escalates with proxy rotation, hardened Playwright, and optional CAPTCHA solving.
Architecture
Autonomous Agent
│ search MCP registry / Bazaar (vector or keyword)
▼
GET /mcp/tools or MCP list_tools
│ reads JSON schema ("Machine UI")
▼
POST /mcp/execute or POST /stealth-scrape
│ no payment → 402 + PAYMENT-REQUIRED (+ Bazaar extension)
│ x402 PAYMENT-SIGNATURE or MPP Authorization: Payment …
│ facilitator verify/settle → parse URL
▼
Markdown payload → agent continues task
Quick start
cd NodeProxy
cp .env.example .env
# Set WALLET_ADDRESS to your Base wallet
npm install
npm run dev
Endpoints (replace host with your deploy URL):
| Endpoint | Purpose |
|---|---|
GET /health |
Service status, pricing, stealth/MPP config |
GET /mcp/tools |
Tool catalog for registry crawlers |
POST /mcp/execute |
Standard parse + x402/MPP gate |
POST /stealth-scrape |
Stealth parse + x402 gate |
ALL /mcp |
Streamable HTTP MCP transport |
GET /.well-known/mcp.json |
Well-known MCP discovery |
GET /.well-known/x402.json |
x402 + Bazaar discovery manifest |
GET /.well-known/mpp.json |
MPP Stripe manifest (when configured) |
GET /discovery/agent.json |
Agent discovery card |
GET /registry/server.json |
Live registry manifest (dynamic) |
Environment
| Variable | Default | Description |
|---|---|---|
WALLET_ADDRESS |
— | USDC recipient (your revenue) |
PRICE_USDC |
0.002 |
Standard tier price per parse |
STEALTH_PRICE_USDC |
0.05 |
Stealth tier price per parse |
X402_NETWORK |
eip155:84532 |
Primary network; use eip155:8453 on mainnet |
X402_NETWORKS |
CDP bundle | Comma-separated CAIP-2 ids (Base, Polygon, Arbitrum, optional Ethereum L1) |
FACILITATOR_URL |
https://x402.org/facilitator |
x402 facilitator |
CDP_API_KEY_ID / CDP_API_KEY_SECRET |
— | Coinbase CDP facilitator (mainnet) |
MPP_SECRET_KEY / STRIPE_SECRET_KEY |
— | Stripe MPP on /mcp/execute |
STEALTH_PROXY_URLS |
— | Comma-separated proxy URLs for stealth tier |
CAPTCHA_SOLVER_KEY |
— | 2captcha API key (optional) |
PUBLIC_URL |
localhost | Used in discovery manifests |
Machine discovery (zero advertising)
- Deploy to Railway or any HTTPS host.
- Verify live manifests:
/mcp/tools,/.well-known/x402.json,/registry/server.json. - Submit PR to the open-source MCP Registry using
integrations/mcp-registry/server-entry.json. - Bazaar auto-index: after successful x402 settlements through a Bazaar-enabled facilitator, tools appear in the global Bazaar index (Bazaar docs). NodeProxy attaches Bazaar extension metadata on every 402 response.
- Enterprise hubs (Google Agent Registry, Anthropic routing): point them at
/.well-known/mcp.jsonor/discovery/agent.json.
Tool descriptions are written for LLM tool-matching, not humans.
Payment rails
| Rail | Tools | Destination | Amount |
|---|---|---|---|
| x402 USDC | Standard + stealth | Your WALLET_ADDRESS |
$0.002 / $0.05 |
| Stripe MPP | Standard only | Stripe account balance | $0.50/card (SPT minimum) |
MCP stdio (Claude Desktop / local agents)
npm run mcp:stdio
Add to Claude Desktop config:
{
"mcpServers": {
"nodeproxy": {
"command": "node",
"args": ["--import", "tsx", "/path/to/NodeProxy/src/mcp/stdio.ts"],
"env": { "WALLET_ADDRESS": "0x..." }
}
}
}
HTTP execute example
# Stage A — get 402 challenge (includes Bazaar extension in PAYMENT-REQUIRED)
curl -i "http://localhost:4022/mcp/execute" \
-H 'Content-Type: application/json' \
-d '{"arguments":{"url":"https://example.com"}}'
# Stage B — retry with PAYMENT-SIGNATURE from x402 client wallet
curl "http://localhost:4022/mcp/execute" \
-H 'Content-Type: application/json' \
-H 'PAYMENT-SIGNATURE: <base64>' \
-d '{"arguments":{"url":"https://example.com"}}'
# Stealth tier (x402 only)
curl -i "http://localhost:4022/stealth-scrape" \
-H 'Content-Type: application/json' \
-d '{"arguments":{"url":"https://example.com"}}'
Use @x402/fetch, @x402/mcp, or nodeproxy-tools for automatic payment.
Deploy on Railway
Railway is the recommended host: full Node.js (JSDOM works), no 15s serverless timeout, metered billing when idle.
1. Push to GitHub
cd NodeProxy
git init && git add . && git commit -m "NodeProxy MCP x402 parser"
git remote add origin https://github.com/YOU/nodeproxy.git
git push -u origin main
2. Create Railway project
- Go to railway.app → New Project → Deploy from GitHub repo
- Select your repo — Railway reads
railway.toml+nixpacks.tomlautomatically - Settings → Networking → Generate Domain (gives you
*.up.railway.app)
3. Set environment variables
In Railway → Variables:
| Variable | Value |
|---|---|
WALLET_ADDRESS |
Your Base wallet (USDC recipient) |
X402_NETWORK |
eip155:8453 |
PRICE_USDC |
0.002 |
STEALTH_PRICE_USDC |
0.05 |
CDP_API_KEY_ID / CDP_API_KEY_SECRET |
Coinbase CDP keys (mainnet facilitator) |
MPP_SECRET_KEY / STRIPE_SECRET_KEY |
Stripe MPP (optional) |
HOST |
0.0.0.0 |
MAX_CONCURRENT_PARSES |
20 |
RATE_LIMIT_PER_MINUTE |
120 |
You do not need to set PORT or PUBLIC_URL — Railway injects PORT, and the app auto-detects RAILWAY_PUBLIC_DOMAIN for discovery manifests.
4. Verify deploy
curl https://YOUR-APP.up.railway.app/health
curl https://YOUR-APP.up.railway.app/mcp/tools
curl https://YOUR-APP.up.railway.app/.well-known/x402.json
5. Register for agent discovery
Open a PR to the MCP Registry with integrations/mcp-registry/server-entry.json. Agents hit:
https://YOUR-APP.up.railway.app/mcp/toolshttps://YOUR-APP.up.railway.app/.well-known/mcp.jsonhttps://YOUR-APP.up.railway.app/.well-known/x402.json
Cost expectation
Railway’s free tier gives ~$1/month credit after trial — enough for low traffic (~$0.30–0.50/mo idle). One paid agent call at $0.002 USDC covers that. Scale to Hobby ($5/mo) when bot traffic grows.
Do not use Vercel/Cloudflare Workers for this service — JSDOM and 25s fetch timeouts exceed edge limits.
Production (Base mainnet)
X402_NETWORK=eip155:8453
WALLET_ADDRESS=0xYourWallet
PRICE_USDC=0.002
STEALTH_PRICE_USDC=0.05
USDC on Base: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
Upstream framework integrations
To get NodeProxy baked into LangChain, CrewAI, and MCP registry discovery:
- integrations/UPSTREAM.md — fork → PR → merge playbook
integrations/python/—nodeproxy-toolsPyPI package + LangChain/CrewAI wrappersintegrations/typescript/—@nodeproxy/langchainnpm packageintegrations/mcp-registry/— MCP registry PR template
Quick LangChain example:
pip install "nodeproxy-tools[x402,langchain]"
export EVM_PRIVATE_KEY=0x...
from nodeproxy_tools.langchain import NodeProxyMarkdownTool
tool = NodeProxyMarkdownTool()
markdown = tool.invoke({"url": "https://example.com"})
Naming
NodeProxy is registry-ready: boring, predictable, and reads as infrastructure. Tool names (surface_markdown_parser, stealth_markdown_parser) are chosen so semantic search hits match intent.
License
MIT
Part of Gate402
This service is part of the Gate402 x402 agent-API suite — pay-per-call APIs for AI agents over HTTP 402 (USDC on Base). Use it standalone, through the unified storefront + CDP x402 Bazaar at gate402.app, or as an MCP server: npx -y gate402-mcp.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。