Dify

Dify 1.0 Plugin MCP HTTP with SSE or Streamable HTTP transport Tools
  • python

181

GitHub Stars

python

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs

You can fetch and call tools using the MCP protocol over HTTP with SSE or Streamable HTTP transport. This enables you to discover and invoke tools from MCP-enabled services through a flexible transport layer.

How to use

You connect your MCP client to one or more MCP servers that expose tools over HTTP with SSE or Streamable HTTP. Start by configuring the MCP servers you trust, then call the available tools as actions within your workflow. You can mix servers using SSE streams for real-time updates and streamable HTTP endpoints for on-demand tool calls. The setup supports multiple MCP services so you can expand your toolset without reconfiguring existing connections.

How to install

Prerequisites: Node.js and npm should be available on your system. You also need network access to the MCP server endpoints you configure.

Step 1. Create your MCP client configuration file for the servers you plan to use. Step 2. Install any required client libraries or SDKs as indicated by your MCP client setup. Step 3. Start the client and verify that you can discover and call tools from the configured MCP servers.

Additional sections

MCP Servers configuration enables you to specify multiple services, each with its own transport and endpoint. Use SSE for streaming responses or Streamable HTTP for on-demand requests. The default transport is SSE if not specified.

MCP Servers configuration examples

{
  "server_name1": {
    "transport": "sse",
    "url": "http://127.0.0.1:8000/sse",
    "headers": {},
    "timeout": 50,
    "sse_read_timeout": 50
  },
  "server_name2": {
    "transport": "sse",
    "url": "http://127.0.0.1:8001/sse"
  },
  "server_name3": {
    "transport": "streamable_http",
    "url": "http://127.0.0.1:8002/mcp",
    "headers": {},
    "timeout": 50
  },
  "server_name4": {
    "transport": "streamable_http",
    "url": "http://127.0.0.1:8003/mcp"
  }
}
{
  "mcpServers": {
      "server_name1": {
        "transport": "sse",
        "url": "http://127.0.0.1:8000/sse",
        "headers": {},
        "timeout": 50,
        "sse_read_timeout": 50
      },
      "server_name2": {
        "transport": "sse",
        "url": "http://127.0.0.1:8001/sse"
      },
      "server_name3": {
        "transport": "streamable_http",
        "url": "http://127.0.0.1:8002/mcp",
        "headers": {},
        "timeout": 50
      },
      "server_name4": {
        "transport": "streamable_http",
        "url": "http://127.0.0.1:8003/mcp"
      }
    }
}

Managed MCP Servers and examples

You can connect to managed MCP servers that host SSE or Streamable HTTP transports. Use the provided URLs directly in your MCP client configuration to access MCP services without running your own server.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational