In this section: MCP overview

MCP overview

Learn how to connect to the Miles MCP server and what access it provides.

The server

https://mcp.askmiles.ai/mcp, streamable HTTP, OAuth 2.1 with dynamic client registration. It puts an agent's own reasoning on top of a user's real wallet: their cards, their valuations, their balances, their certificates. Miles returns data and arithmetic; the calling model decides what to do with it, on the caller's tokens. No tool on this server spends a Miles model call.

The server identifies itself as askmiles with the display title Miles. A client alias is whatever you named it when you added it.

ConnectConnect over MCP for a person's own agent; OAuth app for an app acting for someone else
Tools58, listed with every parameter under MCP tools; one flat file for agents at /docs/mcp/tools.md
Resourcemiles://guidance/working-with-miles: how to read a capped or conditional rate, when a missing field means unknown rather than no. Advisory, not enforced.
Promptpoints_question, taking one question argument

Scopes

ScopeReaches
miles:readEvery read tool. The default when a client requests nothing.
miles:writeThe twenty-three write tools. A toggle on the consent screen, off unless the user turns it on; a token never carries it otherwise.
miles:write:reconcileJust set_credit_usage, clear_credit_usage, set_free_night_status, set_certificate_status, set_status_entitlement, undo_status_entitlement, set_balances, undo_balance_write, set_cap_status and clear_cap_status: a second, narrower toggle a user can grant. miles:write already covers it.

A refusal for a missing scope carries the code write_scope and names the consent toggle that grants it. Re-grant access with the toggle on. A spent ceiling resets. A Membership refusal does not reset. See Quotas and refusals.

Membership

Even with miles:write granted, Membership is required for eleven of the twenty-three write tools, namely set_valuation, reset_valuation, set_certificate_status, set_status_entitlement, undo_status_entitlement, set_free_night_status, set_elite_status, remove_elite_status, add_to_watchlist, remove_from_watchlist and update_watchlist_entry. Adding and removing cards and gift cards is free, and so are most card edits. Recording credit usage is free too, but without Membership get_credit_usage and the credit writes leave out totals and each row's history. The refusal arrives as an isError result with the code supporter_required; the code keeps its historical spelling. The refusal does not reset. update_card draws the line by field: a product change, or an edit to a dossier field such as retention_offers, disposition or review_by, needs Membership, and comes back as a result whose error is supporter_required.

Third-party clients

A token minted to a registered OAuth app gets the same tool results as a person's own agent: the server applies one boundary to every connection. A gift card's number and notes are never echoed back, and a wallet card's internal URL keys are withheld, with a note naming what was left out. Household member names are included.

The schema promise

A shipped tool's declared parameters are never renamed or removed. A breaking change ships as a new tool name with a deprecation window on the old one; a new optional parameter or a new tool can appear at any time. The exceptions on record are listed on Stability.

Not every capability is a tool

Fifteen registry entries are deliberately withheld from this server, among them the snapshot generator and an expression calculator. Tools the MCP server withholds says which and why.