Skip to main content
Porter hosts an MCP server at https://mcp.porter.run. Point an MCP client at that URL, sign in, and your agent can do the same things you’d do in the dashboard or the CLI: read logs, check why a deploy failed, change a service, redeploy it. You don’t need to install or run anything locally. The server runs on Porter’s side, so all your client needs is the URL and a browser to sign in.

Connect your client

Quick install

For the CLI clients, one command is enough:

Client configuration

  1. Add the server:
    Or add it to .mcp.json to share it with the project:
  2. Start Claude Code and run /mcp.
  3. Select porter and sign in through the browser.
For more information, see the Claude Code MCP documentation.

Capabilities

You ask for things in plain language, so it’s easier to think in terms of tasks than tools:
  • Deploy an app. Create an application and get it running without leaving your agent. If you’re deploying a pre-built image, the agent can take it all the way. If you’re deploying from a GitHub repo, the agent creates the app and opens a pull request with the build workflow, and you merge it to deploy your code.
  • Update an app. Change services, resources, or domains on an existing app and redeploy. Updates can be validated with a dry run first, so you can see the resulting config before anything deploys.
  • Troubleshoot your app. Read logs, metrics, and notifications, or check nodes, node groups, pods, and load balancers to find what’s broken. From there you can go back to the config that caused it, fix it, and redeploy.
  • Rightsize a service. Compare requested CPU and memory against what the service actually uses, then adjust the requests.
  • Copy an environment. Create dev or staging versions of an existing app, or move one to a different cluster.
  • Inspect resources. List projects, apps, and clusters, or check the status of a deployment.
Some examples:
The tools reference has the full list of tools.

Limitations

OAuth is currently the only auth method, so headless environments like CI pipelines and sandboxed agents are not supported.

Risks

MCP tools can perform destructive operations on your applications, including creating, updating, and redeploying services. They can directly impact production environments and cause downtime to services if not used with care.
The agent authenticates as you and inherits your Porter permissions. Recommendations:
  • Use non-production environments first. Validate changes in a dev or staging project before applying them to production.
  • Review the agent’s plan before approving it, particularly for operations that modify production resources.
  • Disable auto-approval against production. It is reasonable on a test project and unsafe everywhere else.
  • Account for prompt injection. The agent reads your application logs, notifications, and pull request bodies, all of which can carry attacker-controlled text. The server cannot distinguish injected instructions from your own, so a compromised agent can call create_app, update_application, or redeploy_application and change or restart a running service. Read tools exclude environment variables and secrets, and redact token-shaped values in logs, so the exposure is to your application’s configuration and availability rather than its credentials.

Revoke access

You revoke access per client. Remove the stored credentials, then delete the server entry so it doesn’t sign in again later.