[Integration]: SocialMediaScraper offline MCP tools via mcp-haystack

未关闭
#819 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 9 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
35/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
python

调研方向

Review the runnable example files linked in the issue, especially examples/haystack/README.md and haystack_offline_preview.py, and compare the proposal with the existing Unstructured Transform MCP example. Check the repository’s integration listing process and criteria; done means a maintainer has reviewed the evidence and decided whether to approve the integration. The issue explicitly says to wait for an approved label before opening a page PR.

由索引模型根据 Issue 内容生成。

描述

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

SocialMediaScraper MCP — verified Haystack MCPToolset example

Integration type

Tool Integration

Published package or repo (if it exists)

https://github.com/aistudio12/socialmediascraper-mcp-node

Need or proof of use

SocialMediaScraper — a verified local Haystack integration example. This is functional test evidence, not a claim of production customers or a separately published Haystack package.

Runnable, pinned source

The example uses haystack-ai==2.23.0, mcp-haystack==2.2.0 and mcp==2.3.0. It was run on Python 3.13.5/macOS arm64 and Node 22.22.3. It starts the already installed, genuine Node MCP CLI from the public GitHub v0.1.1 development release. That archive's SHA-256 is 98d24faf67114de1596645e40f5808fe514c0acec27a0b8c410aa735439fcc0e; installed files matched the public archive byte-for-byte. npm registry publication is not claimed.

Real framework checks

The unmodified MCP server was connected through the official Haystack MCPToolset. Four tools were discovered; the example then searched the fixed 197-operation catalog, inspected an operation schema, and previewed synthetic {"handle":"example"} input without sending a data request.

A genuine Haystack Pipeline with ToolInvoker received a manually constructed ChatMessage/ToolCall and completed a second preview. Only search_operations, inspect_operation and preview_request are supplied to that pipeline. No chat generator or LLM is configured.

The same run rejected an unknown input field and confirmed that execute_request refuses a call while execution is forced off, the process budget is zero and no customer key is provided. Python Internet-socket blocking and an independent Node provider-origin guard each recorded zero attempted requests: zero provider queries and zero paid data calls. The Haystack MCP client and local Node MCP server were genuine; their protocol exchange was not mocked. The live provider was not contacted.

Compatibility and installation limits

This deliberately pins Haystack 2.23. The first attempt with Haystack 3.5 could not import haystack.components.tools.ToolInvoker; support for that exact example on 3.5 or other desktop hosts is not claimed. An initial offline npm URL-cache miss was resolved by separating installation from runtime: the README shows how to install the exact public archive, and the example starts its local CLI with Node. This is not presented as a Haystack framework defect.

Need

A Haystack workflow can inspect social-research schemas and validate request plans before any separately authorized customer-key/credit workflow. This demonstrates request planning, not live data ingestion, generated analysis or production-customer usage.

The integration uses the existing official mcp-haystack bridge, as the directory's Unstructured Transform MCP example does, rather than inventing another client package. The linked README contains executable installation and usage instructions, license information and the paid-API boundary.

Short description

SocialMediaScraper local MCP tools for social-research schema discovery and offline request planning through the existing official mcp-haystack integration.

The Node MCP adapter exposes search_operations, inspect_operation, preview_request and opt-in execute_request. The demonstrated Haystack Pipeline/ToolInvoker receives only the three offline tools, forces execution off and budget zero, and runs without an LLM or customer key. This is a source example using the existing bridge, not an independently published SocialMediaScraper Haystack package.

The fixed 197-operation catalog is a historical snapshot labeled 2026-11-23.2, not a live price or availability guarantee. Free MIT code and offline planning do not include free API data: live calls require the customer's account/key, prepaid credits and per-operation charges. Current API documentation and pricing remain authoritative. The provider's hosted six-tool OAuth MCP is a separate documented surface and was not tested here.

This Ready proposal asks for review of the existing, installable example. It does not claim directory approval, npm/PyPI publication or production-customer usage. We will wait for a maintainer's approved label before opening an integration-page PR.

主要语言
Python
星标
114
派生
332
平均合并
5 天 1 小时
30 天内合并 PR
13

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

deepset-ai/haystack-integrations 的其他 Issue

查看 deepset-ai/haystack-integrations 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。