rewrite — k402 MCP Tool
rewrite
(rewrite) is one of 36 tools on the
k402
MCP server. Connect the server and your client discovers it on the handshake.
by client
How to call rewrite from your client
- Claude Code k402 rewrite run in your project directory
- Claude Desktop k402 rewrite ~/Library/Application Support/Claude/claude_desktop_config.json
- Cursor k402 rewrite ~/.cursor/mcp.json
- VS Code k402 rewrite .vscode/mcp.json
- Zed k402 rewrite ~/.config/zed/settings.json
- Windsurf k402 rewrite ~/.codeium/windsurf/mcp_config.json
- Cline k402 rewrite ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Gemini CLI k402 rewrite ~/.gemini/settings.json
- Grok k402 rewrite .mcp.json (in your project root)
- ChatGPT k402 rewrite Settings → Connectors → Advanced → Developer mode
- Claude.ai k402 rewrite Settings → Connectors → Add custom connector
- LangChain k402 rewrite pip install langchain-mcp-adapters
Fastest route
claude mcp add --transport http k402 https://x402-compute.68cxgfyr0.workers.dev/mcp
Other tools on this server
- catalog
- open_session
- use_session
- session_status
- registry_search
- registry_provider
- channel_config
- channel_status
- payment_options
- pay_per_call
- summarize
- extract
- classify
- read_url
- embed_text
- search_index
- search_query
- kaspa_balance
- kaspa_utxos
- kaspa_tx_status
- kaspa_fee_estimate
- kaspa_network
- generate
- covenant_compile
- covenant_address
- covenant_utxos
- covenant_build
- covenant_check
- covenant_broadcast
- prove_guest_upload
- prove_preflight
- prove_submit
- job_status
- job_result
- attest_verify
This list was read from the server itself, by connecting to it and calling tools/list on 24 September 2026. It is what
the server actually exposes, not what its listing claims.
Mutating and Read-only are read off each tool's name, not its schema — a hint, not a guarantee. The registry stores tool names only; connect the server for its live schemas.