> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itential.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server.

# iagctl mcp server remove

Gateway 5.5+

Remove an MCP server.

The `iagctl mcp server remove` command deregisters an MCP server from Itential Gateway's data store. This action cannot be undone. To restore access to the server's tools, you must re-register it using `iagctl mcp server add`.

For more information, see [Register and manage MCP servers](../flowai/flowmcp-gateway/manage-mcp-servers).

## Syntax

```bash
iagctl mcp server remove <name> [flags]
```

## Examples

### Remove an MCP server

```bash
iagctl mcp server remove my-server
```

## Options

```bash
  -h, --help   Help for remove
```

## Options inherited from parent commands

```bash
      --config string    Path to the configuration file
      --profile string   Specify the client profile to use (case-insensitive, defaults to [client] section)
      --raw              Display the result of the command in raw format
      --verbose          Enable verbose output
```