# ClickUp

> Connect ClickUp to FlyMyAI agents - tasks, comments and the workspace hierarchy via OAuth.

Connects [ClickUp](https://clickup.com) to FlyMyAI agents via OAuth. Connect once and the
agent can walk your workspace hierarchy and manage tasks and comments - no token to paste.

## What it can do

- **Hierarchy** - list teams/workspaces, spaces, folders, lists (`clickup_get_teams` -> spaces -> folders -> lists)
- **Tasks** - list, get, create, update, delete
- **Comments** - add and read task comments
- **Any endpoint** - `clickup_request(method, path, query, body)` reaches the full ClickUp API

Walk top-down: `clickup_get_teams` gives the workspace id, then spaces -> folders -> lists -> tasks.

## How to get credentials

ClickUp uses OAuth - there's no token to copy.

1. In FlyMyAI, open the ClickUp MCP and start the setup flow.
2. A ClickUp authorization screen opens. Pick the workspace to share and approve.
3. You're redirected back to FlyMyAI; the tool flips to **Configured**.

To revoke access later, in ClickUp open **Settings -> Apps -> Connected apps** and remove FlyMyAI.

## Fields to fill in FlyMyAI

No fields - the OAuth flow stores the access token automatically (ClickUp tokens do not expire).

## Troubleshooting

- **Authorization error** - re-run the connect flow and approve the workspace.
- **`team` / `list` not found** - call `clickup_get_teams`, then drill down to get valid ids.
- **`401`** - the connection was revoked in ClickUp; reconnect.

## Links

- [ClickUp](https://clickup.com)
- [ClickUp API v2 reference](https://developer.clickup.com/reference)
- [ClickUp OAuth](https://developer.clickup.com/docs/authentication)
