Skip to main content
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.
1

Set up Evolution API

Deploy Evolution API or use a hosted instance. See Evolution API docs.
2

Configure connection

Add to your environment:
EVOLUTION_API_URL=https://your-evolution-instance.com
EVOLUTION_API_KEY=your-api-key
3

Connect in Dify

Go to Settings > Connections and add your WhatsApp connection.

EasyPanel

Manage server deployments and infrastructure through conversation.
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
MCP servers follow a standard protocol. Any MCP-compatible server can be connected to Dify, extending your agents’ capabilities.