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).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_bastion_langgraph-4.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_bastion_langgraph-4.0.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_bastion_langgraph-4.0.0.tar.gz.

File metadata

  • Download URL: mcp_bastion_langgraph-4.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mcp_bastion_langgraph-4.0.0.tar.gz
Algorithm Hash digest
SHA256 8787e166eb2a1fb901458d97f6b59b4ce2b83f46f1237a1e02b5c3b3a1245bf0
MD5 26ab246b25e6ba3ff6d829f75ca3ab1c
BLAKE2b-256 0274ccaf55a0a4dde66beabeaff5ee264364bce1797c90989edfcad6b81ae796

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_bastion_langgraph-4.0.0.tar.gz:

Publisher: publish-integrations.yml on vaquarkhan/MCP-Bastion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_bastion_langgraph-4.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_bastion_langgraph-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81db014d5188c32a1aa6f5edd1843342cea1bb0702e088d0c7014ba38732aba0
MD5 d63e7b896f715bd88e7c7881b02379be
BLAKE2b-256 5d9b45bb4072fc28bebadabb877f594a27f99a05de515b464a16309b8a45c532

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_bastion_langgraph-4.0.0-py3-none-any.whl:

Publisher: publish-integrations.yml on vaquarkhan/MCP-Bastion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page