> ## 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 create

> Connect an MCP server

Connects to the server, reads its tools, then stores it for the project. A server that does not answer, or refuses the credential, returns 400 and nothing is stored. The credential is encrypted and never returned.

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

> [!NOTE]
>
> Calls `POST /v1/integrations/mcp-server`

## Options

**--url** `string` *required*

**--transport** `string`

One of `STREAMABLE_HTTP`, `SSE`

**--auth** `object`

## Example

```bash theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark integrations mcp-server create --url <value>
```

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.