Skip to main content

mcp-bastion-langgraph

Security helpers for LangGraph powered by MCP-Bastion.

MCP-Bastion security helpers for LangGraph nodes and tool calls.

Install

pip install mcp-bastion-langgraph

Usage

from mcp_bastion_langgraph import secure_node, BastionGraphGuard

@secure_node
def my_tool_node(state):
    return {"out": state["query"]}

guard = BastionGraphGuard()
guard.check_text(state.get("query", ""))

Features

  • In-process content filter + injection heuristics
  • Rate limiting per caller
  • Thin adapter only — does not change MCP-Bastion's zero-infra nature
  • Pulls in mcp-bastion-python automatically

License

Same terms as the MCP-Bastion project: see LICENSE. Non-commercial use is free with required citation/attribution; copyright terms apply. Commercial use as defined in the License may need a separate agreement (COMMERCIAL_LICENSE.md).

Release files for mcp-bastion-langgraph 5.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-bastion-langgraph 5.1.0
File Size Uploaded
mcp_bastion_langgraph-5.1.0.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-bastion-langgraph 5.1.0
File Interpreter ABI Platform
mcp_bastion_langgraph-5.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / mcp_bastion_langgraph-5.1.0.tar.gz

Download URL mcp_bastion_langgraph-5.1.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0944aa0511a0a7f73d753f7f1885850d1ad544facfa559853946581468511749
BLAKE2b-256 checksum
How to use checksums
55b791665a2aa2681cf536c5b7a91fd359f4053929ce631a3d4acaa983008542
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.

Transparency log

Release files / mcp_bastion_langgraph-5.1.0-py3-none-any.whl

Download URL mcp_bastion_langgraph-5.1.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd259d3c76ed58a70daf04ffee71987de681a22b3db21e9c40b3d85d2cfc0bb7
BLAKE2b-256 checksum
How to use checksums
3e0e7ff19cf67b7861da1dde4ed66df434d9580e3ab097f0047b8dd83fe359fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

5.1.0 This release

2 release files

5.0.0

2 release files

4.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page