> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tattoo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# HTTP, MCP, and CLI

> Same TattooAPI contracts across REST, MCP, and the tattoos CLI — what is live vs unavailable.

TattooAPI exposes one contract surface. Prefer documented operations only; anything not listed here or in the [surface map](https://docs.tattoo.dev/api-reference/surface-map.md) is unavailable until implemented.

## HTTP (REST)

Base URL: `https://api.tattooapi.com`

Authenticate with `X-API-Key` (WorkOS organization API key mapped in TattooAPI). OpenAPI: [openapi.json](https://api.tattooapi.com/openapi.json) and the [API Reference](https://docs.tattoo.dev/api-reference/introduction.md).

Typical read flow:

1. `GET /api/v1/studios` / `GET /api/v1/artists` / `GET /api/v1/portfolios`
2. Search via documented search routes
3. Portfolio intake and owner mutations require additional scopes — see Authentication

## MCP

* **Product MCP (tattoo.dev):** `https://tattoo.dev/mcp` — directory search, portfolio, booking handoffs (UCP). See [skill.md](https://tattoo.dev/skill.md) and [/.well-known/ucp](https://tattoo.dev/.well-known/ucp).
* **Docs MCP (read-only docs):** `https://docs.tattoo.dev/mcp` — search published documentation only; does not authorize API data access. Setup: [Documentation MCP](https://docs.tattoo.dev/guides/mintlify-docs-mcp.md).

## CLI

Browser playground (no install): [https://tattoo.dev/playground](https://tattoo.dev/playground)

Local CLI (same tools as MCP/HTTP where implemented):

```bash theme={"dark"}
npx tattoos --help
```

Examples mirror MCP tool names (`search_directory`, `get_portfolio`, `get_booking_options`, `create_checkout`). Checkout `status: completed` is the only booking confirmation; external URLs are handoffs, not payments.

## Parity rules

| Surface | Auth | Purpose |
| - | - | - |
| HTTP | `X-API-Key` | Application data |
| Product MCP | session / key as documented on tattoo.dev | Agent tools |
| Docs MCP | none (docs read) | Documentation search |
| CLI | same as HTTP/MCP for live tools | Local/agent scripting |

Unimplemented marketplace/software-market endpoints remain **unavailable** until verified in source and deployment — do not invent them in clients.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.