# Gathering programs: register

URL: /code/mcp/gathering/verbs · Id: `page:code/mcp/gathering/verbs`

> The Gathering Verbs register as MCP do programs, with inputs, result, refusals and an example.

Reference for [Gathering](/business/nouns/gathering), one group of [Gathering programs](/code/mcp/gathering).

### Gathering.register
Register gives a Contact a place at a Gathering, or a waitlist place when the Gathering is full. [Verb page](/business/nouns/gathering/register?interface=mcp).

```text
do: return await $.Gathering.register(input)
```

Emits [`Gathering.registered`](/business/events/Gathering.registered).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `gathering` | [Gathering](/business/nouns/gathering) | Yes | The Gathering. |
| `contact` | [Contact](/business/nouns/contact) | Yes | Who takes the place. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `registration` | [Registration](/business/nouns/registration) | Yes | The Registration, `registered` or `waitlisted`. |
| `gathering` | [Gathering](/business/nouns/gathering) | Yes | The Gathering with its registered count. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Gathering.register({ gathering: 'gathering_ACB9Q1atRR', contact: 'contact_WsrosCQi6J' })"
  }
}
```