# Set up your coding agent

> widar marks AI output for the EU AI Act and California's AI Transparency Act: an invisible watermark and a signed C2PA credential on text, images, audio and video, in one API, by Bynn Intelligence.

Documentation index: https://widar.com/llms.txt

The examples in these docs use invented companies, such as Lumen Labs B.V., and invented values: none is a real check, mark, signature or certificate.

Section: Get started. URL: https://widar.com/docs/agent-setup

Give your coding agent one line. It fetches widar's setup guide, signs up if it has no key, connects the MCP server or calls the API, and marks a first output in test mode.

Updated December 3, 2026

**The one line**

```text
Set up widar for me: fetch https://widar.com/agent-setup.md and follow it.
```

Paste it into Claude Code, Cursor, Codex or any agent that can fetch a page and run commands. The guide is plain Markdown at [/agent-setup.md](https://widar.com/agent-setup.md).

## What your agent does

1. Looks for `WIDAR_API_KEY`. With none, it asks you for an email, a company name, a country and what you want widar for, and signs up with one call that needs no key. The test key in the answer goes into your project's untracked environment file.
2. Connects widar's MCP server at `https://widar.com/mcp`, or calls the API at `https://api.widar.com` directly.
3. Registers your system and chooses its marking path: a plugin for text, the cloud API or the sidecar for images, audio and video.
4. Marks a first output in test mode and checks it, so you see the findings before anything goes live.

> **Your agent asks before it acts.** The guide tells it to ask you before anything runs in live mode, before a certificate is requested, before money is spent and before anything is deleted, and never to print, log or commit a key.

## Connect the MCP server yourself

Most MCP clients take the same JSON. The server needs only its address, over Streamable HTTP; a key in the header opens the account tools.

**MCP client configuration**

Hosted:

```json
{
  "mcpServers": {
    "widar": {
      "url": "https://widar.com/mcp",
      "headers": {
        "Authorization": "Bearer ${WIDAR_API_KEY}"
      }
    }
  }
}
```

Claude Code:

```bash
claude mcp add --transport http widar https://widar.com/mcp \
  --header "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar mcp config
```

## Prompts for one job

The console's Developers screen offers each of these with copy, and `GET /v1/agent_prompts` returns them for your own tools.

**Mark a vLLM server's text**

```text
Add widar marking to this vLLM server: create a plugin key for our text system, add the widar plugin for vLLM that came with our workspace, start the server with it, then check one response with widar.
```

**Sign this app's images**

```text
Sign every image this app generates with widar: register the system, call POST /v1/markings on each output before it is saved, store the marked file, and handle marking_failed by holding the image back.
```

**Receive widar's events**

```text
Add a webhook endpoint for widar's events to this service: verify the Widar-Signature header, handle marking.failed, certificate.expiring and install.not_reporting, and answer 2xx within 10 seconds.
```
