naftiko: 1.0.0-alpha2 info: label: ACI.dev API — Linked Accounts description: Manage Linked Accounts — end-user OAuth2/API-key connections to configured Apps. Initiate OAuth flows, complete callbacks, list, retrieve, and revoke per-owner credentials. tags: - ACI.dev - Linked Accounts - OAuth - Authentication created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: ACI_API_KEY: ACI_API_KEY capability: consumes: - type: http namespace: linked-accounts baseUri: https://api.aci.dev description: ACI.dev Linked Accounts consumed surface. resources: - name: v1-linked-accounts-oauth2 path: /v1/linked-accounts/oauth2 operations: - name: linkoauth2account method: GET description: Initiate OAuth2 account linking flow. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: app_name in: query type: string required: true - name: linked_account_owner_id in: query type: string required: true - name: after_oauth2_link_redirect_url in: query type: string - name: v1-linked-accounts-oauth2-callback path: /v1/linked-accounts/oauth2/callback operations: - name: oauth2callback method: GET description: OAuth2 callback handler. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: code in: query type: string - name: state in: query type: string - name: v1-linked-accounts path: /v1/linked-accounts operations: - name: listlinkedaccounts method: GET description: List Linked Accounts. outputRawFormat: json outputParameters: - name: result type: array value: $. inputParameters: - name: app_name in: query type: string - name: linked_account_owner_id in: query type: string - name: v1-linked-account path: /v1/linked-accounts/{linked_account_id} operations: - name: getlinkedaccount method: GET description: Get a Linked Account by ID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: linked_account_id in: path type: string required: true - name: deletelinkedaccount method: DELETE description: Delete a Linked Account by ID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: linked_account_id in: path type: string required: true authentication: type: apikey key: X-API-KEY value: '{{env.ACI_API_KEY}}' placement: header exposes: - type: mcp namespace: linked-accounts-mcp port: 9093 transport: http description: MCP adapter for ACI.dev Linked Accounts. tools: - name: aci-link-oauth2-account description: Initiate an OAuth2 link flow for an end-user against a configured App. hints: readOnly: false destructive: false idempotent: false call: linked-accounts.linkoauth2account with: app_name: tools.app_name linked_account_owner_id: tools.linked_account_owner_id after_oauth2_link_redirect_url: tools.after_oauth2_link_redirect_url outputParameters: - type: object mapping: $. - name: aci-list-linked-accounts description: List Linked Accounts. hints: readOnly: true destructive: false idempotent: true call: linked-accounts.listlinkedaccounts with: app_name: tools.app_name linked_account_owner_id: tools.linked_account_owner_id outputParameters: - type: array mapping: $. - name: aci-get-linked-account description: Get a Linked Account by ID. hints: readOnly: true destructive: false idempotent: true call: linked-accounts.getlinkedaccount with: linked_account_id: tools.linked_account_id outputParameters: - type: object mapping: $. - name: aci-delete-linked-account description: Revoke and delete a Linked Account by ID. hints: readOnly: false destructive: true idempotent: true call: linked-accounts.deletelinkedaccount with: linked_account_id: tools.linked_account_id outputParameters: - type: object mapping: $.