Feedback

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
yuru-sha
Submitted by
Community
Quality
40
Stars
11

About mcp-server-dify

Sample MCP Server for Dify AI

mcp-server-dify is a MCP server in the Other category listed in the AddMCP.net directory, published by yuru-sha. Supported transport: stdio. Runtime: node. License: MIT. The repository has 11 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "mcp-server-dify": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "mcp/dify",
                "https://your-dify-api-endpoint",
                "your-dify-api-key"
            ]
        }
    }
}

mcp-server-dify config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-server-dify": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "mcp/dify",
                "https://your-dify-api-endpoint",
                "your-dify-api-key"
            ]
        }
    }
}

mcp-server-dify tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is mcp-server-dify?

mcp-server-dify is a Model Context Protocol server that enables LLMs to interact with Dify AI’s chat completion API. Written in TypeScript, it provides a standardized interface for chat, streaming responses, and conversation context.

How to use mcp-server-dify?

Install via Docker (make docker then docker run -i --rm mcp/dify <endpoint> <key>) or run directly with npx. Configure it in Claude Desktop by adding the endpoint and API key to your claude_desktop_config.json. Invoke its tools, such as the meshi-doko tool for restaurant recommendations, by supplying the required parameters (LOCATION, BUDGET, query, optional conversation_id).

Key features of mcp-server-dify

  • Integration with Dify AI chat completion API
  • Restaurant recommendation tool (meshi-doko)
  • Support for maintaining conversation context
  • Streaming response support
  • TypeScript implementation with CI, linting, and formatting
  • Docker and npx deployment options

Use cases of mcp-server-dify

  • Querying Dify AI for restaurant recommendations based on location and budget
  • Building conversational agents that maintain multi-turn context
  • Enabling LLMs to access Dify AI’s specialized chat capabilities through a standardized protocol
  • Rapid prototyping with Docker or direct CLI invocation

Frequently asked questions

1 What are the prerequisites for using mcp-server-dify?

You need a Dify AI API endpoint URL and an API key. Either Docker (to run the container) or Node.js (to use npx) is required.

2 How do I install and run mcp-server-dify with Docker?

Build the image with make docker, then run: docker run -i --rm mcp/dify <your-dify-api-endpoint> <your-dify-api-key>.

3 What does the meshi-doko tool do?

It is a restaurant recommendation tool that interfaces with Dify AI. It accepts a location, budget, query, and optional conversation ID to maintain context across calls.

4 Does mcp-server-dify support streaming?

Yes, streaming response support is listed as a feature.

5 How should I secure my API credentials?

Keep your API key private, use HTTPS for the endpoint, and never commit the key to version control.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬