# Connect Codex, Cursor or Claude Code to PRNext Host

Your coding assistant can work with a hosting account as well as local files. PRNext Host exposes a remote MCP server for listing projects, preparing deployments and inspecting their results. This guide connects Codex, Cursor or Claude Code to that server.

PRNext is the Rust-powered runtime; PRNext Host is its separate hosting service. An assistant connection is an account integration. It does not install the runtime into your application, publish a project automatically or replace the checks required for a supported build.

## Prepare your workspace

Sign in to PRNext Host and open AI access in the workspace you intend to use. You need enabled account access; if the public page still offers a waitlist, request access there. Review the current terms and billing in the dashboard. The monthly minimum applies to a workspace, not separately to every site.

## Add PRNext Host to Codex

With Codex CLI installed, add the remote URL and start its OAuth login with the commands below. Approve the connection in the PRNext browser window. For an editor or desktop interface, use the setup shown in AI access, then authenticate the server. Start a new conversation or refresh the client if it has not loaded the tools yet.

```sh
codex mcp add prnext-host --url "https://app.prnext.dev/api/mcp"
codex mcp login prnext-host
```

## Add PRNext Host to Cursor

AI access provides an Add to Cursor action. You can also add the following entry to Cursor’s MCP configuration. It contains the public server address, not a private token. Choose Connect in Cursor and finish the PRNext sign-in. Save any existing server entries when editing your configuration.

```json
{
  "mcpServers": {
    "prnext-host": {
      "url": "https://app.prnext.dev/api/mcp"
    }
  }
}
```

## Add PRNext Host to Claude Code

Run the following command in a terminal with Claude Code installed. In Claude Code, open /mcp, select prnext-host and follow its browser authentication. The user scope makes this server configuration available across your local projects; the PRNext authorization still determines which hosting account and actions it can access.

```sh
claude mcp add --transport http --scope user prnext-host "https://app.prnext.dev/api/mcp"
```

## Verify an authenticated request

Ask the assistant to list your PRNext Host projects and identify the selected workspace. A useful first request is to list the projects without changing anything. Compare the result with the dashboard before asking for a deployment.

A saved URL or a successful browser sign-in alone is not proof that the assistant can use the account. PRNext confirms a connection after an authenticated MCP request. If no tools appear, check the exact /api/mcp address, authentication state and client refresh before adding another connection.

## Keep the authorization appropriate

Read access and write permissions serve different purposes. Review the permissions displayed by PRNext and disable optional write actions you do not need. A grant for all projects also covers future projects in that workspace. Use the project restrictions offered by the advanced setup when a narrower connection is appropriate.

Some sensitive operations still need separate approval in the dashboard. Payments and account administration remain there. You can revoke the connection from AI access. Never paste a private access token into a public repository, source archive or an article prompt.

## Continue with a supported deployment

Once the connection is verified, choose a supported project and provide only the source files you intend to deploy. Ask the assistant to inspect the final deployment status and return the live URL. A queued job is an intermediate state. The companion static-site guide explains build output, navigation and the checks to run after publication.

[Deploy a static website](/blog/deploy-static-website-prnext-host)

## Sources

[PRNext Host](https://host.prnext.dev/)

[PRNext Host dashboard](https://app.prnext.dev/)

[Codex: MCP](https://developers.openai.com/codex/mcp)

[Cursor: MCP](https://cursor.com/docs/mcp)

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

Published: 2026-11-14

Modified: 2026-11-17

Author: PRNext

---

Language: en

Canonical: https://prnext.dev/blog/connect-ai-assistant-prnext-host-mcp

Index: https://prnext.dev/llms.txt
