# Apideck MCP for AI Agents MCP

> Apideck lets your AI agent talk to dozens of SaaS platforms—all from one place. It manages CRM contacts, handles user account connections in a secure 'Vault,' and runs proxy requests across services like Salesforce, HubSpot, and more. Stop writing custom code for every platform; connect everything through this single unified API.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Tags:** unified-api, crm-integration, vault, api-proxy, saas-orchestration

## Description

Apideck lets you build agents that interact with your entire software stack without needing to write boilerplate code for each service. Instead of connecting separately to dozens of CRMs or integrating accounts one by one, Apideck acts as a universal translator. Your AI agent uses the platform's unified APIs to read contacts from different sources and manage user connections in a secure Vault environment.

This means your agent can check if a customer’s integration is healthy, list all connected services, or pull contact lists from Salesforce just as easily as it pulls them from Pipedrive. It drastically cuts down on the time spent writing platform-specific API calls. Because Vinkius hosts this MCP, you connect your preferred AI client once and immediately gain access to these powerful orchestration tools.

It's about unifying the data layer so your agent can work across boundaries, giving you one consistent way to manage user identity and CRM information.

## Tools

### list_crm_contacts
Retrieves and filters contact lists from all connected CRM providers using one unified call.

### delete_vault_connection
Removes a specific, pre-existing connection link within the secure Vault environment.

### get_vault_connection
Checks and retrieves detailed status information for one particular service integration in the Vault.

### execute_proxy
Sends a direct API request to an arbitrary external endpoint when standard tools don't cover the needed functionality.

### list_vault_connections
Generates a comprehensive list of every active and inactive integration connected through the Vault.

### create_vault_session
Initiates a new, secure session link in the Vault so users can connect their own accounts.

## Prompt Examples

**Prompt:** 
```
Can you pull all leads who interacted last week but aren't fully set up in the Vault?
```

**Response:** 
```
**📊 CRM Lead Status Report**

I pulled data from your connected CRMs and cross-referenced it with current Vault connections. Here are 5 leads needing attention:

| Contact Name | Source CRM | Last Activity Date | Connection Status |
| :--- | :--- | :--- | :--- |
| Jane Doe | HubSpot | 2024-06-10 | Needs Linkage |
| Mark Smith | Salesforce | 2024-06-15 | Active (OK) |
| Alex Jones | Pipedrive | 2024-06-08 | Missing Vault Session | 

**Next Steps:** I recommend initiating a new session for Jane Doe and Alex Jones.
```

**Prompt:** 
```
What is the current status of our integrations across all connected platforms?
```

**Response:** 
```
**✅ Vault Connection Audit Summary**

You have 7 active connections. All are reported as healthy, but here’s a breakdown:

*   **Salesforce:** Active (Last checked: 5 mins ago)
*   **HubSpot:** Active (Data sync OK)
*   **Slack:** Active (Permissions confirmed)
*   **Jira:** Warning (Token expires in 3 days. Consider re-auth.)

Overall, the system is stable, but you should check the Jira credentials soon.
```

**Prompt:** 
```
I need a list of all contacts from both Salesforce and HubSpot who have never logged into the Vault.
```

**Response:** 
```
**👤 Unlinked High-Value Contacts**

Based on your criteria, I found 14 contacts. They are active in CRM but lack an established Vault session.

*   Alice Smith (alice@example.com) - Last Seen: Salesforce
*   Bob Jones (bob@example.com) - Last Seen: HubSpot
*   ... (and 12 others)

You can use this list to target them with a manual onboarding email.
```

## Capabilities

### Retrieve contacts from multiple CRMs
The MCP pulls contact lists and filters them across various connected CRM providers.

### Manage user account links in the Vault
You can initiate new user sessions, list existing connections, or delete specific service integrations.

### Audit connection health
The system checks and reports on the status of any active integration to ensure data flow is working.

### Run custom API requests
When a specific function isn't covered by the standard tools, you can execute direct proxy calls to other endpoints.

## Use Cases

### Auditing CRM data for compliance
A product manager needs to confirm if every user who signed up last month has been correctly linked across Salesforce and Pipedrive. They ask the agent, which uses `list_crm_contacts` combined with `list_vault_connections` to generate a comprehensive report showing both data presence and connection status.

### Onboarding new enterprise clients
A support engineer needs to get a client started. They ask the agent to use `create_vault_session`, generate the required redirect URL, and guide the user through linking their accounts securely in the Vault.

### Cross-platform data migration
A developer needs to pull a list of key contacts from multiple systems before migrating them. They prompt the agent to use `list_crm_contacts` across all connected providers, consolidating the data set for transfer.

### Fixing broken integrations
A team member notices a client is having issues. Instead of guessing, they ask the agent to run `get_vault_connection` on that specific service link to immediately report if the connection token or status is expired.

## Benefits

- Stop writing custom code. Instead of building unique connection logic for every single service, Apideck lets your agent access all platforms through one standardized API.
- Audit user connections instantly. Use `list_vault_connections` to see the status of every integrated platform and verify if data flow is healthy without manually checking dashboards.
- Centralized contact management. You can pull contacts from multiple sources, like Salesforce or HubSpot, using `list_crm_contacts` in a single request for context building.
- Maintain system integrity with confidence. The ability to use `get_vault_connection` lets your agent verify specific user setup details before taking action, reducing operational risk.
- Flexible fallback. Need a function that doesn't have a dedicated tool? You can always execute it using the `execute_proxy` function.

## How It Works

The bottom line is that you treat your entire SaaS ecosystem like one big database through Apideck's standardized API layer.

1. Subscribe to this MCP and provide your unique Apideck API Key, App ID, and Consumer ID credentials.
2. Your AI agent connects to the unified endpoint provided by the MCP.
3. The agent sends a request—for example, 'List all contacts from HubSpot'—and receives structured data back.

## Frequently Asked Questions

**How does the Apideck MCP help me manage data across different CRMs?**
The Apideck MCP standardizes your connection layer, so you don't have to write custom code for every single CRM. It lets your agent pull contacts from Salesforce and HubSpot into one structured list using a unified API call.

**Is the Apideck MCP useful if I only use one type of software?**
No, it's designed for multi-platform orchestration. If you only use a single app, connecting directly is simpler. But if your workflow involves multiple services, this MCP provides the necessary glue.

**What does 'Vault connection' mean when I use Apideck MCP?**
The Vault is the secure place where you manage user identity and service links. It lets your agent check if a customer has correctly linked their accounts, which is key for data integrity.

**Can Apideck help me onboard new users automatically?**
Yes. The MCP provides tools to create secure Vault sessions and generate the necessary links. Your agent can guide a user through linking their own accounts using these tools.

**Does the Apideck MCP require writing any API code myself?**
No, you don't write the integration boilerplate. You just connect your AI client to the MCP, and then use natural language prompts to ask for data or actions.