Pulumi · Capability

Pulumi APIs — OAuthTokenExchange

Pulumi APIs — OAuthTokenExchange. 1 operations. Lead operation: Token. Self-contained Naftiko capability covering one Pulumi business surface.

Run with Naftiko PulumiOAuthTokenExchange

What You Can Do

POST
Token — Token
/v1/api/oauth/token

MCP Tools

token

Token

Capability Spec

pulumi-oauthtokenexchange.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pulumi APIs — OAuthTokenExchange
  description: 'Pulumi APIs — OAuthTokenExchange. 1 operations. Lead operation: Token. Self-contained Naftiko capability covering
    one Pulumi business surface.'
  tags:
  - Pulumi
  - OAuthTokenExchange
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PULUMI_API_KEY: PULUMI_API_KEY
capability:
  consumes:
  - type: http
    namespace: pulumi-oauthtokenexchange
    baseUri: ''
    description: Pulumi APIs — OAuthTokenExchange business capability. Self-contained, no shared references.
    resources:
    - name: api-oauth-token
      path: /api/oauth/token
      operations:
      - name: token
        method: POST
        description: Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: pulumi-oauthtokenexchange-rest
    port: 8080
    description: REST adapter for Pulumi APIs — OAuthTokenExchange. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/oauth/token
      name: api-oauth-token
      description: REST surface for api-oauth-token.
      operations:
      - method: POST
        name: token
        description: Token
        call: pulumi-oauthtokenexchange.token
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pulumi-oauthtokenexchange-mcp
    port: 9090
    transport: http
    description: MCP adapter for Pulumi APIs — OAuthTokenExchange. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: token
      description: Token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: pulumi-oauthtokenexchange.token
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.