Porter MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Porter MCP or direct API to manage projects, deploy applications, inspect clusters, and read logs and metrics through natural language.

Porter MCP logoPorter MCP
Dcr Oauth

Porter MCP is a hosted MCP server for managing Porter cloud infrastructure. It gives AI agents structured access to projects, clusters, applications, jobs, and observability data.

48 Tools

Try Porter MCP now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Porter MCP
Try asking
TOOLS

Supported Tools

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

Check aws cluster quota

Check whether an AWS cloud account has quota (vCPUs, elastic IPs, NAT gateways, VPCs, availability zones) to provision a Porter cluster in a region.

Connect cloud account

Connect a cloud account to a Porter project and return the one action that advances the connection.

Connect github

Check whether Porter can reach a GitHub repository and return the browser action required to connect it.

Connect slack

Report the Slack channels connected to a Porter project, or return the browser URL that connects one.

Create app

The recommended way to create a Porter application is to provide GitHub source and a build configuration.

Create aws quota request

File quota increase requests with AWS for every quota check_aws_cluster_quota would fail for a cloud account in a region, sized to cover current usage plus the cluster.

Create cluster

Provision a new Porter cluster into a connected AWS, GCP, or Azure cloud account (the provider is inferred from the account).

Create github workflow

Create or re-create the GitHub Actions workflow pull request for a Porter application.

Create project

Create a Porter project owned by the caller and return its identifier.

Create sandbox

Create a sandbox, an isolated container started from an image, on a Porter cluster that has sandboxes enabled.

Delete addon

Uninstall an addon from a Porter cluster and remove its configuration, including the deploy token Porter issued for it.

Enable sandboxes

Enable sandboxes on a Porter cluster, which adds a sandbox node group and installs the sandbox runtime.

Exec sandbox

Run a command in a running sandbox on a Porter cluster that has sandboxes enabled, and return its stdout, stderr, and exit code.

Get addons

List the addons installed on a Porter cluster with each addon's type, install status, and, for QM, its URL and sign-in state.

Get addon status

Report where an addon on a Porter cluster is in its install, changing nothing.

Get application

Return configuration for a Porter app and its services.

Get application metrics

Query one time-series metric for one Porter application service.

Get application revisions

List revisions for a Porter app (newest first), returning up to 50 at a time with cursor pagination.

Get applications

List applications in a Porter project with cursor-based pagination, optionally filtered by name or deployment target.

Get application status

Return status for a Porter app: resolved IDs plus current revision and process health.

Get app logs

Fetch capped runtime logs for a Porter app.

Get build status

Report which stage of its build and deploy pipeline a Porter app is in: the latest build, pre-deploy, and deploy step, each progressing, success, or failed.

Get cloud account status

Report where a cloud account sits in the Porter connect flow, changing nothing.

Get cluster node groups

List node groups in a Porter cluster, including autoscaling bounds and cost-optimization (Karpenter) status.

Get cluster nodes

List nodes in a Porter cluster with resource capacity, usage, and reservation metrics.

Get cluster pod

Get full detail for one pod in a Porter cluster the caller can access: owning controller, resource usage, restart count, recent events, Kubernetes metadata, extended status, and spec.

Get cluster pods

List pods in a Porter cluster, with status, readiness, restarts, node placement, and resource usage.

Get clusters

List clusters in a Porter project.

Get cluster status

Report how far a Porter cluster has got through provisioning, changing nothing.

Get job run

Return one job run's status by its exact run name.

Get load balancers

List load balancers for a Porter cluster.

Get node group metrics

Get provisioned node-group size over time for a Porter cluster.

Get notifications

List runtime notification events for a Porter app (newest first), returning up to 20 at a time with cursor pagination.

Get project

Return a Porter project's settings: currently whether it can claim a Porter Cloud cluster.

Get projects

List projects the caller can access.

Get sandbox

Return one sandbox's current state on a Porter cluster that has sandboxes enabled.

Get sandbox settings

Return whether sandboxes are enabled and ready on a Porter cluster, along with the cluster's sandbox settings: warm pool, egress enforcement, and domains.

Install addon

Install the QM addon (Porter's harness for agents to share context and files across an organization) onto a Porter cluster.

List aws quota requests

List quota increase requests filed with AWS for a cloud account in a region, with each request's status (pending, approved, denied), desired quota, and creation time.

List cloud accounts

List the cloud accounts connected to a Porter project, with each account's provider, the provider's own account ID, and where it sits in the connect flow.

List job runs

List recent runs for a job service on a Porter app, newest first.

List sandboxes

List sandboxes on a Porter cluster that has sandboxes enabled, newest first, up to 100 per page.

Redeploy application

Redeploy an existing Porter app at its current configuration, restarting all services with zero configuration changes and creating a new revision.

Set sandbox domain

Set the domain sandboxes are served under on a Porter cluster that has sandboxes enabled.

Trigger job run

Start a run of a job service on an existing Porter app.

Update addon

Change the configuration of an installed QM addon and roll the change out.

Update application

Validate or deploy a delta to an existing Porter app.

Update sandbox settings

Change sandbox settings on a Porter cluster that has sandboxes enabled: the warm pool of pre-booted sandboxes, and whether egress allowlists are enforced.

SETUP GUIDE

Connect Porter MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["porter_mcp"],
  mcp: true,
});
Create a session scoped to Porter MCP and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "List all Porter projects in my account",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Porter MCP request
SETUP GUIDE

Connect Porter MCP API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["porter_mcp"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Porter MCP
3

Run Porter MCP tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "List all Porter projects in my account" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Porter MCP tool calls through the session, and print the final answer

Why Use Composio?

AI Native Porter MCP Integration

  • Supports both Porter MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Porter MCP data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Porter MCP access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Porter MCP
  • Scoped, least privilege access to Porter MCP resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Porter MCP with any AI Agent Framework

Choose a Framework you want to connect Porter MCP with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Porter MCP.It takes 30 seconds.

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

Start building