About agentcash
Generic MCP server for calling x402-protected APIs with automatic payment handling
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
11Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | The endpoint URL |
| body | any | No | Request body. Can be a string or an object that will be stringified. |
| method | enum | No | HTTP method. Defaults to GET for fetch operations.GET | POST | PUT | DELETE | PATCH |
| headers | object | No | Additional headers to include as a key-value pair |
| timeout | integer | No | Request timeout in milliseconds |
| maxAmount | number | No | Maximum amount (in USD) to pay per request. Aborts if the endpoint requests more. Defaults to $5. Pass a higher value for known-expensive endpoints. |
| paymentNetwork | enum | No | Chain to use for SIWX and payment when applicable. If not specified, the network will be auto-detected.base | solana | tempo |
| paymentProtocol | enum | No | Payment protocol to use when payment is required. If not specified, the payment protocol will be auto-detected.x402 | mpp |
Details
The maintainer has not added details yet. Check the README in the repository.
Comments
Markdown supported
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.