# Clay MCP

> Connects to Clay via Scalekit MCP to enrich companies and contacts, query objects, run subroutines, and manage data workflows.

**URL:** https://caywork.com/learn/docs/node/claymcp-node

## Content

The **Clay MCP Node** integrates securely with Clay's data enrichment and workflow automation API through the Scalekit MCP gateway. It enables your AI agent to enrich companies and contacts, query objects, run subroutines, and manage Clay tasks.

## Parameters

### Required Parameters
* **action** (string): The target Clay MCP tool action to run. Must be one of the enabled actions:
  * `claymcp_add_company_data_points`: Add data points to a company.
  * `claymcp_add_contact_data_points`: Add data points to a contact.
  * `claymcp_ask_question_about_accounts`: Ask a question about accounts.
  * `claymcp_find_and_enrich_company`: Find and enrich a company.
  * `claymcp_find_and_enrich_contacts_at_company`: Find and enrich contacts at a company.
  * `claymcp_find_and_enrich_list_of_contacts`: Find and enrich a list of contacts.
  * `claymcp_get_credits_available`: Get available credits.
  * `claymcp_get_subroutine_input_options`: Get subroutine input options.
  * `claymcp_get_task`: Get a task.
  * `claymcp_get_task_context`: Get context for a task.
  * `claymcp_list_subroutines`: List available subroutines.
  * `claymcp_query_objects`: Query Clay objects.
  * `claymcp_run_subroutine`: Run a subroutine.
  * `claymcp_run_subroutine_direct`: Run a subroutine directly.
  * `claymcp_run_subroutine_no_mapping`: Run a subroutine without mapping.
  * `claymcp_track_event`: Track an event.

### Optional Parameters
* **params** (object): A key-value dictionary containing action-specific inputs (e.g., `{'company_id': '12345', 'params': {...}}`).

## Practical Use Cases
1. **Prospecting and enrichment**: Find companies and contacts and enrich them with relevant data points for sales or marketing workflows.
2. **Workflow automation**: Run Clay subroutines directly from an agent to automate data tasks and track progress.