# auth.md

Machine-readable authentication guide for AI agents interacting with The Service Marketing Guys.

## Agent audience

AI agents and automated clients using this site's public agent surfaces, and provisioned users connecting to the platform's authenticated MCP servers.

## Public access: no authentication, no registration

These surfaces are open to any agent, no credentials required:

- MCP server (streamable HTTP): https://www.theservicemarketingguys.com/api/mcp (server card: https://www.theservicemarketingguys.com/.well-known/mcp/server-card.json)
- Capability catalog: https://www.theservicemarketingguys.com/.well-known/ai-catalog.json
- API catalog: https://www.theservicemarketingguys.com/.well-known/api-catalog (OpenAPI schema: https://www.theservicemarketingguys.com/api/openapi.json)
- Site guides: https://www.theservicemarketingguys.com/llms.txt and https://www.theservicemarketingguys.com/llms-full.txt

The public MCP server is read-only. Use https://www.theservicemarketingguys.com/audit and https://www.theservicemarketingguys.com/contact for user-reviewed audit, booking, and inquiry flows.

## A2A agent: no authentication

- Endpoint (A2A 1.0, JSON-RPC): https://www.theservicemarketingguys.com/api/a2a (agent card: https://www.theservicemarketingguys.com/.well-known/agent-card.json)
- What it does: answers questions about The Service Marketing Guys from this site's published content. It cannot send contact requests, book calls or start audits.
- Send SendMessage with the header A2A-Version: 1.0. Each message is answered on its own, with no memory of earlier ones. Text only, up to 2,000 characters.
- Messages are processed by an AI model (Anthropic's Claude) and logged for review by The Service Marketing Guys. Limits per address and per day apply. No credentials, no registration.
## Authenticated access: OAuth 2.0 bearer tokens

Two OAuth-protected MCP servers exist for provisioned users:

- Team MCP: protected resource metadata at https://www.theservicemarketingguys.com/.well-known/oauth-protected-resource/api/team-mcp
- Client owner MCP: protected resource metadata at https://www.theservicemarketingguys.com/.well-known/oauth-protected-resource/api/client-mcp

Supported method: OAuth 2.0 authorization code flow with the authorization server named in each protected resource document (WorkOS AuthKit). Credential type: short-lived bearer access tokens presented per the MCP authorization specification. Identity types: human user accounts provisioned by the platform. No anonymous, service-account, or identity-assertion (ID-JAG) flows are offered.

## Registration

The authorization server supports OAuth 2.0 dynamic client registration (RFC 7591), so MCP clients and connectors can register a client application without prior arrangement. Registration alone grants no access: every token requires an interactive sign-in by a provisioned user, and user accounts are created by invitation only, for platform clients and staff. There is no self-serve or anonymous account creation. To request a user account, use https://www.theservicemarketingguys.com/contact.

## Agent registration metadata

```json
{
  "agent_auth": {
    "skill": "https://www.theservicemarketingguys.com/auth.md",
    "register_uri": "https://wondrous-dress-64-staging.authkit.app/oauth2/register",
    "registration_methods": [
      {
        "method": "oauth_dynamic_client_registration",
        "registration_endpoint": "https://wondrous-dress-64-staging.authkit.app/oauth2/register",
        "grant_types": [
          "authorization_code",
          "refresh_token"
        ],
        "code_challenge_methods": [
          "S256"
        ],
        "note": "Client registration is open (RFC 7591). Every access token additionally requires an interactive sign-in by a user account provisioned by invitation; there is no anonymous or identity-assertion flow."
      }
    ],
    "identity_types_supported": [
      "user_account"
    ],
    "credential_types_supported": [
      "oauth2_bearer_access_token"
    ]
  }
}
```


## Revocation

Provisioned access is revoked by the platform on request through the same contact channel. Bearer tokens are short-lived and expire on their own.
