Atlas / MCP servers / deepset-ai / Hayhooks

HayhooksSAFE

mcp/deepset-ai/hayhooks

Easily deploy Haystack pipelines as REST APIs and MCP Tools.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
7 7r · 0w · 0d
Transport
streamable-http
License
Apache-2.0
Stars
152
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Serve [Haystack](https://haystack.deepset.ai/) Pipelines and Agents as production APIs:REST, OpenAI-compatible chat, MCP, A2A, and durable executions that survive restarts.

[](https://pypi.org/project/hayhooks) [](https://pypi.org/project/hayhooks) [](https://github.com/deepset-ai/hayhooks/actions/workflows/docker.yml) [](https://github.com/deepset-ai/hayhooks/actions/workflows/tests.yml)

**Documentation** · Quick start · Durable execution · Examples

Write a small Python wrapper around your Pipeline or Agent, and Hayhooks turns it into typed endpoints, streaming chat backends, and agent-to-agent tools. When the work outlives a request, a restart, or a deploy, run it as a durable execution: checkpointed in Redis, resumable on any replica, and able to wait for a human.

📦 REST APIs from Python Every wrapper or YAML pipeline becomes typed, validated endpoints with OpenAPI docs, file uploads, and custom routes.

♻️ Durable executions Checkpoints, retries, human approval, cancellation, and restart recovery for long-running Pipelines and Agents. Learn more

💬 OpenAI-compatible chat Streaming /chat/completions and /responses backends for Open WebUI, or an embedded Chainlit UI with

Read from source at commit 96ecad8532a5OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add dashboard --env APP_API_KEY=${APP_API_KEY} --env DURABLE_REDIS_KEY_PREFIX=${DURABLE_REDIS_KEY_PREFIX} --env OPENAI_API_KEY=${OPENAI_API_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "dashboard": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "APP_API_KEY": "${APP_API_KEY}",
        "DURABLE_REDIS_KEY_PREFIX": "${DURABLE_REDIS_KEY_PREFIX}",
        "OPENAI_API_KEY": "${OPENAI_API_KEY}"
      }
    }
  }
}
03

Exposed tools (7)

7 read · 0 write · 0 destructive.

ToolRiskDescription
get_weatherread
read_filereadRead a text file from disk given its absolute or relative path.
read_uploaded_filereadRetrieve the contents of a file previously uploaded via the /v1/files endpoint, given its file_id.
server_get_weatherreadGet current weather for a city via Open-Meteo. Returns temperature, humidity, wind speed and condition.
suggest_activitiesread
weather_toolreadProvides weather information for a given location.
workreadComplete one step
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (4 observation(s))
Network
declared (6 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (19)

LOWInventory / provenance · inv.symlink · CWE-1104
tests/test_files/files/async_chat_with_website/chat_with_website.yml
tests/test_files/files/async_chat_with_website/chat_with_website.yml
Why it matters. link not followed
LOWInventory / provenance · inv.symlink · CWE-1104
tests/test_files/files/async_chat_with_website_streaming/chat_with_website.yml
tests/test_files/files/async_chat_with_website_streaming/chat_with_website.yml
Why it matters. link not followed
LOWInventory / provenance · inv.symlink · CWE-1104
tests/test_files/files/chat_with_website_mcp/chat_with_website.yml
tests/test_files/files/chat_with_website_mcp/chat_with_website.yml
Why it matters. link not followed
LOWInventory / provenance · inv.symlink · CWE-1104
tests/test_files/files/chat_with_website_streaming/chat_with_website.yml
tests/test_files/files/chat_with_website_streaming/chat_with_website.yml
Why it matters. link not followed
LOWInventory / provenance · inv.symlink · CWE-1104
tests/test_files/files/no_wrapper/chat_with_website.yml
tests/test_files/files/no_wrapper/chat_with_website.yml
Why it matters. link not followed
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
tests/test_pipeline_loader.py:118
restored = pickle.loads(pickle.dumps(request))
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/test_pipeline_loader.py:114
root = __import__(module_name)
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_pipeline_path_safety.py:87
"nested/../../important.txt",
LOWNetwork egress · net.tls_off · CWE-200, CWE-319
tests/test_utils.py:81
verify=False,
Why it matters. certificate verification is disabled
Fix. leave verification on
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
dashboard/package.json
@base-ui/react, @fontsource/inter, @tailwindcss/vite, class-variance-authority, clsx, lucide-react, react, react-dom
Why it matters. 28 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/a2a_multi_agent/requirements.txt
hayhooks, mcp, mcp-haystack, httpx
Why it matters. 4 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/programmatic/api_key_auth/requirements.txt
hayhooks, haystack-ai
Why it matters. 2 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/rag_indexing_query/requirements.txt
hayhooks, elasticsearch-haystack, sentence-transformers-haystack, huggingface-api-haystack, pypdf, markdown-it-py, mdit_plain
Why it matters. 7 requirement(s) not pinned with ==
Fix. pin exact versions
INFOInventory / provenance · inv.oversize · CWE-1104
docs/assets/chat-completion.gif
docs/assets/chat-completion.gif
Why it matters. 1420289 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
docs/assets/hayhooks-cursor-dev-deploy-overwrite.gif
docs/assets/hayhooks-cursor-dev-deploy-overwrite.gif
Why it matters. 6976685 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
docs/assets/open-webui-deploy-pipeline-from-chat.gif
docs/assets/open-webui-deploy-pipeline-from-chat.gif
Why it matters. 4845859 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
docs/assets/open-webui-hayhooks-on-pipeline-end.gif
docs/assets/open-webui-hayhooks-on-pipeline-end.gif
Why it matters. 1679091 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
examples/pipeline_wrappers/multi_llm_streaming/multi_stream.gif
examples/pipeline_wrappers/multi_llm_streaming/multi_stream.gif
Why it matters. 1182285 bytes not read
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/features/openai-compatibility.md:19
To access caller credentials or other HTTP headers, declare the optional typed
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 96ecad8532a5full audit observations/trust-audit/mcp-server/deepset-ai__hayhooks.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0796ecad8532a5SAFEB89first audit
06

Questions

What is the Hayhooks MCP server?

Easily deploy Haystack pipelines as REST APIs and MCP Tools.

What tools does Hayhooks expose?

7 in total: 7 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Hayhooks safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Hayhooks need?

It reads APP_API_KEY, DURABLE_REDIS_KEY_PREFIX and OPENAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Hayhooks run?

It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as dashboard at 0.0.0.

How current is this page?

The grade is for one exact copy of the source (96ecad8532a5), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement