get_service_info
Describe the Merchant Context service, price, and inspection checks.
Takes no parameters.
io.github.ihintPublished by GitHub account ihintv0.3.0Updated Oct 24, 2026
Resolve sourced merchant facts and safe actions before an agent acts.
Remote MCP service that gives agents sourced merchant facts, offer comparisons and merchant-owned action handoffs before they act.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.ihint%2Fmerchant-context/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"merchant-context": {
"type": "http",
"url": "https://api.merchant.atomandbits.com/mcp"
}
}
}Merchant Context is an open merchant preflight for agent builders.
It starts with a practical question:
Can an agent tell what you sell, who it is for, what it costs, which rules apply, and what action comes next without guessing?
This repo contains:
The domain schema and schema/merchant-context.schema.json
must stay semantically equal. Versioned releases preserve old contracts.
This is an early public draft from Atom & Bits. It is not a new payment or checkout protocol. It does not certify ACP, UCP, MCP, A2A, x402, or Web Bot Auth support.
The UCP profile declares no services, checkout capabilities, or payment handlers. It gives agents an explicit discovery response without claiming operations that do not exist.
The goal is to give merchants one testable context layer that can map to those systems as they mature.
No outside adoption is claimed from internal tests, registry views, repository activity, or self-funded payments.
https://api.merchant.atomandbits.com/mcpresolve_merchantPOST https://api.merchant.atomandbits.com/v1/resolverefresh_merchantPOST https://api.merchant.atomandbits.com/v1/refresh0x2f0f…57afThe first paid call settled on 2026-08-04 and returned a live inspection of
https://merchant.atomandbits.com.
python3 scripts/validate.py before publishing.The remote MCP endpoint works with clients that support Streamable HTTP:
Start with resolve_merchant.
It is free.
A cache hit makes no merchant fetch and no paid inspection call.
See the agent integration guide for Codex, Claude Code, Gemini CLI, Cursor, and the OpenAI Responses API.
Agents that support the open Agent Skills format can use
skills/merchant-context.
The worker directory contains the hosted MCP service under test. It exposes:
resolve_merchant, a free sourced merchant record with freshness, unknowns, safe actions, and attribution;search_merchants, a neutral search over cached sourced records;compare_offers, a sourced comparison that keeps unknown values;get_safe_actions, a merchant-owned action handoff with approval and recovery rules;preflight, the reusable resolution and action gate;check_merchant, a free merchant-site diagnostic;refresh_merchant, a $0.01 x402 fresh inspection that needs explicit approval;inspect_merchant, a first-release compatibility alias for paid refresh;/v1; and/.well-known/merchant-context, a public service record for agents and registries.The inspector accepts public HTTPS origins only. It blocks local and IP targets, checks each redirect, caps response size and time, and returns no page body. The payment path records hashes, not wallet addresses or signed payment tokens.
Run its local checks:
Issues, examples, and corrections are welcome. Read CONTRIBUTING.md before opening a pull request.
MIT. See LICENSE.
Source: README.md at commit 846761e
Describe the Merchant Context service, price, and inspection checks.
Takes no parameters.
Run a free merchant-site diagnostic. Agents should use resolve_merchant before relying on merchant facts or actions.
merchant_urlrequiredResolve cached merchant identity, sourced facts, offers, terms, freshness, and safe actions for free. Call this before relying on merchant facts or starting an action.
client_idmerchant_urlrequiredSearch cached merchant records by sourced offer, place, price, timing, policy, action support, and freshness. Payment and adoption never change order.
policytimingclient_idfreshnessgeographyaction_typeitem_or_servicemax_stale_secondsmaximum_price_amountmaximum_price_currencyCompare only sourced offer fields from two or more merchants. Unknown values stay unknown and payment never changes order.
client_idmerchant_urlsrequiredReturn current merchant-owned action URLs, exact inputs, authority, confirmation, expiry, retry rules, recovery, and attribution.
client_idaction_typemerchant_urlrequiredallowed_authorityhuman_confirmation_availableResolve one merchant, evaluate sourced intent constraints, select a safe action, state approval, and return attribution.
timingclient_idgeographyaction_typemerchant_urlrequireditem_or_serviceallowed_authoritymax_stale_secondsmaximum_price_amountmaximum_price_currencyhuman_confirmation_availableRefresh merchant evidence
Pay for a fresh merchant inspection and cache refresh. Show the price and get explicit human approval first.
agent_idrequiredapprovedrequiredmerchant_urlrequiredRefresh merchant evidence
Compatibility alias for refresh_merchant. Show the price and get explicit human approval first.
agent_idrequiredapprovedrequiredmerchant_urlrequired100% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
https://api.merchant.atomandbits.com/mcpcd workernpm installnpm testnpm run typechecknpx wrangler deploy --dry-run