Skip to content

Going live

The checks every server passes before it's listed.

Before a server is listed, Mayfain checks it. While the partner dashboard is built, founding partners run these checks with us. Run them yourself first.

The checks

Tools

  • tools/list returns every tool in the template the business can support (at least the required ones), with the template's names.
  • Each tool returns real data from the business's systems, not placeholders or "please call us".
  • Each tool's _meta has mayfain.ie/vertical, mayfain.ie/capability, mayfain.ie/policyClass, mayfain.ie/public and mayfain.ie/requiredScopes, matching the template.
  • annotations.readOnlyHint is true only for read tools.
  • Descriptions say plainly what the tool does. No instructions to the model, nothing hidden.

Public tools

  • Work with no Authorization header.
  • Return no personal data.
  • Answer in under a second. Agents call them while comparing businesses.

Private tools refuse

  • No token: 401 with WWW-Authenticate naming your protected resource metadata.
  • An expired token: 401.
  • A token for another server (wrong aud): 401.
  • A token not signed by Mayfain, or not ES256: 401.
  • A token without the tool's scopes: 403 with error="insufficient_scope".
  • A token whose grant was withdrawn (introspection says active: false): 401, for write and sensitive tools.

Private tools accept

  • A valid token with the right scopes, and the request reaches the business's real system.

End to end

One full request with a test person: public calls, the person approves, submit, a message back with a choose_slot ask, their answer, then status scheduled.

Test it yourself

# tools/list, no token
curl -s https://mcp.byrne-electrical.ie/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# a private tool with no token must be refused with 401
curl -si https://mcp.byrne-electrical.ie/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"request_job","arguments":{"service":"fault_finding","description":"test","urgency":"flexible"}}}' \
  | head -n 5

Then

Tell us the server's URL and the business's details. We run the checks, a test request goes through, and the business is listed for its vertical and area.

Become a partner · Email us