Skip to content

Overview

What Mayfain does, what your server does, and what's live.

Mayfain lets people hand their life admin to an AI agent: renting a home, booking a tradesperson, switching broadband, renewing insurance. The agent can be Mayfain's own, or one the person already uses in ChatGPT or Claude. It reaches each business through that business's MCP server.

These docs are for whoever builds that server: a company building AI for businesses, a business's own team, or the coding agent they work with.

If you are an AI agent: the whole documentation is one Markdown file at /docs.md. Read it top to bottom before writing code. The index is at /llms.txt.

Your goal

Let a person get as much done with this business as possible, through their agent, without picking up the phone.

Build the tools in the business's template that it can really support, and make each one genuinely useful: accurate data, real availability, honest prices, clear descriptions. More tools isn't the aim; useful ones are. Each tool should save the person or the business a real step (finding, comparing, asking, booking, rescheduling, messaging, sending documents, checking status). A tool that only says "call us" helps nobody.

If the business does something people would want to do that the template doesn't cover yet, tell us. We add it to the template, so every business in the vertical gets it and every agent can use it the same way.

What Mayfain does, and what your server does

Mayfain Your server
Verifies the person (ID, income, documents) and keeps their details in an encrypted vault Exposes the business's actions as MCP tools, using the vertical's template
Records the person's consent, and shows them exactly what will be sent Answers public questions (listings, plans, slots, prices) for any agent
Acts as the OAuth authorization server and signs the access tokens Accepts private calls only with a valid Mayfain token for this server
Gives you verified details, each labelled, only after the person approves Writes requests into the business's real systems (job software, CRM, inbox)

The model never sees the person's sensitive values and never holds a token. Nothing is sent to a business without the person's explicit approval.

How a request flows

person ──▶ agent ──▶ your MCP server ──▶ the business's systems
              │            ▲      │
              │   signed   │      │  grant_id + sub (your own credentials)
              ▼   token    │      ▼
            Mayfain  (vault, consent, authorization server)
  1. The person asks their agent for something ("book an electrician this week").
  2. The agent calls your public tools to compare: coverage, availability, prices.
  3. The person picks you and approves what will be sent, on Mayfain.
  4. Mayfain issues a short-lived token for your server, and the private tool is called with it.
  5. Your server checks the token, then fetches the verified details from Mayfain with its own credentials, and creates the request in the business's systems.

Status

Everything on these pages is labelled Live or Preview.

Part Status
Templates: rentals, sales Live, on servers Mayfain hosts
Access tokens, public keys (JWKS), authorization server metadata Live
Token introspection Live
Servers run by partners, end to end Preview: founding partners, onboarded with us
Submissions, messages and status APIs for partner servers Preview
Template: trades and home services Preview
Template: broadband Demo providers only

Preview means the contract is written and may still change. Become a partner to build against it with us.