Dify MCP Server

Dify provider for Vercel AI SDK

Remote serverstreamable-httpTypeScript

What is the Dify MCP Server?

Dify provider for Vercel AI SDK

What the server does

This provider allows you to easily integrate Dify AI's application workflow with your applications using the Vercel AI SDK.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Dify MCP Server

{
  "mcpServers": {
    "dify-server-1": {
      "command": "npx",
      "args": ["-y", "dify-ai-provider"],
      "env": {
        "DIFY_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
DIFY_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Dify to Streaming.”
  • “Use Dify to Parameters.”

Frequently asked questions

Dify provider for Vercel AI SDK Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.