dify-plugin-mcp_server
Documentation
MCP Server
Author: hjlarry
Version: 0.0.4
Type: extension
Repo: https://github.com/hjlarry/dify-plugin-mcp_server
Feature Request: issues
A Dify endpoint plugin that change a dify app to a mcp server.
To keep your data secure, use this plugin exclusively within your private network.
Get Started
1. create a simple workflow app in dify.

2. add a endpoint and select this app.

The app's input schema must define its input parameters. For a chat dify app, ensure to include a `query` field in the input schema, formatted as follows:
{
"name": "get_weather",
"description": "Get weather status for a place.",
"inputSchema": {
"properties": {
"place": {"title": "Place", "type": "string"}
},
"required": ["place"],
"title": "get_weatherArguments",
"type": "object"
}
}3. copy the endpoint url to your mcp client, like `Cherry Studio`
Option 1: Use the newest Streamable HTTP protocol (Recommended)


Option 2: Use the legacy SSE protocol


4. enjoy it!

5. To keep your data secure, you can add a `Auth Bearer Token` on the endpoint setting.
For example, if your `Auth Bearer Token` is setting to `sk-abcdefgh`, then the request header of MCP client must add `Authorization: Bearer sk-abcdefgh`
Changelog
0.0.4
- Add response to the `ping` method of MCP client, some clients use this method to check server health
- Add `Authorization: Bearer` token validator
- Fix some log incorrect
0.0.3
- To fix sse get non-exist key get lots error logs on the plugin daemon.
- Add logs to help debug problems.
- Streamable http support response object and array.
0.0.2
- Add a new Streamable HTTP protocol.
- Update dify-plugin-sdk version.
Frequently asked questions
What is dify-plugin-mcp_server?
dify-plugin-mcp_server is a Model Context Protocol (MCP) server listed in the TrackMCP directory.
How do I install dify-plugin-mcp_server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is dify-plugin-mcp_server open source?
Yes — it is hosted on GitHub at https://github.com/hjlarry/dify-plugin-mcp_server and has 56 stars.
Related MCP tools
AWS MCP Servers — helping you get the most out of AWS, wherever you use MCP. Python-based implementation. Trusted by 6900+ developers.
A simple, secure MCP-to-OpenAPI proxy server Python-based implementation. Trusted by 3500+ developers. Trusted by 3500+ developers.
MCP server that interacts with Obsidian via the Obsidian rest API community plugin Python-based implementation. Trusted by 2300+ developers.
Default Configuration: MCP CLI defaults to using Ollama with the gpt-oss reasoning model for local, privacy-focused operation without requiring API keys.
Official MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP server for long term agent memory with Mem0. Also useful as a template to get you started building your own MCP server with Python!
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP