← All integrations

Attio MCP integration for AI agents

Anlyon's Attio integration gives an AI agent Attio tools over MCP or through Anlyon's API: it can query records, add people, companies, notes and tasks, and work your lists. Each of your users connects their own Attio account with a key they create in Attio, and your company's account connects the same way. Your agent calls each action by name and never holds the key.

Let an agent keep your CRM current without free rein over it. It queries and reads records, adds people, companies, notes and tasks, and works your lists through named operations, each write counted against a daily limit.

Attiosecret · ATTIO
host
api.attio.com
connect
API key, per user
  • Create person

    attio-create-person

  • Create company

    attio-create-company

  • Add note

    attio-add-note

  • Update person job title

    attio-update-person-job-title

writes are off until switched on

What can an AI agent do in Attio? Writes are off until you switch them on.

Each one is a named operation from the pack. Reads change nothing.

Writes

  • Create person

    read back

    attio-create-person

    Create one person with an email address and a name.

  • Create company

    read back

    attio-create-company

    Create one company with a name and a domain.

  • Add note

    read back

    attio-add-note

    Add one plain-text note to a person.

  • Update person job title

    read back

    attio-update-person-job-title

    Set one person's job title, replacing the current one.

  • Set person company

    read back

    attio-set-person-company

    Set the company a person works at, replacing the current one (the company's team list in Attio changes with it).

  • Update company description

    read back

    attio-update-company-description

    Set one company's description, replacing the current one.

  • Delete record

    read back

    attio-delete-record

    Delete one person or company record.

  • Delete note

    read back

    attio-delete-note

    Delete one note.

  • Add to list

    read back

    attio-add-to-list

    Add a person or company to a list as a new entry with no entry values (set them with update-entry).

  • Update entry

    acknowledged

    attio-update-entry

    Set values on one list entry, e.g. {"stage": "Qualified"} (attribute slugs from list-attributes with target lists). Single-value attributes are replaced; values for multiselect attributes are added to the existing ones.

  • Remove entry

    read back

    attio-remove-entry

    Remove one entry from a list, with its entry values. The record itself stays.

  • Create task

    read back

    attio-create-task

    Create one open plain-text task with a deadline, linked to a person or company, optionally assigned to a workspace member by email address.

  • Update task deadline

    read back

    attio-update-task-deadline

    Move one task's deadline.

  • Complete task

    read back

    attio-complete-task

    Mark one task completed.

  • Delete task

    read back

    attio-delete-task

    Delete one task.

Reads

  • Query people

    attio-query-people

    Find person records with an Attio filter and optional sorts. Changes nothing. Returns up to 10 records with all their attribute values; when 10 come back, pass offset 10, 20 and so on for the next page (fewer than 10 means the last page).

  • Query companies

    attio-query-companies

    Find company records with an Attio filter and optional sorts. Changes nothing. Returns up to 10 records with all their attribute values; when 10 come back, pass offset 10, 20 and so on for the next page (fewer than 10 means the last page).

  • Get record

    attio-get-record

    Get one person or company by record id, with all its attribute values and its web_url in Attio.

  • List attributes

    attio-list-attributes

    List the attributes of an object (people, companies) or a list: slug, title, type, and whether each is multiselect or unique. Use it to find the slugs a filter, sort or list entry update needs. Returns 25 at a time; pass offset 25, 50 and so on for the next page.

  • List notes

    attio-list-notes

    List notes, optionally only those on one record (give parent_object and parent_record_id together). Returns 10 notes with title and full content; pass offset 10, 20 and so on for the next page.

  • Get note

    attio-get-note

    Get one note by id: its parent record, title, and content as plain text and markdown.

  • List lists

    attio-list-lists

    List every list the key can see, with its id, api_slug, name and parent object, in sidebar order. Attio returns all lists in one response; it has no paging for this endpoint.

  • List entries

    attio-list-entries

    Find entries in one list with an optional Attio filter and sorts on the list's attributes. Changes nothing. Returns up to 20 entries with their parent record id and entry values; when 20 come back, pass offset 20, 40 and so on for the next page.

  • Get entry

    attio-get-entry

    Get one list entry by id: its parent record and its values for the list's attributes.

  • List tasks

    attio-list-tasks

    List tasks, optionally only those linked to one record, assigned to one workspace member, or open or completed, oldest first unless sort says otherwise. Returns 25 tasks; pass offset 25, 50 and so on for the next page.

  • Get task

    attio-get-task

    Get one task by id: its content, deadline, whether it is completed, linked records and assignees.

How do users connect? Each one brings their own Attio.

  1. 1.Call for the userYour server invokes the action for the signed-in user. Without a Attio connection, the SDK throws EndUserNotConnectedError with a connect link.
  2. 2.The user pastes a keyThe link opens a form that shows where in Attio's settings to create the key. The link lasts 10 minutes and works once.
  3. 3.Anlyon checks itThe key is checked with Attio before it is kept, and bound to api.attio.com. It is never shown back.
  4. 4.Your server confirmsYour server confirms the connection for the user who is signed in, and the call goes through.

How do I control what an AI agent does in Attio? Suggested limits and approvals, for you to review.

Suggested limits

  • 100 people created a day
  • 50 companies created a day
  • 500 notes a day
  • 200 job titles updated a day
  • 200 person companies set a day
  • 100 company descriptions updated a day
  • 20 records deleted a day
  • 50 notes deleted a day
  • 200 list entries added a day
  • 500 list entries updated a day
  • 50 list entries removed a day
  • 200 tasks created a day
  • 200 task deadlines moved a day
  • 300 tasks completed a day
  • 50 tasks deleted a day

Suggested approvals

  • A person approves creating a company
  • A person approves deleting a record
  • A person approves deleting a note
  • A person approves removing a list entry
  • A person approves deleting a task

What the key must allow

  • An access token you create
  • Records, List entries, Notes and Tasks: Read-write
  • Object configuration, List configuration and User management: Read

Good to know

  • Attio refuses a second person with the same email, or company with the same domain, so a retry cannot create a duplicate.
  • These write to Attio's standard people and companies. A custom object needs an action you declare.

For your own account

  1. 1.In Attio, open Workspace settings, Developers, and create an access token.
  2. 2.Give it Records: Read-write, Object configuration: Read and Notes: Read-write.
  3. 3.In Anlyon, open Actions, then Integrations, choose Attio and paste the token.
  4. 4.Anlyon checks the token with Attio before storing it. It becomes a secret named ATTIO, bound to api.attio.com.

How do I call Attio from my agent's code? For one of your users, or for your own account.

Act for one of your users from your server, or connect your company's own Attio with the CLI.

attio.ts
import { Client, EndUserNotConnectedError } from "@anlyonhq/sdk";const anlyon = new Client({ apiKey: process.env.ANLYON_API_KEY! });try {  const { data } = await anlyon    .forUser(session.userId)    .actions.invoke("attio-create-person", {      email: "sam@example.com",      first_name: "Sam",      last_name: "Rivera"    });  return { status: "done", grade: data.grade };} catch (error) {  if (error instanceof EndUserNotConnectedError) {    // The user connects their own Attio, then you call again.    return { status: "connect_required", url: error.connectUrl };  }  throw error;}

Questions. Attio and AI agents.

Anything still unanswered is worth an email.

support@anlyon.com

Email us

Connect a Attio account in Anlyon, switch on the operations the agent may use, and call them from the TypeScript or Python SDK or over MCP. Each of your users connects their own account through a connect link, where they paste a key they create in Attio. Your agent sees the operations by name and never sees the credential.

Through Anlyon it can query records, add people, companies, notes and tasks, and work your lists. Reads change nothing. Writes are off until you switch them on, and every write leaves a receipt.

Yes. Every Attio action you enable is also an MCP tool on Anlyon's hosted MCP server, at https://api.anlyon.com/mcp. Add that address to Claude Code, Cursor or Codex and sign in. It is Anlyon's own integration, and it calls Attio's API with the key Anlyon holds.

No. The key stays with Anlyon and is sent only in the request to Attio's API. No API returns it, to you, to the console or to an agent.

Let your agent act for your users, safely.

A few lines of server code, then send a user a connect link. Nothing to host.

$ claude mcp add --transport http anlyon https://api.anlyon.com/mcp