Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to the Airparser MCP server

Vendor MCP
Open markdown

The Airparser MCP connector routes your AI agent's tool calls to Airparser's own MCP server through Scalekit. Each user signs in to Airparser once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 17 tools.

Tools
17
What they doRead · write · destructive
8 · 9 · 08 read9 write0 destructive
Users sign in with
OAuth app
Your own Airparser MCP server app

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Airparser MCP connection

    In AgentKit > Connections, create an Airparser MCP connection and copy its redirect URI. The name you give it is the connection_name your code passes. See Configure connections.

  4. Register an OAuth app

    Airparser MCP server connections use your own OAuth app. Register one with Airparser MCP server and add the redirect URI you copied.

    Then enter the app's Client ID and Client Secret on the Airparser MCP connection.

  5. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'airparsermcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Airparser MCP:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'airparsermcp_get_extraction_schema_format_guide',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user signs in once. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • airparsermcp_get_documentGet one Airparser document with parsed JSON for the authenticated user.Read-only

    Get Document

    Get one Airparser document with parsed JSON for the authenticated user.

    Inputs

    document_idstringrequired
    Airparser document id.
  • airparsermcp_get_extraction_schemaGet the current extraction schema configured for an Airparser inbox.Read-only

    Get Extraction Schema

    Get the current extraction schema configured for an Airparser inbox.

    Inputs

    inbox_idstringrequired
    Airparser inbox id.
  • airparsermcp_get_extraction_schema_format_guideGet a compact guide to the native Airparser extraction schema format, including field types and examples.Read-only

    Get Extraction Schema Format Guide

    Get a compact guide to the native Airparser extraction schema format, including field types and examples.

    Inputs

    This tool takes no inputs.

  • airparsermcp_get_inboxGet a single Airparser inbox, including extraction schema details.Read-only

    Get Inbox

    Get a single Airparser inbox, including extraction schema details.

    Inputs

    inbox_idstringrequired
    Airparser inbox id.
  • airparsermcp_get_postprocessingGet the current Airparser post-processing configuration for an inbox, including whether it is enabled and the saved Python code.Read-only

    Get Post-Processing Configuration

    Get the current Airparser post-processing configuration for an inbox, including whether it is enabled and the saved Python code.

    Inputs

    inbox_idstringrequired
    Airparser inbox id.
  • airparsermcp_get_postprocessing_runtime_rulesGet the runtime constraints and allowed imports for Airparser post-processing Python code.Read-only

    Get Post-Processing Runtime Rules

    Get the runtime constraints and allowed imports for Airparser post-processing Python code.

    Inputs

    This tool takes no inputs.

  • airparsermcp_list_documentsList documents inside an Airparser inbox, including recent parsed results and pagination metadata.Read-only

    List Documents

    List documents inside an Airparser inbox, including recent parsed results and pagination metadata.

    Inputs

    inbox_idstringrequired
    Airparser inbox id.
    fromstring
    Start date filter in YYYY-MM-DD format.
    pageinteger
    1-based page number for pagination.
    tostring
    End date filter in YYYY-MM-DD format.
  • airparsermcp_list_inboxesList active Airparser inboxes available to the authenticated user.Read-only

    List Inboxes

    List active Airparser inboxes available to the authenticated user.

    Inputs

    This tool takes no inputs.