Affinda MCP server

Connect Affinda to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Affinda MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the upload document tool in Affinda
  • Use the batch update annotations tool in Affinda
  • Use the delete document tool in Affinda
  • Use the match resume to job tool in Affinda
  • Use the search & match tool in Affinda
  • Use the list annotations tool in Affinda

Supported Tools

upload_document

Upload Document

Upload a document to Affinda for AI-powered parsing and data extraction. Supports uploading via a publicly accessible URL. The document will be processed according to the workspace or collection configuration, extracting structured data such as resume fields, invoice line items, or other document-specific data points. Set **wait** to `true` to receive parsed results immediately, or `false` to get the document identifier and poll later.

batch_update_annotations

Batch Update Annotations

Update multiple document annotations in a single request. Use this to programmatically correct or confirm extracted data points. Each update specifies an annotation ID and the new values to set.

delete_document

Delete Document

Permanently delete a document from Affinda. This removes the document and all its extracted data from the database. This action cannot be undone.

match_resume_to_job

Match Resume to Job

Get a compatibility score between a specific resume and a specific job description. Returns an overall match score (0 to 1) along with category-level breakdowns for skills, experience, education, and more. Both the resume and job description must already be uploaded and parsed in Affinda.

search_and_match

Search & Match

Search through parsed resumes or job descriptions using Affinda's Search & Match algorithm. Match resumes against job descriptions or vice versa, or search using custom criteria like job titles, skills, experience, education, and location. Returns a ranked shortlist with matching scores for each category.

list_annotations

List Annotations

Retrieve all annotations (extracted data points) for a specific document. Each annotation represents a field extracted by the AI model, such as a name, date, amount, or address.

list_documents

List Documents

List and search documents in Affinda. Filter by workspace, collection, processing state, tags, or search by filename. Supports pagination and sorting. Use this to browse uploaded documents or find specific ones.

redact_resume

Get Redacted Document

Retrieve Affinda's redacted PDF for a parsed document. The original document is not modified. The PDF file is returned as a Slate attachment and structured output is limited to metadata.

list_workspaces

List Workspaces

List all workspaces within an organization. Workspaces are logical project containers where documents are processed. Optionally filter by name.

list_organizations

List Organizations

List all organizations accessible with the current API key. Organizations are the top-level containers that hold workspaces, document types, and team members. Use this to discover organization identifiers needed for workspace and document type operations.

get_document

Get Document

Retrieve a specific document and its extracted data from Affinda. Returns document metadata, processing state, and the structured data extracted by the AI model. Use this to check parsing status or fetch results for a document uploaded with `wait: false`.

create_workspace

Create Workspace

Create a new workspace within an organization. A workspace is a logical container for document processing that can have its own configuration, document types, and access permissions.

delete_workspace

Delete Workspace

Permanently delete a workspace and all its contents. This removes the workspace, its collections, and all documents within it. This action cannot be undone.

list_document_types

List Document Types

List available document types (extractors) configured in your Affinda account. Document types define the AI model configuration for specific document kinds such as resumes, invoices, bank statements, passports, etc. Use this to discover available document type identifiers for uploading documents.

manage_tags

Manage Tags

List, get, create, update, delete, add, and remove Affinda tags. Tags group documents and can be used as filters when listing documents.

list_validation_results

List Validation Results

List Affinda validation results for a document. Use this to inspect validation rule outcomes after a document has been parsed and reviewed.

update_document

Update Document

Update Affinda document metadata and lifecycle state. Use this to rename a document, move it to another workspace or collection, update custom identifiers, set an expiry time, archive, confirm, reject, or skip parsing.

manage_search_indexes

Manage Search Indexes

List and manage Affinda Search & Match indexes and indexed documents. Use indexes to make parsed resumes or job descriptions searchable before calling Search & Match tools.

Connect Affinda to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Affinda in Metorial. In your Metorial portal, enable the Affinda MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Affinda tools.

Run Affinda through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Affinda and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Affinda tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Affinda

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs.

Technical notes for Affinda

Extract structured data from documents using AI-powered parsing. Upload resumes, invoices, bank statements, passports, job descriptions, and other documents (PDF, DOCX, JPG, PNG, etc.) to receive clean structured JSON output. Classify documents automatically by type, validate extracted data with configurable rules, and redact sensitive information from resumes. Match resumes against job descriptions to rank candidates or jobs. Manage workspaces, collections, organizations, and document annotations. Receive webhook notifications when documents are parsed or validated.

Frequently asked questions

Common questions about connecting Affinda to AI agents with Metorial.

  1. How many tools does the Affinda MCP server have?
    The Affinda MCP server exposes 18 tools, including Upload Document, Batch Update Annotations, Delete Document. Each one is governed and traced through Metorial.
  2. Affinda exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Affinda MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Affinda and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Affinda MCP server yourself or use the hosted gateway.

Connect Affinda to production AI agents

See how Metorial gives your team governed access to Affinda, with tracing and security controls built in.