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

# publish

> Publish your MCP server to the MCP registry

Publish an MCP server project to the MCP registry, making it discoverable to users.

## Usage

```bash theme={null}
alpic publish
```

Prompts for any missing information (domain, title, description) if not already provided.

## Extended Usage

Skip all prompts (useful in CI):

```bash theme={null}
alpic publish --non-interactive --domain my.domain.com --title 'My Server' --description 'Does things'
```

Publish a specific project by ID:

```bash theme={null}
alpic publish --project-id <projectId>
```

Publish a project by name:

```bash theme={null}
alpic publish --project-name <projectName>
```

## Options

| Flag | Description |
| - | - |
| `--non-interactive` | Skip all prompts |
| `--domain` | Domain to publish for |
| `--title` | Server title (1–100 characters) |
| `--description` | Server description (1–100 characters) |
| `--website-url` | Website URL |
| `--icon-src` | Icon URL |
| `--project-id` | The ID of the project. |
| `--project-name` | The name of the project. |

> [!NOTE]
>
> Authentication is required. Run `alpic login` or set `ALPIC_API_KEY` before publishing.

> [card] [Registry Publishing](https://docs.alpic.ai/distribution/registry.md)
>
> Learn how to publish your MCP server to the official MCP Registry from your Alpic dashboard.


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