> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Northflank in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/northflank
Last updated: 2026-11-24

Share Northflank with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 13 tools (5 read-only).

---

To give your team Northflank in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Northflank integration in a Metorial portal, and each person connects with an API token. Agents can build, deploy, and scale applications, jobs, and databases on Northflank's cloud or your own AWS, GCP, and Azure infrastructure. The integration has 13 tools, 5 read-only, 2 write and 6 destructive, plus 1 trigger.

**What you will learn**

- How an admin shares Northflank in a portal and how each person connects
- What Northflank asks for when you connect, and where to find it
- How to keep the 5 read-only tools and reject the other 8

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API token from Northflank for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Token** | API token | `token` |

### API Token

To connect, a person enters:

- `token`: Northflank API token generated from account or team settings

### Setup settings

Setup also asks for:

- `teamId` (optional): Northflank team ID. Required for team-scoped API operations.

## Admin: share Northflank in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Northflank. For how members connect, choose **Each person connects** so everyone enters their own API token, or **Shared connection** to enter one API token for everyone.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Northflank.

4. **Choose who gets it**

   Add the access groups that should see Northflank. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Northflank integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search northflank
```

## Employee: connect Northflank

### In the portal

1. **Open Northflank in the catalog**

   Sign in to your portal and open Northflank. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API token (token).

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search northflank
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Northflank connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list northflank
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 5 read-only tools, such as `list_teams` and `get_auth_info`, and lose the 2 write tools, such as `manage_job` or `run_template`, and the 6 destructive tools, such as `manage_addon` or `manage_secret`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list northflank
metorial tools <integration-id>
metorial call <integration-id> list_resources -d '{"resourceType":"jobs"}'
```

`metorial tools` lists the 13 tools, minus any you rejected. `list_resources` needs `resourceType`, so replace the placeholders. 

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (5)

- `list_services`: Lists all services within a Northflank project, including build services, deployment services, and combined services. Needs `projectId`.
- `list_projects`: Lists all projects in the Northflank account or team.
- `list_resources`: Lists various Northflank resources at the team or project level. Needs `resourceType`.
- `get_auth_info`: Inspect the current token identity, account or organization scope, permissions, and expiry.
- `list_teams`: List teams authorized for the current organization-scoped token, with IDs and names.

### Write tools (2)

- `run_template`: Executes a Northflank infrastructure-as-code template. Needs `templateId`.
- `manage_job`: Get job details, run a job, or list recent job runs. Needs `action`, `projectId` and `jobId`.

### Destructive tools (6)

- `manage_service`: Create, get, update, delete, pause, or resume a Northflank deployment service. Needs `action` and `projectId`.
- `manage_secret`: Create, get, update, delete, or list project secrets. Needs `action` and `projectId`.
- `manage_addon`: Create, get, delete, or back up a database/storage addon. Needs `action` and `projectId`.
- `manage_notification_integration`: Create, list, get, update, or delete webhook notification integrations. Needs `action`.
- `manage_project`: Create, update, delete, or retrieve a Northflank project. Needs `action`.
- `restart_service`: Restart a running deployment or combined service.

## Triggers

Northflank has 1 trigger, which fire on events in Northflank:

- `platform_events`: Receives webhook notifications for Northflank platform events including builds, job runs, backups, billing, autoscaling, and infrastructure alerts.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Northflank there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Northflank on metorial.com](https://metorial.com/integrations/northflank): the integration overview