Skip to main content
Glama
api-overview.mdβ€’7.52 kB
# Attio API Overview βœ… **Current Status**: Attio MCP Server implements **25 total tools** - 14 Universal Tools + 11 Lists Tools Attio provides a powerful REST API that allows developers to build applications that read and write information to and from Attio workspaces. The API exchanges JSON over HTTPS and provides comprehensive access to Attio's core functionality. > **πŸš€ Universal Tools Available**: The MCP server provides Universal Tools that consolidate 40+ resource-specific operations into 14 powerful universal tools + 11 specialized Lists tools. This provides better performance, consistent APIs, and simplified integration. ## Understanding the Model Context Protocol (MCP) The Attio MCP server acts as a bridge between Claude (or other AI assistants) and the Attio API. This integration allows Claude to interact with your CRM data without requiring you to manually copy and paste information. ### How MCP Works 1. **Request Flow**: When you ask Claude about Attio data, Claude sends a structured request to the Attio MCP server 2. **Authentication**: The MCP server authenticates with Attio using your API key 3. **Data Retrieval**: The server fetches the requested data from Attio's API 4. **Response**: Claude receives the data and presents it to you in a conversational format ### URI Scheme The Attio MCP server uses a custom URI scheme to identify resources: - Companies: `attio://companies/{company_id}` - People: `attio://people/{person_id}` - Lists: `attio://lists/{list_id}` - Notes: `attio://notes/{note_id}` Claude uses these URIs to reference specific records when performing operations. ### Available Tools Claude can interact with Attio using **25 fully implemented tools** provided by the MCP server: #### βœ… Universal Tools (14 tools) - Primary Interface - **`records.search`** - Universal search across companies, people, records, and tasks - **`records.get_details`** - Retrieve detailed information for any record type - **`create-record`** - Create new records across all resource types - **`update-record`** - Update existing records with validation - **`delete-record`** - Delete records across all resource types - **`records.get_attributes`** - Get attribute definitions for resource types - **`records.discover_attributes`** - Discover available attributes with examples - **`records.get_info`** - Get specific info types (basic, contact, business, social) - **`records.search_advanced`** - Complex filtering with multiple conditions - **`records.search_by_relationship`** - Cross-resource relationship searches - **`records.search_by_content`** - Content-based searches (notes, activity) - **`records.search_by_timeframe`** - Time-based searches with date ranges - **`records.batch`** - Bulk operations for multiple records - **`records.search_batch`** - Bulk search operations #### βœ… Lists Tools (11 tools) - Specialized List Management - **`get-lists`** - Get all CRM lists - **`get-list-details`** - Get specific list configuration - **`get-list-entries`** - Get entries from lists with pagination - **`filter-list-entries`** - Filter entries by single attribute - **`advanced-filter-list-entries`** - Complex filtering with AND/OR logic - **`add-record-to-list`** - Add records to lists - **`remove-record-from-list`** - Remove records from lists - **`update-list-entry`** - Update list entry attributes (stage changes) - **`filter-list-entries-by-parent`** - Filter by parent record properties - **`filter-list-entries-by-parent-id`** - Filter by specific parent record ID - **`get-record-list-memberships`** - Find all lists containing a record #### ⚠️ Legacy Tools (Deprecated) Legacy resource-specific tools are deprecated but available with `DISABLE_UNIVERSAL_TOOLS=true`. Migration to Universal Tools is recommended for better performance and consistency. **Current Tools**: All 25 tools (14 Universal Tools + 11 Lists Tools) are fully implemented and tested. ### Advanced Filtering Capabilities The Attio MCP server provides multiple filtering methods: - **Basic filtering**: Simple text-based searches for names, emails, etc. - **Advanced filtering**: Complex filter conditions with multiple attributes and logic - **Date and numeric filtering**: Filter by dates and numeric values with range support - **Activity filtering**: Find records based on interaction history and activity - **Relationship filtering**: Find records based on their relationships with other records For details, see: - [Advanced Filtering Guide](./advanced-filtering.md) - [Date and Numeric Filtering](./date-numeric-filtering.md) - [Activity and Historical Filtering](./activity-historical-filtering.md) - [Relationship-Based Filtering](./relationship-filtering.md) ## Authentication ### API Keys For personal or internal use, you can use API keys to authenticate: ``` Authorization: Bearer your_api_key_here ``` ### OAuth 2.0 For multi-workspace applications, Attio supports OAuth 2.0: - **Authorization Endpoint**: `https://auth.attio.com/oauth/authorize` - **Token Endpoint**: `https://auth.attio.com/oauth/token` Required scopes vary by endpoint and are documented in the reference documentation. ## Core Concepts ### Objects and Lists Attio's data model is built around Objects (like Companies, People) and Lists that organize records. - Objects define the structure of your data (schema) - Lists provide views and organization of records - Records are instances of objects with specific attribute values ### Standard Objects Attio includes several standard objects: - Companies - People - Opportunities - Tasks - Notes - Workspaces - Users ### API Endpoints The API is organized into functional areas: - **Objects**: Create, read, update, delete objects and their attributes - **Lists**: Manage lists and list entries - **Records**: Create, read, update, delete records - **People**: Manage person records - **Tasks**: Manage tasks and assignments - **Notes**: Create and manage notes attached to records - **Users**: Manage workspace users and permissions - **Webhooks**: Subscribe to real-time events ## Base URL All API requests should be directed to: ``` https://api.attio.com/v2/ ``` ## Rate Limits The Attio API imposes rate limits to ensure stability. Current limits are: - 100 requests per minute per API key - 1,000 requests per hour per API key ## Response Format All responses are in JSON format. A typical successful response includes: ```json { "data": {}, "meta": { "page": 1, "pageSize": 25, "total": 100 } } ``` ## Error Handling Error responses include a status code, error type, and error message: ```json { "error": { "type": "invalid_request_error", "message": "The requested resource was not found" } } ``` Common error status codes: - 400: Bad Request - 401: Unauthorized - 403: Forbidden - 404: Not Found - 429: Too Many Requests - 500: Internal Server Error ## Pagination API endpoints that return lists of items support pagination with the following parameters: - `page`: The page number to retrieve (starting at 1) - `pageSize`: The number of items per page (default 25, max 100) ## References For detailed information about specific endpoints, refer to the following documentation: - [Tasks API Documentation](./tasks-api.md) - [Objects API Documentation](./objects-api.md) - [Lists API Documentation](./lists-api.md) - [Records API Documentation](./records-api.md) - [People API Documentation](./people-api.md) - [Notes API Documentation](./notes-api.md)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kesslerio/attio-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server