macaroonnetwork-mcp
MCP discovery router for Macaroon Network, a marketplace where agents find evidence-backed products and pay per successful query.
The payment rail exposed by this release is x402 using USDC on Base mainnet. The package never holds a wallet or signs a payment. It returns the exact x402 challenge for the caller's own wallet infrastructure to sign, then accepts that signed proof on the retry.
Tools
macaroons_search— search sale-ready products by natural-language intent. Free.macaroons_metadata— retrieve free freshness and content-hash metadata for a feed target.macaroons_categories— retrieve the canonical category registry and exact mapped-product counts. Free.macaroons_discover_mcp— retrieve evidenced live Macaroon MCP servers and their transports. Free.macaroons_sources— retrieve reviewed source and rights records, with explicit partial-coverage reporting. Free.macaroons_execute— execute an x402 USDC product and receive the predicate-verified result and receipt.
Paying with x402
When a product needs payment, macaroons_execute returns an
x402_payment_required result instead of hiding the challenge:
{
"x402_payment_required": true,
"resource_url": "https://api.macaroonnetwork.com/execute/...",
"amount_atomic": "3000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "eip155:8453",
"pay_to": "0x33cc...",
"extra_name": "USD Coin",
"extra_version": "2",
"max_timeout_seconds": 60,
"x402_version": 2
}
Sign the exact payment described by the challenge with your own wallet or
Coinbase CDP infrastructure. Then call macaroons_execute again with identical
arguments plus payment_signature. x402 exact settlement uses one signed
retry; there is no invoice-polling flow.
Install
pip install macaroonnetwork-mcp
Use with an MCP client
{
"mcpServers": {
"macaroonnetwork": {
"command": "macaroonnetwork-mcp"
}
}
}
The default registry is https://api.macaroonnetwork.com. For local
development, override it with MACAROONS_REGISTRY_URL.
License
MIT
Release files for macaroonnetwork-mcp 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| macaroonnetwork_mcp-0.4.0.tar.gz | 29.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| macaroonnetwork_mcp-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.9 kB
Release files / macaroonnetwork_mcp-0.4.0.tar.gz
| Download URL | macaroonnetwork_mcp-0.4.0.tar.gz |
|---|---|
| Size | 29.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d76272962ea6472ca6f485cfa83ed6e064f37e464d0bf3ae74e08cebc9729982
|
|
BLAKE2b-256 checksum How to use checksums |
32f2d04e48766f3ef6b6ae492d99f6552ede3ffd00ac99198da5305f9bb68952
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency logRelease files / macaroonnetwork_mcp-0.4.0-py3-none-any.whl
| Download URL | macaroonnetwork_mcp-0.4.0-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e362c8e5a0f08baba648fffb8c0e37d3903d50b5ac32d4dca50706d9a9ddc0d0
|
|
BLAKE2b-256 checksum How to use checksums |
e4bd3fd1a711e78006d4e13e4885c084e58483f05f004b07fc83ed3a79e902f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency log