Nested Create ID Locator

Created resource IDs are often buried under nested JSON or a Location header, and a client that only looks at top-level id misses the record it just created. $0.001 per call, USDC via x402 or MPP. Walks a response body and headers for id-like values (uuid, ulid, numeric, Location) and returns each path plus a best pick. An empty call locates a built-in nested create response.

No account and no API key. Pay per successful call with MPP on Tempo (USDC.e or pathUSD). Invalid input or an upstream failure returns 402 and is not charged.

Routes

RoutePriceWhat you get
POST /v1/nested-id$0.001Nested Create ID Locator
Created resource IDs are often buried under nested JSON or a Location header, and a client that only looks at top-level id misses the record it just created. $0.001 per call, USDC via x402 or MPP. Walks a response body and headers for id-like values (uuid, ulid, numeric, Location) and returns each path plus a best pick. An empty call locates a built-in nested create response.

Copy-paste examples

These call POST /v1/nested-id ($0.001) — Nested Create ID Locator. Swap the path for any other route in the table.

mppx CLI

npx mppx https://nested-create-id-locator.fmf-x402.workers.dev/v1/nested-id -X POST -H 'content-type: application/json' -d '{"body":{"data":{"item":{"uuid":"1b8e0c2a-6f44-4d3a-9c1e-2a7f0b91d4aa","name":"mug"},"links":{"self":"/orders/1002"}},"meta":{"request_id":"req_demo_1"}},"headers":{"location":"https://api.example.com/orders/1002"}}'

The CLI creates or reuses a Tempo account in your keychain and pays the 402 automatically. See mpp.dev/sdk.

curl (unpaid — shows the 402, not charged)

curl -i -X POST https://nested-create-id-locator.fmf-x402.workers.dev/v1/nested-id -H 'content-type: application/json' -d '{"body":{"data":{"item":{"uuid":"1b8e0c2a-6f44-4d3a-9c1e-2a7f0b91d4aa","name":"mug"},"links":{"self":"/orders/1002"}},"meta":{"request_id":"req_demo_1"}},"headers":{"location":"https://api.example.com/orders/1002"}}'

TypeScript SDK (mppx)

import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

Mppx.create({
  methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})

// Global fetch now pays the 402 automatically.
const res = await fetch('https://nested-create-id-locator.fmf-x402.workers.dev/v1/nested-id', {
  method: 'POST',  headers: {
    'content-type': 'application/json',
  },
  body: JSON.stringify({"body":{"data":{"item":{"uuid":"1b8e0c2a-6f44-4d3a-9c1e-2a7f0b91d4aa","name":"mug"},"links":{"self":"/orders/1002"}},"meta":{"request_id":"req_demo_1"}},"headers":{"location":"https://api.example.com/orders/1002"}}),
})
console.log(await res.json())

Python SDK (pympp)

# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo

account = TempoAccount.from_key("0x...")

async def main():
    async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
        response = await mpp.fetch("https://nested-create-id-locator.fmf-x402.workers.dev/v1/nested-id", method="POST", json={"body":{"data":{"item":{"uuid":"1b8e0c2a-6f44-4d3a-9c1e-2a7f0b91d4aa","name":"mug"},"links":{"self":"/orders/1002"}},"meta":{"request_id":"req_demo_1"}},"headers":{"location":"https://api.example.com/orders/1002"}})
        print(await response.json())

asyncio.run(main())

MCP config (Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "fmf-mpp-nested-create-id-locator": {
      "url": "https://nested-create-id-locator.fmf-x402.workers.dev/mcp"
    }
  }
}

Transport is Streamable HTTP at https://nested-create-id-locator.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.

Sources and licences

Operated by FMF Tools (fmf-tools@agentmail.to). Pay-per-call only; no API key and no account. Invalid input or an upstream failure returns 402 and is not charged.

Sister services