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.0.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.0.0
File Size Uploaded
mcp_bastion_langgraph-5.0.0.tar.gz 3.1 kB Details

Built distribution (wheel)

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

Total release size: 6.3 kB

Release files / mcp_bastion_langgraph-5.0.0.tar.gz

Download URL mcp_bastion_langgraph-5.0.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f809db324fb94f16fa7b410dbcf27cbfa1ddf54929a8f72c2dec15c945b2b07a
BLAKE2b-256 checksum
How to use checksums
d591ca74491f15c5560cc05d18211ce85815d519ddffc774d5314392af3d6679
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 9, 2026.

Transparency log

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

Download URL mcp_bastion_langgraph-5.0.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23cdb3bbe3097ea71c64dc045e6e17f2845b4d2216238cee6fddd55d69b6b274
BLAKE2b-256 checksum
How to use checksums
923b91038ff42f2b858d59d95021af4a55d02d218753220b6678c7324c7eccee
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 9, 2026.

Transparency log

Release history Release notifications | RSS feed

5.1.0

2 release files

This release

5.0.0 This release

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