---
title: "Discussion on \"From Advisory Tool to Mandatory Gate: A LangChain Reference Implementation\" | Hashnode"
description: "Discussion on \"From Advisory Tool to Mandatory Gate: A LangChain Reference Implementation\". Open-source LangChain wrap_tool_call middleware that blocks unfamiliar MCP server connections behind required security check, not optional tool call."
url: "https://hashnode.com/posts/langchain-mcp-security-gate/6a60e772ef0e7bc24a75c573"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [From Advisory Tool to Mandatory Gate: A LangChain Reference Implementation](https://relayshield.hashnode.dev/langchain-mcp-security-gate?utm_source=hashnode&utm_medium=feed)

Open-source LangChain wrap\_tool\_call middleware that blocks unfamiliar MCP server connections behind required security check, not optional tool call.

Jul 22 · 3 min read · relayshield.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#cybersecurity](https://hashnode.com/tag/cybersecurity)
-   [#mcp](https://hashnode.com/tag/mcp)
-   [#langchain](https://hashnode.com/tag/langchain)
-   [#agents](https://hashnode.com/tag/agents)

## Written by

[RelayShieldAdmin](https://hashnode.com/@relayshieldsecurity)

@relayshieldsecurity · Boston, USA

  
[View profile](https://hashnode.com/@relayshieldsecurity)

Crypto security signals for developers — wallet risk, token honeypots, SIM swap detection, and more in one REST API.

Security intelligence at the carrier and identity layer — SIM swap detection, breach monitoring, wallet risk, and threat intelligence via REST API and MCP.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
