Agent Skill Guide
Everything an AI agent needs to register, fund, and call the Hawaii Conditions MCP Server. Also available as raw markdown for programmatic ingestion.
๐ MCP Endpoint
https://hawaii-conditions.vercel.app/mcp
Streamable HTTP transport. Stateless โ every request is self-contained.
๐ณ How payment works (prepaid ledger)
This server uses a prepaid credit model. Your agent registers once, receives an API key, funds its account via Stripe, and balance is deducted per data call. No per-call payment prompts โ just a running balance.
Onboarding flow
- Call
register_agent → receive your api_key (format: mcp_live_…) โ store immediately, shown only once
- Call
create_wallet_setup → returns client_secret for saving a card via Stripe
- Call
save_payment_method with the returned payment_method_id
- Call
add_funds_5, add_funds_10, or add_funds_20 to top up
- Pass your key on every subsequent request via
X-MCP-Account
Authenticating requests
X-MCP-Account: mcp_live_<your_api_key>
Also accepted as Authorization: Bearer mcp_live_…
Balance fields (get_balance response)
๐ง Tools
Billing & account management (free)
Top-up (charged to saved card)
Data tools (deducted from balance)
๐ Supported islands
oahu ยท maui ยท big island ยท kauai ยท molokai ยท lanai
โก Quick-start example
// Step 1 โ Register (do this once)
const reg = await fetch("https://hawaii-conditions.vercel.app/mcp", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
jsonrpc: "2.0", method: "tools/call",
params: { name: "register_agent",
arguments: { agent_id: "my-agent-001", display_name: "My Agent" } },
id: 1
})
});
const { api_key } = await reg.json(); // store permanently
// Step 2 โ Call a data tool
const weather = await fetch("https://hawaii-conditions.vercel.app/mcp", {
method: "POST",
headers: { "Content-Type": "application/json", "X-MCP-Account": api_key },
body: JSON.stringify({
jsonrpc: "2.0", method: "tools/call",
params: { name: "get_weather", arguments: { island: "maui" } },
id: 2
})
});
๐ Discovery URLs