MCP Haystack Demo
@oryx1729
MCP Haystack Demo について
Demo for using MCP Servers in a Haystack Pipeline
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-haystack-google-maps": {
"command": "docker",
"args": [
"run",
"-it",
"--rm",
"-p",
"8000:8000",
"-e",
"GOOGLE_MAPS_API_KEY=$GOOGLE_MAPS_API_KEY",
"supercorp/supergateway",
"\\"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Haystack Demo?
MCP Haystack Demo is a Haystack Toolset that connects to remote MCP (Model Context Protocol) servers, with a focus on Google Maps API integration. It dynamically discovers and loads available tools from the server for use in Haystack pipelines.
How to use MCP Haystack Demo?
Install dependencies with uv, then start a Google Maps MCP server using Docker and connect via the MCPServer class. See the provided demo notebook for a complete example. Use ToolInvoker or ChatGenerator with the loaded toolset.
Key features of MCP Haystack Demo
- Connect to remote MCP servers using SSE (Server-Sent Events)
- Dynamically discover and load available tools from the MCP server
- Seamless integration with Haystack pipelines
Use cases of MCP Haystack Demo
- Integrating Google Maps API tools into a Haystack pipeline
- Building a location-aware AI assistant using Haystack components
- Demonstrating MCP server connectivity within the Haystack framework
FAQ from MCP Haystack Demo
What transport does the MCP server use?
The MCP server uses SSE (Server-Sent Events) as the transport protocol.
How do I start the Google Maps MCP server?
Run docker run -it --rm -p 8000:8000 -e GOOGLE_MAPS_API_KEY=$GOOGLE_MAPS_API_KEY supercorp/supergateway --stdio "npx -y @modelcontextprotocol/server-google-maps" --port 8000.
What runtime dependencies are required?
The project relies on uv for installation and requires Haystack libraries that support the MCPServer and SSEServerInfo classes.
Is this a production-ready server?
No, this is a demo – it demonstrates connecting Haystack to MCP servers, specifically Google Maps. It should not be used in production without further hardening.
Where does the data (e.g., API keys) live?
The Google Maps API key is passed as an environment variable (GOOGLE_MAPS_API_KEY) to the Docker container. No data is stored locally by the server.
「メディアとデザイン」の他のコンテンツ
Vibe Design System
mondaycom🎨 Vibe Design System - Official monday.com UI resources for application development in React.js
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Video Editor MCP server
burningionMCP Interface for Video Jungle
Figma MCP Server
JayArrowzFigma MCP Server with full API functionality
YouTube Transcript MCP Server
jkawamotoMCP server retrieving transcripts of YouTube videos
コメント