← All integrations

Affinda MCP server

119 operations0 webhooks

AI document parsing for resumes, invoices, and structured data extraction from files.

Try Affinda with your agent

Connect Affinda, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.

Using Corsair, show me what you can do in Affinda on my account, then run one read-only example and show me the result.

Runs once, when you ask

Affinda tools and triggers

Tools are what your agent can do in Affinda through Corsair's MCP server. Triggers are the Affinda events a routine can start from.

Data Sources

  • Create Data SourceWrite

    Tool to create a custom mapping data source. Use when you need to set up a new data source for mapping AI-extracted values to your database records.

    dataSources.createDataSource

  • Create Data Source ValueWrite

    Tool to add a new value to a mapping data source. Use when you need to add entries to a data source for mapping or validation purposes. The created value can then be referenced in document extraction and mapping workflows.

    dataSources.createDataSourceValue

  • Delete Data SourceDestructive

    Permanently delete a mapping data source from the database by its identifier. This is a destructive operation that cannot be undone. Use when you need to remove a data source that is no longer needed or was created in error.

    dataSources.deleteDataSource

  • Delete Data Source ValueDestructive

    Tool to delete a specific value from a mapping data source. Use when you need to remove an incorrect or outdated value from a data source mapping.

    dataSources.deleteDataSourceValue

  • Get Data SourceRead-only

    Tool to retrieve details of a specific mapping data source by its identifier. Use when you need to fetch mapping data source metadata and schema configuration.

    dataSources.getDataSource

  • Get Data Source ValueRead-only

    Tool to retrieve a specific value from a mapping data source. Use when you need to get details about a particular value in a data source.

    dataSources.getDataSourceValue

  • Get Data Source ValuesRead-only

    Tool to retrieve all values from a mapping data source. Use when you need to list or search values in a specific data source after authentication.

    dataSources.getDataSourceValues

  • List Data SourcesRead-only

    Tool to retrieve the list of all custom mapping data sources. Use when you need to list or search for mapping data sources in your Affinda workspace.

    dataSources.listDataSources

  • Replace Data Source ValuesWrite

    Tool to completely replace all values in a mapping data source. Use when you need to bulk update or refresh an entire data source's value list. Note: For large data sources (>1000 values), new values may take a few minutes to become searchable after the operation completes.

    dataSources.replaceDataSourceValues

  • Update Data Source ValueWrite

    Tool to update an existing value in a mapping data source. Use when you need to modify the label or description of an existing data source value. The value identifier itself cannot be changed.

    dataSources.updateDataSourceValue

Documents

  • Add Tag To DocumentsWrite

    Tool to add a tag to multiple documents in a single operation. Use when you need to organize or categorize multiple documents by assigning them a shared tag. Tags enable efficient filtering and grouping of documents in your workspace.

    documents.addTagToDocuments

  • Create DocumentWrite

    Upload a document to Affinda for parsing and data extraction. Use this action when you need to: - Parse resumes/CVs to extract candidate information - Process invoices to extract line items, amounts, and vendor details - Extract data from any supported document type (PDF, DOCX, images) You can upload either a file directly or provide a publicly accessible URL. The document will be processed by Affinda's AI extraction engine. Prerequisites: - For collection-based uploads: Get collection ID from get_collections action - For workspace-specific uploads: Get workspace ID from get_workspaces action

    documents.createDocument

Connect Affinda to Claude, ChatGPT or Cursor

  1. 1

    Connect Affinda in Corsair

    Add your Affinda API key once in Corsair. Corsair stores the credential encrypted and makes the Affinda API calls for your agent, so it never goes into a prompt or a config file. Connect Affinda

    If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Affinda. On a ChatGPT personal plan, connect Affinda here first.

  2. 2

    Add Corsair's MCP server to your agent

    Every client uses the same address:

    https://mcp.corsair.dev/mcp
    Open Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.

    Codex, Antigravity, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client

  3. 3

    Sign in and choose what needs your approval

    Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Affinda's read and write operations run right away and its 17 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.

FAQ

Install corsair and @corsair-dev/affinda, add the Affinda plugin, and connect with an API key. Then call methods like corsair.affinda.api.annotations.batchUpdateAnnotations() from your app. Corsair syncs data per tenant.

Yes. Affinda requires an API key from your Affinda account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.

Yes. One Corsair client can hit Affinda, GitHub, Notion, Stripe, and the rest. Trigger Affinda from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.

Teams use Corsair for AI document parsing for resumes, invoices, and structured data extraction from files. Common builds include sync jobs, admin tooling, and agents that call Affinda APIs from your backend. Local DB entities let you query synced Affinda records without hitting the API on every read.

The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Affinda API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.

We maintain @corsair-dev/affinda in the open repo. When Affinda ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.

No. Corsair does not read your Affinda data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Affinda data on your behalf.

Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.

Yes. Put Affinda on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 17 destructive Affinda operations. You can change a link's mode at hub.corsair.dev/me.