> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dify.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Servers

> Configure Model Context Protocol servers for extended capabilities.

MCP (Model Context Protocol) servers extend Dify's capabilities by providing standardized interfaces to external systems.

## What is MCP?

The Model Context Protocol is an open standard for connecting AI models to external tools and data sources. MCP servers expose capabilities that agents can use during conversations.

## Built-in MCP Servers

### Evolution API (WhatsApp)

Connect your WhatsApp Business account to send and receive messages through agents.

<Steps>
  <Step title="Set up Evolution API">
    Deploy Evolution API or use a hosted instance. See [Evolution API docs](https://doc.evolution-api.com/).
  </Step>

  <Step title="Configure connection">
    Add to your environment:

    ```env theme={null}
    EVOLUTION_API_URL=https://your-evolution-instance.com
    EVOLUTION_API_KEY=your-api-key
    ```
  </Step>

  <Step title="Connect in Dify">
    Go to **Settings > Connections** and add your WhatsApp connection.
  </Step>
</Steps>

### EasyPanel

Manage server deployments and infrastructure through conversation.

```env theme={null}
EASYPANEL_URL=https://your-easypanel-instance.com
EASYPANEL_API_KEY=your-api-key
```

## Adding Custom MCP Servers

Dify supports connecting to any MCP-compatible server:

1. Go to **Settings > MCP Servers**
2. Click **Add Server**
3. Enter the server URL and authentication details
4. The server's tools and resources become available to agents

<Tip>
  MCP servers follow a standard protocol. Any MCP-compatible server can be connected to Dify, extending your agents' capabilities.
</Tip>
