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

# Environments

> How to manage your deployment environments

Alpic allows you to create multiple deployment environments for your MCP server. Each environment is linked to a specific branch of your git repository and corresponds to a different version of your MCP server.

To create a new environment:

1. Go to your project overview page.
2. Click on **Environments**.
3. Click on **New environment**.
4. Name your new environment.
5. Select the branch you want to link to this environment.
6. Add any environment variables you need for this environment.
7. Click **Create**.

This will generate a new URL that you can use to access this environment's MCP server.

<Frame>
  <img src="https://mintcdn.com/alpic-staging/SUgEP0peVh3Vy_OH/images/new-env-2.png?fit=max&auto=format&n=SUgEP0peVh3Vy_OH&q=85&s=a058dfdd71bcd3e0ad26235035f3fe7c" alt="Create a new environment" width="2844" height="1402" data-path="images/new-env-2.png" />
</Frame>

## Changing the tracked branch

You can change the branch linked to an environment after creation:

1. Go to your project overview page.
2. Click on **Environments** and select the environment you want to update.
3. Click the edit icon next to the current branch name.
4. Select or type the new branch name and click **Save**.

You'll be notified of the branch tracking update result and you'll get a chance to trigger a redeploy with the latest code from the new branch if the update was successful.

<Tip>You can delete environments at any time by clicking the **Delete** button in your environment settings.</Tip>
