# Connect Claude Code to Resilis

Source: https://resilis.io/guides/claude-code/

Connect Claude Code to Resilis so it can request supported deployment and cloud operations for the organization you authorize.

## Before you start

Install Claude Code and sign in to a Resilis account with access to the organization you want to use. Keep your application source in a local workspace that Claude Code can access.

- [Claude Code MCP documentation](https://code.claude.com/docs/en/mcp)

## Add the Resilis MCP server

In a terminal, register the remote HTTP server:

### Terminal

```sh
claude mcp add --transport http resilis https://mcp.resilis.io
```

## Sign in and review access

Start the OAuth sign-in from Claude Code. You can run the login command in a terminal or open the MCP panel in a Claude Code session. Sign in to Resilis, select an organization if prompted, and review the requested access before approving it.

### Terminal

```sh
claude mcp login resilis
```

## Check the connection

List the configured MCP servers. Then ask Claude Code to inspect the application in your workspace and prepare a deployment plan. Choose the project, environment, and compute target, and review the build settings and environment variables before you submit the workspace. Check deployment status and logs after it starts.

### Terminal

```sh
claude mcp list
```

## Ask for a deployment plan

Use a request like this after Claude Code can access the application files:

### Prompt

```text
Inspect this application workspace and prepare a Resilis deployment plan. Ask me which project, environment, and compute target to use. Show the detected build settings and required environment variables so I can review them before the deployment starts.
```

- [Read the Resilis MCP guide](/docs/agents-and-mcp)
- [Follow the local workspace setup](/docs/getting-started)
