# Airparser MCP connector

> Connects to Airparser via Scalekit MCP to parse documents, manage inboxes, extraction schemas, and post-processing rules.

**URL:** https://caywork.com/learn/docs/node/airparsermcp-node

## Content

The **Airparser MCP Node** integrates securely with Airparser using a Scalekit MCP connection. It enables your AI agent to parse documents, manage inboxes, define extraction schemas, and configure post-processing rules.

## Parameters

### Required Parameters
* **action** (string): The target Airparser MCP action to run. Must be one of the enabled actions:
  * `airparsermcp_create_inbox`: Create a new document inbox.
  * `airparsermcp_generate_schema_from_document`: Generate an extraction schema from a sample document.
  * `airparsermcp_get_document`: Retrieve a parsed document.
  * `airparsermcp_get_extraction_schema`: Retrieve an extraction schema.
  * `airparsermcp_get_extraction_schema_format_guide`: Get the format guide for an extraction schema.
  * `airparsermcp_get_inbox`: Retrieve inbox details.
  * `airparsermcp_get_postprocessing`: Retrieve post-processing configuration.
  * `airparsermcp_get_postprocessing_runtime_rules`: Get runtime rules for post-processing.
  * `airparsermcp_list_documents`: List parsed documents.
  * `airparsermcp_list_inboxes`: List available inboxes.
  * `airparsermcp_save_postprocessing_code`: Save custom post-processing code.
  * `airparsermcp_set_postprocessing_enabled`: Enable or disable post-processing.
  * `airparsermcp_test_postprocessing_code`: Test custom post-processing code.
  * `airparsermcp_update_extraction_schema`: Update an extraction schema.
  * `airparsermcp_update_extraction_schema_from_json_schema`: Update an extraction schema from a JSON schema.
  * `airparsermcp_update_fields_meta`: Update field metadata.
  * `airparsermcp_upload_document_sync`: Upload a document for synchronous parsing.

### Optional Parameters
* **params** (object): A key-value dictionary containing action-specific inputs (e.g., `{'inboxId': 'inb_XXXXXX', 'documentUrl': 'https://example.com/document.pdf'}`).

## Practical Use Cases
1. **Document Parsing Automation**: Extract structured data from invoices, forms, and other documents uploaded to an Airparser inbox.
2. **Schema Management**: Build and refine extraction schemas programmatically from sample documents or JSON schema definitions.