# agentx.sale WebMCP Upgrade Generator

> agentx.sale WebMCP Upgrade Generator is a paid API for AI agents from agentx.sale, paid per call via x402, $4/call, status unknown (last checked 2026-10-22).

Fetches a website, analyses its monetization journey, and generates a complete, syntax-validated webmcp.js tool file with schemas, hints, and publish instructions.

## Facts

- Endpoint: POST https://agentx.sale/x402/webmcp-upgrade?utm_source=zero.xyz
- Price: $4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentx-sale-webmcp-upgrade-generator-13671bbc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZZiCLlXOs1kfnGDdKfhPA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentx-sale-webmcp-upgrade-generator-13671bbc -d '<json body>'
```

Example prompt: Upgrade my site at https://example.com to be agent-callable — fetch it, figure out the money journey, and generate a complete validated webmcp.js tool file with publish instructions I can drop in right away.

## When to prefer this

Choose this endpoint when you need to fully bootstrap a site's WebMCP tooling from scratch in one step — it combines site fetching, monetization analysis, schema generation, and syntax validation into a single paid call. Prefer it over a manual WebMCP audit endpoint when you want an immediately deployable artifact, not just a compatibility report. It is especially useful for developers who want to make an existing website agent-callable without writing tool schemas by hand.

## Known failure modes

- URL is unreachable or returns non-200 — endpoint cannot fetch the site content
- Website has anti-bot protection blocking the fetch — incomplete analysis
- URL is malformed or missing — 400 validation error
- Site content is too sparse or ambiguous to determine a money journey — may set needs_human_craft to true
- Payment of $4 USDC not completed — x402 payment required error
- Generated file fails syntax validation — syntaxValidated returns false with details

## How this service works

WebMCP upgrade order: the gateway fetches your site, analyses the money journey, generates a complete webmcp.js tool file (schemas, hints, syntax-validated) and delivers it with publish instructions. POST JSON {url, notes?}

## Output

Returns a JSON object containing a syntax-validated webmcp.js artifact file (identified by filename such as 'webmcp-example.com.js'), a boolean indicating whether human crafting is still needed, a syntaxValidated flag confirming the generated code is error-free, and accompanying publish instructions explaining where and how to deploy the file.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "notes": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "syntaxValidated": true,
  "artifactFilename": "webmcp-example.com.js",
  "needs_human_craft": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentx-sale-webmcp-upgrade-generator-13671bbc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentx.sale](https://www.zero.xyz/host/agentx.sale/llms.txt)
