https://github.com/hjlarry/dify-plugin-mcp_server
https://github.com/hjlarry/dify-plugin-mcp_server
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hjlarry/dify-plugin-mcp_server
- Owner: hjlarry
- Created: 2025-03-18T08:42:37.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-18T03:50:38.000Z (7 months ago)
- Last Synced: 2025-04-18T15:20:24.404Z (7 months ago)
- Language: Python
- Size: 3.7 MB
- Stars: 15
- Watchers: 1
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mcp-servers - **dify-plugin-mcp_server** - Python-based `python` `pip install git+https://github.com/hjlarry/dify-plugin-mcp_server` (🤖 AI/ML)
- awesome-mcp - Dify plugin - Change a Dify app to a mcp server. (Tools / Community)
- toolsdk-mcp-registry - ❌ dify-workflow - enabled endpoints, allowing AI tools to interact with custom functions through a simple setup process that bridges Dify's capabilities with external systems. (python) (Other Tools and Integrations)
- metorial-index - Dify Plugin - Transform Dify applications into MCP servers for integrating and managing workflows, allowing for real-time data access while ensuring data security within a private network. (Task and Project Management)
README
# MCP Server
**Author:** hjlarry
**Version:** 0.0.3
**Type:** extension
**Repo:** [https://github.com/hjlarry/dify-plugin-mcp_server](https://github.com/hjlarry/dify-plugin-mcp_server)
**Feature Request:** [issues](https://github.com/hjlarry/dify-plugin-mcp_server/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:
```json
{
"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!

## Changelog
### 0.0.3
- To fix sse get non-exist key get lots error logs on the plugin daemon.
### 0.0.2
- Add a new Streamable HTTP protocol.
- Update dify-plugin-sdk version.