# Task402 Agent Evidence Tools MCP server

> Provides AI agents with verifiable evidence from PDFs, public webpages, OpenAPI contracts, and Base chain data using a paid toolset.

- Repository: https://github.com/xbckz/task402
- Page: https://hostedmcp.org/servers/xbckz/task402
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 0.3.2

## Install

### Claude Code

```sh
claude mcp add --transport http task402 https://task402.xyz/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "task402": {
      "url": "https://task402.xyz/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "task402": {
      "type": "http",
      "url": "https://task402.xyz/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"task402","type":"http","url":"https://task402.xyz/mcp"}'
```

### Codex

```sh
codex mcp add task402 --url https://task402.xyz/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.task402]
url = "https://task402.xyz/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http task402 https://task402.xyz/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "task402": {
      "url": "https://task402.xyz/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MCP_ALLOWED_ORIGINS` | no | no |  |
| `PAYMENTS_MODE` | no | no |  |
| `PRICE_CHAIN_USD` | no | no |  |
| `PRICE_DOCUMENT_USD` | no | no |  |
| `PRICE_OPENAPI_USD` | no | no |  |
| `PRICE_USD` | no | no |  |
| `PRICE_WEB_EVIDENCE_USD` | no | no |  |
| `PUBLIC_BASE_URL` | no | no |  |
| `X402_ASSET` | no | no |  |
| `X402_FACILITATOR_URL` | no | no |  |
| `X402_NETWORK` | no | no |  |
| `X402_PAY_TO` | no | no |  |

## Tools (4)

- `generate_pdf`
- `web_evidence`
- `inspect_openapi`
- `get_pdf_job`

## FAQ

### Do I need to provide an API key or wallet to discover tools?

No, discovery is free and does not require a local server, API key, or wallet.

### How are paid tools billed?

Paid calls use x402 v2 USDC on the Base chain, and agents must provide explicit wallet approval for each transaction.

### Does the service provide OCR for PDFs?

No, the native-text PDF tools do not provide OCR or verify factual truth.
