Back to Templates

🛠️ Affinity Tool MCP Server 💪 all 16 operations

Created by

Created by: David Ashby || cfomodz

David Ashby

Last update

Last update 3 days ago

Categories

Share


🛠️ Affinity Tool MCP Server

Complete MCP server exposing all Affinity Tool operations to AI agents. Zero configuration needed - all 16 operations pre-built.

⚡ Quick Setup

  1. Import this workflow into your n8n instance
  2. Activate the workflow to start your MCP server
  3. Copy the webhook URL from the MCP trigger node
  4. Connect AI agents using the MCP URL

🔧 How it Works

MCP Trigger: Serves as your server endpoint for AI agent requests
Tool Nodes: Pre-configured for every Affinity Tool operation
AI Expressions: Automatically populate parameters via $fromAI() placeholders
Native Integration: Uses official n8n Affinity Tool tool with full error handling

📋 Available Operations (16 total)

Every possible Affinity Tool operation is included:

📝 List (2 operations)

Get a list
Get many lists

🔧 Listentry (4 operations)

Create a list entry
Delete a list entry
Get a list entry
Get many list entries

🏢 Organization (5 operations)

Create an organization
Delete an organization
Get an organization
Get many organizations
Update an organization

👥 Person (5 operations)

Create a person
Delete a person
Get a person
Get many people
Update a person

🤖 AI Integration

Parameter Handling: AI agents automatically provide values for:
• Resource IDs and identifiers
• Search queries and filters
• Content and data payloads
• Configuration options

Response Format: Native Affinity Tool API responses with full data structure

Error Handling: Built-in n8n error management and retry logic

💡 Usage Examples

Connect this MCP server to any AI agent or workflow:

Claude Desktop: Add MCP server URL to configuration
Custom AI Apps: Use MCP URL as tool endpoint
Other n8n Workflows: Call MCP tools from any workflow
API Integration: Direct HTTP calls to MCP endpoints

✨ Benefits

Complete Coverage: Every Affinity Tool operation available
Zero Setup: No parameter mapping or configuration needed
AI-Ready: Built-in $fromAI() expressions for all parameters
Production Ready: Native n8n error handling and logging
Extensible: Easily modify or add custom logic

🆓 Free for community use! Ready to deploy in under 2 minutes.