How to integrate Northflank MCP with Codex

Connect Codex to Northflank MCP. Deploy a new service to production, list all running deployments in staging, and more using natural language, with authentication handled for you.

Northflank logoNorthflank
Api Key

Northflank is a developer platform that automates and unifies application deployment across clouds. It lets teams deploy, scale, and manage workloads at any scale with minimal setup.

33 Tools

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With the Northflank MCP integration, Codex can manage projects, create and update secrets, list services and pipelines, and browse plans and regions, all without leaving the terminal or the app, whichever you prefer.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Northflank with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • CodeAct: A dedicated workbench that allows GPT to write its code to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Large tool responses: Handle them to minimise context rot.
  • Dynamic just-in-time access to 20,000 tools across 1800+ other Apps for cross-app workflows. It loads the tools you need, so GPTs aren't overwhelmed by tools you don't need.

How to install Northflank MCP in Codex

Run the setup command

Run this command in your terminal to add the Composio MCP server to Codex.

Terminal

It will initiate the authentication in a browser window, authorize Codex to access your Composio account.

Composio authentication page

(Optional) Authenticate with OAuth

To authenticate manually, run the login command to open a browser window and authorize Codex to access your Composio account.

bash
codex mcp login composio

Verify the connection

Run codex mcp list to confirm Composio appears as a registered MCP server.

bash
codex mcp list

Codex App

Codex App follows the same approach as VS Code.

  1. Click ⚙️ on the bottom left → MCP Servers → + Add servers → Streamable HTTP:
  2. Fill the header and Key fields with { "x-consumer-api-key" = "ck_*******" }.
  3. The Key is the Composio API key, that you can find on dashboard.composio.dev
  4. Click on Authenticate and authorize Codex to your Composio account and you're all set.
Codex App MCP setup
  1. Restart and verify if it's there in .codex/config.toml
bash
[mcp_servers.composio]
url = "https://connect.composio.dev/mcp"
http_headers = { "x-consumer-api-key" = "ck_*******" }

Try it

Ask Codex for a Northflank task. The first time, Composio asks you to connect your Northflank account.

For example, ask it to:

  • "Deploy a new service to production"
  • "List all running deployments in staging"
  • "Scale your web service to three instances"

What is the Northflank MCP server, and what's possible with it?

The Northflank MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Northflank account. It provides structured and secure access to your projects, services, and secrets, so your agent can create projects, review services, manage secrets, and update project settings on your behalf.

  • Project creation and updates: Have your agent create new Northflank projects or update existing projects based on your current deployment needs.
  • Project discovery: Instruct your agent to list your Northflank projects and retrieve detailed information about a specific project.
  • Service visibility: Let the agent list the services within a project so you can quickly review what is running there.
  • Secret management: Direct your agent to create or update secret groups within a Northflank project.
  • Secret review: Have your agent list a project's secrets or retrieve the contents of a specific secret when needed.

Conclusion

You've successfully integrated Northflank with Codex using Composio's MCP server. Now you can interact with Northflank directly from your terminal, VS Code, or the Codex App using natural language commands.

Key benefits of this setup:

  • Seamless integration across CLI, VS Code, and standalone app
  • Natural language commands for Northflank operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1800+ apps for cross-app workflows
  • CodeAct workbench for complex tool chaining

Next steps:

  • Try asking Codex to perform various Northflank operations
  • Explore cross-app workflows by connecting more toolkits
  • Build automation scripts that leverage Codex's AI capabilities
TOOLS

Supported Tools

Every Northflank action and event your agent gets out of the box.

Create or Update Project

Tool to create a new project or update an existing project in Northflank (upsert operation).

Create or Update Secret

Tool to create or update a secret group in a Northflank project.

Create Secret

Tool to create a secret group in a Northflank project.

Delete Project

Tool to permanently delete a Northflank project and all associated resources.

Get DNS ID

Tool to retrieve the DNS identifier for the authenticated account.

Get Job Logs

Read and filter Northflank job logs, optionally for one run.

Get Job Run

Retrieve status and execution details for one selected job run.

Get Preview Environment Schema

Return Northflank's current JSON Schema for preview environments.

Get Project

Tool to retrieve detailed information about a specific Northflank project.

Get Secret

Tool to retrieve a secret from a Northflank project including its contents.

Get Secret Details

Tool to view a secret with details about its linked addons from a Northflank project.

Get Service

Retrieve one Northflank service's full configuration and current state.

Get Service Logs

Read a Northflank service's logs with range and content filters.

Get Service Metrics

Read selected Northflank service metric time series.

Get Workflow

Retrieve a workflow's metadata, arguments, and complete specification.

Get Workflow Run

Get execution details and node results for one Northflank workflow run.

List Addon Types

Tool to retrieve information about available addon types in Northflank.

List Cloud Provider Node Types

Tool to retrieve supported cloud provider node types available on Northflank.

List Cloud Provider Regions

Tool to retrieve supported cloud provider regions available on Northflank.

List Job Containers

List containers for a Northflank job, optionally restricted to one run.

List Job Runs

List execution history for one Northflank job.

List Pipelines

List pipelines for a Northflank project, with page, cursor, and page-size pagination support.

List Plans

Tool to retrieve available billing/resource plans in Northflank.

List Projects

Tool to list all projects in your Northflank team with pagination support.

List Regions

Tool to retrieve available project regions in Northflank.

List Secrets

Tool to list all secrets belonging to a Northflank project.

List Service Containers

List runtime containers for one Northflank service.

List Services

Tool to list all services belonging to a Northflank project.

List Workflow Runs

List execution history for one workflow in a Northflank project.

Patch Secret

Tool to partially update a secret group in a Northflank project.

Run and Inspect Job

Start a job and return its latest state and logs by the polling timeout.

Update Project

Tool to update a project in Northflank.

Update Secret

Tool to update a secret in a Northflank project.

FAQ

Frequently asked questions

Start with Northflank.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Northflank tool your agent needs.Free to start.

Start building