@stevessr 在 原来这就是mcp的威力吗…… 中发帖
[!quote]- 给openwebui用于直接连接streamable http mcp 用的工具🔧,但是前提是你的模型足够智能,会自己看
"""
title: MCP Client (Multi-Server Streamable HTTP)
author: OpenWebUI User
version: 0.3.0
license: MIT
description: A generic client to connect to MULTIPLE MCP Servers using the Streamable HTTP transport. Handles tool namespacing automatically.
"""
import requests
import json
from pydantic import BaseModel, Field
from typin...