mcp-server-dify

by yuru-sha

11 stars
303 downloads
Not rated
GitHub

About

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.

Details

Author
yuru-sha
GitHub stars
11
Downloads
303
Categories
Other

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mcp-server-dify
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

mcp-server-dify

CI Status

Model Context Protocol Server for Dify AI. This server enables LLMs to interact with Dify AI's chat completion capabilities through a standardized protocol.

Features

- Integration with Dify AI chat completion API
- Restaurant recommendation tool (meshi-doko)
- Support for conversation context
- Streaming response support
- TypeScript implementation

Installation

Using Docker

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.