Skip to main content

mcp-bastion-llamaindex

Security middleware for LlamaIndex powered by MCP-Bastion.

Install

pip install mcp-bastion-llamaindex

Usage

from mcp_bastion_llamaindex import SecureLlamaIndex

guard = SecureLlamaIndex()
guard.scan_query("What is the revenue for Q4?")

Features

  • Content filtering on RAG queries and responses
  • Rate limiting per caller
  • Prompt injection detection

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

Metadata

Release files for mcp-bastion-llamaindex 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-llamaindex 5.1.0
File Size Uploaded Provenance
mcp_bastion_llamaindex-5.1.0.tar.gz 2.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 5.3 kB

Release files / mcp_bastion_llamaindex-5.1.0.tar.gz

Download URL mcp_bastion_llamaindex-5.1.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
de9379c8f30b8d4b166efbd43688f6c49d0e64d9873b623266e39fecca1aee20
BLAKE2b-256 checksum
How to use checksums
d6748a3c107fbdb4bc16d685bab72006ca9c4c7a756696226f95cb476263c937
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_llamaindex-5.1.0-py3-none-any.whl

Download URL mcp_bastion_llamaindex-5.1.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc607faa5397493e984e63f648f23c1b723e9d7f91f0d5f97f155511a127c8c9
BLAKE2b-256 checksum
How to use checksums
b6c382da4147eae209e46e5bd71df9dccd97d7f48f7afa881d8c38938056c6eb
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

Security for mcp-bastion-llamaindex 5.1.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_bastion_llamaindex-5.1.0.tar.gz

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

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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