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

# roark integrations mcp-server refresh

> Refresh an MCP server

Connects to the server again and records the tools it offers now. Agents keep calling the tools they were given; a new tool reaches an agent only once you add it.

```bash Synopsis theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark integrations mcp-server refresh <server-id> [options]
```

> [!NOTE]
>
> Calls `POST /v1/integrations/mcp-server/{serverId}/refresh`

## Arguments

**server-id** `string` *required*

The server-id.

## Example

```bash theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark integrations mcp-server refresh <server-id>
```

Every command also takes the [global options](https://docs.roark.ai/cli-reference/overview.md#global-options) and sets one
of the [exit codes](https://docs.roark.ai/cli-reference/overview.md#exit-codes).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.