hjlarry_dify_plugin_mcp_agent

hjlarry_dify_plugin_mcp_agent

by hjlarry

License

Skip to content

You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert

hjlarry / dify-plugin-mcp_agent Public

License

MIT license

7 stars
1 fork
Branches
Tags
Activity

Star

Notifications
You must be signed in to change notification settings

hjlarry/dify-plugin-mcp_agent

main

1 Branch
1 Tag


Go to file

Code

Folders and files

| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------

hjlarry
hjlarry

fix

Mar 14, 2025

0484db1
 · Mar 14, 2025

History
-------

5 Commits

| | |
| .vscode | | .vscode | update multi clients | Mar 14, 2025 |
| _assets | | _assets | update multi clients | Mar 14, 2025 |
| provider | | provider | first commit | Mar 14, 2025 |
| strategies | | strategies | update multi clients | Mar 14, 2025 |
| .difyignore | | .difyignore | first commit | Mar 14, 2025 |
| .gitignore | | .gitignore | first commit | Mar 14, 2025 |
| LICENSE | | LICENSE | Initial commit | Mar 14, 2025 |
| PRIVACY.md | | PRIVACY.md | first commit | Mar 14, 2025 |
| README.md | | README.md | fix | Mar 14, 2025 |
| main.py | | main.py | first commit | Mar 14, 2025 |
| manifest.yaml | | manifest.yaml | first commit | Mar 14, 2025 |
| requirements.txt | | requirements.txt | update multi clients | Mar 14, 2025 |
| View all files | | |

Repository files navigation

MCP Agent Strategy

Version
Repo

A Dify Agent strategy plugin that integrates MCP tool calls and common function calls capabilities.

Features

  • Full compatibility with official function call agent strategy
  • Seamless integration with MCP tool calls
  • Flexible MCP server connection options

Getting Started

agent

Basic Configuration

For single MCP server setup, simply provide the server URL:

http://localhost:8000/sse

Advanced Configuration

For multiple MCP servers with detailed connection parameters:

{
  "server_name1": {
    "url": "http://127.0.0.1:8000/sse",
    "headers": {},
    "timeout": 5,
    "sse_read_timeout": 300
  },
  "server_name2": {
    "url": "http://127.0.0.1:8001/sse"
  }
}

How to change MCP server from stdio to sse ?

Option 1: source code modification

if __name__ == "__main__":
    mcp.run(transport='sse')

Option 2: using the mcp-proxy

uv tool install mcp-proxy
mcp-proxy --sse-host=0.0.0.0 --sse-port=8080 uvx your-server

About

No description, website, or topics provided.

Resources

Readme

License

MIT license

Activity

Stars

7 stars

Watchers

1 watching

Forks

1 fork

Report repository

Releases 1


0.0.1 Latest\
\
Mar 14, 2025

Packages 0


No packages published

Languages

You can’t perform that action at this time.

Features & Capabilities

Categories
mcp_server model_context_protocol

Implementation Details

Stats

0 Views
7 GitHub Stars

Repository Info

hjlarry Organization

Similar MCP Servers

continuedev_continue by continuedev
25049
21423
9300