MetorialDocs

Set up Northflank in Metorial for Claude, ChatGPT and Cursor

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'll 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

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokentoken

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

Open Shared Resources

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

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.

Limit the tools

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

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:

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

Employee: connect Northflank

In the portal

Open Northflank in the catalog

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

Authenticate

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

Confirm

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

With the CLI

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.

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.

Check it worked

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