OpenProject · Capability

OpenProject API V3 (Stable) — OAuth 2

OpenProject API V3 (Stable) — OAuth 2. 2 operations. Lead operation: Get the oauth application.. Self-contained Naftiko capability covering one Openproject business surface.

Run with Naftiko OpenprojectOAuth 2

What You Can Do

GET
Getoauthapplication — Get the oauth application.
/v1/api/v3/oauth-applications/{id}
GET
Getoauthclientcredentials — Get the oauth client credentials object.
/v1/api/v3/oauth-client-credentials/{id}

MCP Tools

get-oauth-application

Get the oauth application.

read-only idempotent
get-oauth-client-credentials-object

Get the oauth client credentials object.

read-only idempotent

Capability Spec

openproject-oauth-2.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: OpenProject API V3 (Stable) — OAuth 2
  description: 'OpenProject API V3 (Stable) — OAuth 2. 2 operations. Lead operation: Get the oauth application.. Self-contained
    Naftiko capability covering one Openproject business surface.'
  tags:
  - Openproject
  - OAuth 2
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OPENPROJECT_API_KEY: OPENPROJECT_API_KEY
capability:
  consumes:
  - type: http
    namespace: openproject-oauth-2
    baseUri: https://qa.openproject-edge.com
    description: OpenProject API V3 (Stable) — OAuth 2 business capability. Self-contained, no shared references.
    resources:
    - name: api-v3-oauth_applications-id
      path: /api/v3/oauth_applications/{id}
      operations:
      - name: getoauthapplication
        method: GET
        description: Get the oauth application.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: OAuth application id
          required: true
    - name: api-v3-oauth_client_credentials-id
      path: /api/v3/oauth_client_credentials/{id}
      operations:
      - name: getoauthclientcredentials
        method: GET
        description: Get the oauth client credentials object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: OAuth Client Credentials id
          required: true
    authentication:
      type: basic
      username: '{{env.OPENPROJECT_USER}}'
      password: '{{env.OPENPROJECT_PASS}}'
  exposes:
  - type: rest
    namespace: openproject-oauth-2-rest
    port: 8080
    description: REST adapter for OpenProject API V3 (Stable) — OAuth 2. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v3/oauth-applications/{id}
      name: api-v3-oauth-applications-id
      description: REST surface for api-v3-oauth_applications-id.
      operations:
      - method: GET
        name: getoauthapplication
        description: Get the oauth application.
        call: openproject-oauth-2.getoauthapplication
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v3/oauth-client-credentials/{id}
      name: api-v3-oauth-client-credentials-id
      description: REST surface for api-v3-oauth_client_credentials-id.
      operations:
      - method: GET
        name: getoauthclientcredentials
        description: Get the oauth client credentials object.
        call: openproject-oauth-2.getoauthclientcredentials
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openproject-oauth-2-mcp
    port: 9090
    transport: http
    description: MCP adapter for OpenProject API V3 (Stable) — OAuth 2. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-oauth-application
      description: Get the oauth application.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openproject-oauth-2.getoauthapplication
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: get-oauth-client-credentials-object
      description: Get the oauth client credentials object.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openproject-oauth-2.getoauthclientcredentials
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.