# Authentication for agents - mhidalgo.ar

**No credentials are needed.** The mhidalgo.ar API (`https://api.mhidalgo.ar/api/v1/`) and MCP
server (`https://api.mhidalgo.ar/mcp`) are public and read-only. Call them directly. There are no
API keys, no accounts, no OAuth flows and no tokens to obtain, refresh or revoke. Nothing either
service returns is private: the dataset is the public edition of Matias Hidalgo's portfolio, and it
never includes a phone number or a birthdate.

This file follows the section layout of the [auth.md convention](https://github.com/workos/auth.md)
so an agent looking for each step finds an explicit answer instead of a gap.

## Discover

- REST API: `https://api.mhidalgo.ar/api/v1/` (index), described by
  `https://api.mhidalgo.ar/openapi.json` (OpenAPI 3.1, `security: []`).
- MCP server: `https://api.mhidalgo.ar/mcp`, card at `https://api.mhidalgo.ar/mcp/server-card`.
- Catalogs: `https://mhidalgo.ar/.well-known/api-catalog` (RFC 9727) and
  `https://mhidalgo.ar/.well-known/ard.json`.
- There is no `/.well-known/oauth-protected-resource` and no
  `/.well-known/oauth-authorization-server`, because there is no protected resource.

## Pick a method

Anonymous. The only identity type this service supports is `anonymous`; it does not accept an
`identity_assertion` (no ID-JAG) and has no `service_auth`. There is no `agent_auth` block and no
`identity_endpoint` to call.

## Register

Not needed. No client registration, no sign-up, no email verification.

## Claim

Not applicable: there is nothing to claim and no `claim_endpoint`.

## Exchange

Not applicable: no token exchange happens. Send requests without an `Authorization` header.

## Use the access_token

There is no access token. Requests look like this:

```sh
curl 'https://api.mhidalgo.ar/api/v1/profile.json?lang=en'

curl -X POST https://api.mhidalgo.ar/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

## Errors

Errors are JSON (`{"error": "..."}`) with a plain status: `400` for an unknown `lang`, `404` for an
unknown path or project slug, `405` for a wrong method, `500` for an internal fault (the cause is
logged, never returned). Neither service ever answers `401` or `403`, and never sends
`WWW-Authenticate`: if one does, it is not this API.

## Revocation

Not applicable: there are no credentials to revoke.

## Contact

Matias Hidalgo - me@mhidalgo.ar - https://mhidalgo.ar/developers/
