Interactive Brokers · Capability

Interactive Brokers Web API — Sessions

Interactive Brokers Web API — Sessions. 1 operations. Lead operation: Get authentication status. Self-contained Naftiko capability covering one Interactive Brokers business surface.

Run with Naftiko Interactive BrokersSessions

What You Can Do

POST
Getauthstatus — Get authentication status
/v1/iserver/auth/status

MCP Tools

get-authentication-status

Get authentication status

read-only

Capability Spec

web-sessions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Interactive Brokers Web API — Sessions
  description: 'Interactive Brokers Web API — Sessions. 1 operations. Lead operation: Get authentication status. Self-contained
    Naftiko capability covering one Interactive Brokers business surface.'
  tags:
  - Interactive Brokers
  - Sessions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    INTERACTIVE_BROKERS_API_KEY: INTERACTIVE_BROKERS_API_KEY
capability:
  consumes:
  - type: http
    namespace: web-sessions
    baseUri: https://localhost:5000/v1/api
    description: Interactive Brokers Web API — Sessions business capability. Self-contained, no shared references.
    resources:
    - name: iserver-auth-status
      path: /iserver/auth/status
      operations:
      - name: getauthstatus
        method: POST
        description: Get authentication status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.INTERACTIVE_BROKERS_API_KEY}}'
  exposes:
  - type: rest
    namespace: web-sessions-rest
    port: 8080
    description: REST adapter for Interactive Brokers Web API — Sessions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/iserver/auth/status
      name: iserver-auth-status
      description: REST surface for iserver-auth-status.
      operations:
      - method: POST
        name: getauthstatus
        description: Get authentication status
        call: web-sessions.getauthstatus
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: web-sessions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Interactive Brokers Web API — Sessions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-authentication-status
      description: Get authentication status
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: web-sessions.getauthstatus
      outputParameters:
      - type: object
        mapping: $.