Skip to main content

Pulumi

Pulumi hosts its official MCP server at https://mcp.ai.pulumi.com/mcp over streamable HTTP. The Pulumi card with the Official badge pre-fills that URL. Willow registers itself when someone signs in. There is no OAuth app or client ID to create.

Pulumi's browser step asks for a Pulumi access token, then a default organization. See MCP server.

Prerequisites​

  • A Pulumi Cloud account
  • A Pulumi access token that can read the stacks and resources agents should query

Create a token​

Create a separate token for the MCP server so you can revoke or rotate it on its own. The server accepts any Pulumi access token. Two kinds cover most connections:

  • A personal access token acts as you, with your permissions in every organization you belong to. Personal tokens are available to every Pulumi Cloud user.
  • An organization token acts as the organization, with the role you assign, and works in that one organization. Organization tokens are available in Essentials, Pro, and Enterprise. Assign a role that can read the stacks and resources you need.

If the organization enforces an access token expiry policy, the token's lifetime must meet it. Calls against that organization fail until the token does.

Personal access token​

  1. In Pulumi Cloud, open the user menu and select Personal access tokens, or go to app.pulumi.com/account/tokens.
  2. Select Create token.
  3. Optionally add a description, choose an expiration of up to two years, and select Create token.
  4. Copy the token and keep it for the Willow sign-in.

Organization token​

An organization admin creates this under Settings → Access Management → Access Tokens. See Organization access tokens.

Connect in Willow​

  1. Go to MCP Servers → + Add MCP server, open the Pulumi card with the Official badge, and click + Use.
  2. Keep Willow OAuth and start sign-in.
  3. In the browser window Pulumi opens:
    1. Paste the access token.
    2. Select the organization the server should use by default.
    3. Confirm the redirect URL matches the callback on the server's Setup tab, then select Authorize Connection. Copy the exact URL from that tab:
      • SaaS: https://{org}.withwillow.ai/{org}/api/auth/callback
      • On-prem: {CONNECT_URL}/{org}/api/auth/callback
  4. Return to Willow.

Pulumi stores the token encrypted and uses it for tool calls during the session. Sessions last 30 days. When the session or the token expires, sign in again. Use a new token if the old one has expired or been deleted.

To use a different default organization, disconnect, sign in again, and choose that organization. A request can also name an organization, such as listing the stacks in a named org.

Pulumi's header method (Authorization: Bearer and X-Pulumi-Org) is for agents that cannot open a browser. This card uses the browser flow above.

Edition and AI settings​

Registry lookups, deploy prompts, and stack, user, and policy queries need a Pulumi Cloud account or organization. These need more:

  • Resource search is available in Essentials, Pro, and Enterprise, and is included in that edition.
  • Neo tasks (neo-bridge) are available in Essentials, Pro, and Enterprise. An admin turns on Enable AI features for this organization and Enable Pulumi Agents under the organization's Agent Settings. Task usage is billed to the organization. Follow-up messages and approvals can add more usage. Admins set usage limits in those settings.

Troubleshooting​

The token is rejected. Check that it has not expired or been deleted at app.pulumi.com/account/tokens, and that it meets the organization's access token expiry policy.

The agent uses the wrong organization. Sign in again and select the organization, or name the organization in the request.

Willow asks you to sign in again. Browser sessions last 30 days. Sign in again to start a new session.

A tool reports "Quota limit exceeded" or "Forbidden". A quota error usually means the feature is outside the organization's edition. "Forbidden" can mean the token's role lacks permission, or the feature is turned off. See Edition and AI settings.

A request does not create a Neo task. An administrator checks that Enable AI features for this organization and Enable Pulumi Agents are both on in Agent Settings, and that the organization has not reached its usage limit.

Additional resources​