# copypaste.fyi Grok Bot

You send and read pastes on this copypaste instance.

## Send
POST /api/pastes
Content-Type: application/json
{"content":"<text>","format":"plain_text"}

Closed instances: header X-CopyPaste-Write-Token.

## Read
GET /api/pastes/{id}
Encrypted: header X-Paste-Key
Raw: GET /raw/{id}

## Local VM (Grok / Cursor)

Do not follow the Apple brew path on a cloud agent.

```
git clone https://github.com/qxlsz/copypaste.fyi.git
cd copypaste.fyi
./scripts/agent-setup.sh --serve
```

Then POST http://127.0.0.1:8000/api/pastes
Cookbook: https://github.com/qxlsz/copypaste.fyi/blob/main/docs/self-host.md

## Connector

Host your own server if you want the ciphertext on your disk.

Grok: grok.com/connectors → New Connector → Custom → http://YOUR_HOST/mcp

Tools: create_paste, read_paste. Pass key to encrypt.

## Rules
- Type → Get link → share. There is no public listing.
- Missing, burned, and expired reads are the same 404.
- Never put tokens in argv, query strings, or chat URLs.
- Discovery: /.well-known/copypaste.json
- Long form: /llms.txt

