> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloud.red/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Examples

> Sample Claude prompts for BIG-IP operations.

These prompts work out of the box once crcli is configured as an MCP server in Claude Code. Replace device names and group names with your own.

## Explore Your Fleet

<CodeGroup>
  ```text List all devices theme={null}
  List all my devices
  ```

  ```text List device groups theme={null}
  Show me all my device groups and which device is active in each
  ```

  ```text Device details theme={null}
  What software version is bigip-prod-01 running?
  ```

  ```text Group members theme={null}
  List all devices in the prod-ha group
  ```
</CodeGroup>

## Run Scripts and Commands

<CodeGroup>
  ```text Single command theme={null}
  Run "tmsh show sys version" on bigip-prod-01
  ```

  ```text Check pool members theme={null}
  Check pool member availability on the active device in prod-ha
  ```

  ```text Multi-line script on standby theme={null}
  Run this on the standby device in prod-ha and show me the output:
  tmsh show ltm pool recursive
  tmsh show ltm virtual
  ```

  ```text Run across groups theme={null}
  Run my health check script on all three of my device groups and summarize the results
  ```
</CodeGroup>

## File Operations

<CodeGroup>
  ```text Pull from group theme={null}
  Pull /config/bigip.conf from every device in prod-ha and save to ./configs/
  ```

  ```text Push file theme={null}
  Push ./updated-irule.tcl to bigip-prod-01
  ```

  ```text List backups theme={null}
  Show me the last 5 backups for bigip-prod-01
  ```
</CodeGroup>

## iControl REST

<CodeGroup>
  ```text Get pool members theme={null}
  Get the current pool member states from bigip-prod-01 using iControl REST
  ```

  ```text Find down members theme={null}
  Fetch /mgmt/tm/ltm/pool from bigip-prod-01 and tell me which members are down
  ```

  ```text Disable pool member theme={null}
  Disable pool member 10.0.0.5:80 in pool /Common/web_pool on bigip-prod-01
  ```
</CodeGroup>

## Multi-Step Workflows

Claude can chain tools together for more complex operations.

**Collect qkviews from a group:**

```text theme={null}
Generate a qkview on each device in prod-ha, then pull them all to ./qkviews/
```

**Audit and report:**

```text theme={null}
Run "tmsh show ltm pool recursive" on each device group and give me a summary
of which pool members are down across the entire fleet
```

**Compare configs:**

```text theme={null}
Pull /config/bigip.conf from both the active and standby device in prod-ha,
then diff them and tell me what's different
```
