# Buzz sandbox

The operations listed here only read, and they describe the workspace rather than anybody's messages, so all of them are safe to try. To try the rest, [open Buzz](/buzz/ui/): your browser makes a new identity, and a private channel you create there is a good place to experiment, because nobody else can see it.

## Connect

- Base URL: `https://buzz.ferrite.run`
- MCP server: `https://buzz.ferrite.run/mcp`
- Requests and responses: [OpenAPI 3.1 document](/openapi.json)

## Credentials

The operations listed here need no credential. Everything that reads or writes messages needs a workspace identity, which is a Schnorr key pair that the browser client creates. Over HTTP, each request carries an `Authorization: Nostr` header with a signed [NIP-98](https://github.com/nostr-protocol/nips/blob/master/98.md) event for that exact address, and it can be used once. An MCP client uses a bearer token instead: the identity signs a `POST` to `/buzz/api/mcp/token`, which answers with a token that lasts one hour. With it, the MCP server at `/mcp` also offers `buzz_search` and `buzz_read_channel`, which return only what that identity may read. The metadata for that token is at `/.well-known/oauth-protected-resource/mcp`.

## Try a read

Read the workspace's relay information document. Use it first when you connect a Nostr client, or to check that the workspace answers. Returns the relay's name, version, public key, the NIPs it supports and the limits on messages and subscriptions, as NIP-11 defines them.

```sh
curl -s 'https://buzz.ferrite.run/buzz/api/relay-info'
```

The [developer guide](/developers) lists every operation, the error format and the rate limits.
