What does this demo do?
It shows how to connect multiple MCP servers using different transports (stdio and SSE) and create a LangChain agent that can use tools from both.
@fredrikp999
基本信息
Example of using MCP servers, both over sdio + sse. Also using langchain-mcp
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-sse-langchain-example": {
"command": "python",
"args": [
"main.py"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
A demonstration project that uses the Model Context Protocol (MCP) to connect multiple servers via different transport methods (stdio and Server-Sent Events). It integrates with LangChain and OpenAI to create an agent that can use tools from both a math server and a weather server.
Clone the repository, install dependencies with pip install -r requirements.txt, and set your OpenAI API key in a .env file. Run python main.py to start the weather server on port 8000, connect to both servers, and execute example queries.
It shows how to connect multiple MCP servers using different transports (stdio and SSE) and create a LangChain agent that can use tools from both.
Python 3.8+ and an OpenAI API key. Dependencies are installed via `requirements.txt`.
The weather data is simulated (no real API). All data is local to the demo.
The math server uses stdio transport; the weather server uses SSE transport (HTTP-based server‑to‑client push).
Only the OpenAI API key (set in `.env`) is required for the agent. No additional auth for the MCP servers.
UnificAlly MCP server. One API for 100+ AI video, image, music and speech models. https://mcp.unifically.com/mcp

Remote MCP for AI image, video, music, speech and custom voice generation. Discover models and input schemas for free; authorize your APIXO account to generate media and check results.

Amazon Seller Central MCP server. Connect Seller Central, Vendor Central and Amazon Ads to Claude, ChatGPT, Gemini or Cursor, and ask for net profit per SKU with your own COGS, VAT and FBM shipping costs, PPC down to the
Model Context Protocol (MCP) server for Hostinger API. If you don't want to install or run anything locally, connect directly to Hostinger's hosted MCP server: This opens a browser window to authorize via OAuth. Once app

Bring ideas to life with Fotor MCP: generate and edit images, enhance product photos, and create videos, voiceovers, and music.
评论