# diagrid mcpserver disable

Disable an MCP server so ids stop loading it, without deleting it

### Description

Disable an MCP server. The server is removed from the dataplane so sidecars
no longer load it and ids cannot use it, while its definition (endpoint,
credentials, scopes) is kept and can be re-enabled at any time with
"diagrid mcpserver enable".

```
diagrid mcpserver disable <mcpserver> [flags]
```

### Examples

```
  diagrid mcpserver disable my-mcp --project my-project
```

### Options

```
  -p, --project string   Name of existing project
  -w, --wait             Wait for long-running resource update to finish
  -h, --help             help for disable
```

### Options inherited from parent commands

```
      --api-key string   Diagrid Cloud API key
```

### SEE ALSO

- [diagrid mcpserver](./mcpserver.md)	 - Manage MCP servers
